List Info

Thread: Problem in build.xml for MacOSX packages




Problem in build.xml for MacOSX packages
user name
2006-09-25 12:50:06
Hi again Romain,

I've just reverted the build.xml back to its original state
(without 
including absolute paths). I've decided that it's best for
those that 
need an absolute location (such as the
resources/install/build.xml 
script) to specify it themselves by adding the $
prefix. I've 
also made the changes there.

Does this resolve your problem?

Emil

Emil Ivov wrote:
> Hi Romain,
> 
> I've added the basedir prefix to all libs because I had
some problems 
> when executing  the build.xml in resources/install. I
didn't think this 
> would cause problems.
> 
> I'll revert build.xml to the previous version, so that
you could use 
> $ the way you were using it before. I'll
explicitly specify the 
> $ prefix where it's necessary.
> 
> I'll try to do this tomorrow.
> 
> Cheers
> Emil
> 
> Romain KUNTZ wrote:
>> Hi Emil,
>>
>> MacOSX packages are broken since september 15th
because of an issue in 
>> the build.xml file. You changed most of the
directory declaration adding 
>> $ in front of them.
>>
>> However, the "macosx" directive uses
declarations such as:
>>
>> <jarfileset dir=".">
>>      <include name="$/*.jar"
/>
>>      ...
>>
>> which means that $ will be searched in the
current directory.
>>
>> I tried to fix that by replacing "." with
"/", but it does not work. 
>> Also, the MacOSX package is built with the same
directory tree as the 
>> one specified in the <include
name="..."> directive, so it is better to 
>> keep only the last directory in this directive (I
mean "lib", and not 
>> "/path/to/lib").
>>
>> The solution I propose would be to define:
>> <property name="locallib"
value="lib"/>
>> and
>> <property name="lib"
value="$/$"/>
>>
>> so I can use $ (I would need such
declaration for lib, 
>> jmf.home, and bundles.dest)
> 
>> What do you think?
>>
> 
> 
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net

Problem in build.xml for MacOSX packages
user name
2006-09-26 02:15:01
Hi Emil,

Emil Ivov wrote:
> Does this resolve your problem?

Yes, packages are now correctly built.
I have removed the non-working macosx packages from the
download page.

Thanks!

Romain


> Emil Ivov wrote:
>> Hi Romain,
>>
>> I've added the basedir prefix to all libs because I
had some problems 
>> when executing  the build.xml in resources/install.
I didn't think 
>> this would cause problems.
>>
>> I'll revert build.xml to the previous version, so
that you could use 
>> $ the way you were using it before. I'll
explicitly specify the 
>> $ prefix where it's necessary.
>>
>> I'll try to do this tomorrow.
>>
>> Cheers
>> Emil
>>
>> Romain KUNTZ wrote:
>>> Hi Emil,
>>>
>>> MacOSX packages are broken since september 15th
because of an issue 
>>> in the build.xml file. You changed most of the
directory declaration 
>>> adding $ in front of them.
>>>
>>> However, the "macosx" directive uses
declarations such as:
>>>
>>> <jarfileset dir=".">
>>>      <include name="$/*.jar"
/>
>>>      ...
>>>
>>> which means that $ will be searched in the
current directory.
>>>
>>> I tried to fix that by replacing "."
with "/", but it does not work. 
>>> Also, the MacOSX package is built with the same
directory tree as the 
>>> one specified in the <include
name="..."> directive, so it is better 
>>> to keep only the last directory in this
directive (I mean "lib", and 
>>> not "/path/to/lib").
>>>
>>> The solution I propose would be to define:
>>> <property name="locallib"
value="lib"/>
>>> and
>>> <property name="lib"
value="$/$"/>
>>>
>>> so I can use $ (I would need such
declaration for lib, 
>>> jmf.home, and bundles.dest)
>>
>>> What do you think?
>>>
>>
>>
>>
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
> For additional commands, e-mail: dev-helpsip-communicator.dev.java.net
> 

-- 
Romain KUNTZ
kuntzsfc.wide.ad.jp

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )