You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Pete Haidinyak <ja...@cox.net> on 2009/03/10 07:51:17 UTC

bnd ant task

Does anyone know if the bnd ant task can handle spaces in the classpath  
parameter? My task is failing and the error printed out is....

Can not find bnd file to process: C:\SIEMProject\SIEM\Common\classes

The actual path is C:\SIEM Project\SIEM\Common\classes

Thanks

-Pete


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: bnd ant task

Posted by Stuart McCulloch <mc...@gmail.com>.
2009/3/10 Stuart McCulloch <mc...@gmail.com>

> 2009/3/10 Pete Haidinyak <ja...@cox.net>
>
>> Does anyone know if the bnd ant task can handle spaces in the classpath
>> parameter? My task is failing and the error printed out is....
>>
>> Can not find bnd file to process: C:\SIEMProject\SIEM\Common\classes
>>
>> The actual path is C:\SIEM Project\SIEM\Common\classes
>>
>
> Hi Pete,
>
> Just tried locally with Ant project and it seems to work.
>
> How are you passing/setting the classpath parameter?
> Could you provide an example build.xml or the output
> from "ant -v <build-target>"?
>

also, which version of bnd are you using?


>
> Thanks
>>
>> -Pete
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
> --
> Cheers, Stuart
>



-- 
Cheers, Stuart

Re: bnd ant task

Posted by Stuart McCulloch <mc...@gmail.com>.
2009/3/10 Pete Haidinyak <ja...@cox.net>

> Does anyone know if the bnd ant task can handle spaces in the classpath
> parameter? My task is failing and the error printed out is....
>
> Can not find bnd file to process: C:\SIEMProject\SIEM\Common\classes
>
> The actual path is C:\SIEM Project\SIEM\Common\classes
>

Hi Pete,

Just tried locally with Ant project and it seems to work.

How are you passing/setting the classpath parameter?
Could you provide an example build.xml or the output
from "ant -v <build-target>"?

Thanks
>
> -Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
-- 
Cheers, Stuart

Re: bnd ant task

Posted by Pete Haidinyak <ja...@cox.net>.
Downloaded the .293 version and it fixed the problem. Thanks!

-Pete

On Tue, 10 Mar 2009 13:34:54 -0700, Peter Kriens <pe...@aqute.biz>  
wrote:

> If you try a later version, then I think it will work. There was a bug  
> in parsing the macro values. I changed this.
>
> Kind regards,
>
> 	Peter Kriens
>
>
> On 10 mrt 2009, at 21:21, Pete Haidinyak wrote:
>
>> I am using bnd version 249 and the classpath is set using the  
>> following...
>>
>>  <dirname property="common.module.home.dir" file="${ant.file.Common}"/>
>>  <property name="common.module.compile.classes.dir" value="$ 
>> {common.module.home.dir}/classes"/>
>>
>>    <bnd
>>      classpath="${common.module.compile.classes.dir}"
>>      eclipse="false"
>>      failok="false"
>>      exceptions="true"
>>      output="./build"
>>      files="common.bnd"/>
>>
>> Everything work as it should when ${common.module.compile.classes.dir}  
>> was changed to...
>>
>> C:\SIEM\SIEM\Common\classes
>>
>> -Pete
>>
>> On Tue, 10 Mar 2009 06:43:45 -0700, Peter Kriens <peter.kriens@aqute.biz 
>> > wrote:
>>
>>> An older version of bnd had a problem with macros, do you get the  
>>> class path through a macro? Would be nice to have some more  
>>> information about your setup.
>>>
>>> Kind regards,
>>>
>>> 	Peter Kriens
>>>
>>>
>>> On 10 mrt 2009, at 07:51, Pete Haidinyak wrote:
>>>
>>>> Does anyone know if the bnd ant task can handle spaces in the  
>>>> classpath parameter? My task is failing and the error printed out  
>>>> is....
>>>>
>>>> Can not find bnd file to process: C:\SIEMProject\SIEM\Common\classes
>>>>
>>>> The actual path is C:\SIEM Project\SIEM\Common\classes
>>>>
>>>> Thanks
>>>>
>>>> -Pete
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: bnd ant task

Posted by Peter Kriens <pe...@aqute.biz>.
If you try a later version, then I think it will work. There was a bug  
in parsing the macro values. I changed this.

Kind regards,

	Peter Kriens


On 10 mrt 2009, at 21:21, Pete Haidinyak wrote:

> I am using bnd version 249 and the classpath is set using the  
> following...
>
>  <dirname property="common.module.home.dir" file="$ 
> {ant.file.Common}"/>
>  <property name="common.module.compile.classes.dir" value="$ 
> {common.module.home.dir}/classes"/>
>
>    <bnd
>      classpath="${common.module.compile.classes.dir}"
>      eclipse="false"
>      failok="false"
>      exceptions="true"
>      output="./build"
>      files="common.bnd"/>
>
> Everything work as it should when $ 
> {common.module.compile.classes.dir} was changed to...
>
> C:\SIEM\SIEM\Common\classes
>
> -Pete
>
> On Tue, 10 Mar 2009 06:43:45 -0700, Peter Kriens <peter.kriens@aqute.biz 
> > wrote:
>
>> An older version of bnd had a problem with macros, do you get the  
>> class path through a macro? Would be nice to have some more  
>> information about your setup.
>>
>> Kind regards,
>>
>> 	Peter Kriens
>>
>>
>> On 10 mrt 2009, at 07:51, Pete Haidinyak wrote:
>>
>>> Does anyone know if the bnd ant task can handle spaces in the  
>>> classpath parameter? My task is failing and the error printed out  
>>> is....
>>>
>>> Can not find bnd file to process: C:\SIEMProject\SIEM\Common\classes
>>>
>>> The actual path is C:\SIEM Project\SIEM\Common\classes
>>>
>>> Thanks
>>>
>>> -Pete
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: bnd ant task

Posted by Pete Haidinyak <ja...@cox.net>.
I am using bnd version 249 and the classpath is set using the following...

   <dirname property="common.module.home.dir" file="${ant.file.Common}"/>
   <property name="common.module.compile.classes.dir"  
value="${common.module.home.dir}/classes"/>

     <bnd
       classpath="${common.module.compile.classes.dir}"
       eclipse="false"
       failok="false"
       exceptions="true"
       output="./build"
       files="common.bnd"/>

Everything work as it should when ${common.module.compile.classes.dir} was  
changed to...

C:\SIEM\SIEM\Common\classes

-Pete

On Tue, 10 Mar 2009 06:43:45 -0700, Peter Kriens <pe...@aqute.biz>  
wrote:

> An older version of bnd had a problem with macros, do you get the class  
> path through a macro? Would be nice to have some more information about  
> your setup.
>
> Kind regards,
>
> 	Peter Kriens
>
>
> On 10 mrt 2009, at 07:51, Pete Haidinyak wrote:
>
>> Does anyone know if the bnd ant task can handle spaces in the classpath  
>> parameter? My task is failing and the error printed out is....
>>
>> Can not find bnd file to process: C:\SIEMProject\SIEM\Common\classes
>>
>> The actual path is C:\SIEM Project\SIEM\Common\classes
>>
>> Thanks
>>
>> -Pete
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: bnd ant task

Posted by Peter Kriens <pe...@aqute.biz>.
An older version of bnd had a problem with macros, do you get the  
class path through a macro? Would be nice to have some more  
information about your setup.

Kind regards,

	Peter Kriens


On 10 mrt 2009, at 07:51, Pete Haidinyak wrote:

> Does anyone know if the bnd ant task can handle spaces in the  
> classpath parameter? My task is failing and the error printed out  
> is....
>
> Can not find bnd file to process: C:\SIEMProject\SIEM\Common\classes
>
> The actual path is C:\SIEM Project\SIEM\Common\classes
>
> Thanks
>
> -Pete
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org