What strategy for the upcoming ant 1.5b1 rpm ?
The ant script I found in source tarball have
support for :
/etc/ant.conf, rpm_mode, usejikes
But there is a bug in rpm_mode !
# in rpm_mode get ant/optional/xml parser&api from JAVALIBDIR
if $rpm_mode; then
JAVALIBDIR=/usr/share/java
for i in ant ant-optional jaxp_parser xml_apis
do
if [ -z "$LOCALCLASSPATH" ] ; then
LOCALCLASSPATH=$JAVALIBDIR/$i.jar
else
LOCALCLASSPATH="$i.jar":"$LOCALCLASSPATH"
fi
done
LOCALCLASSPATH="$i.jar":"$LOCALCLASSPATH"
should be
LOCALCLASSPATH="$JAVALIBDIR/$i.jar":"$LOCALCLASSPATH"
;)
BTW: do we agree on FHS use /var/lib/ant and /usr/lib/ant ?
-
Henri Gomez ___[_]____
EMAIL : [EMAIL PROTECTED] (. .)
PGP KEY : 697ECEDD ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-----Original Message-----
>From: Nicolas Mailhot [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 02, 2002 12:32 PM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: Re: [JPackage-devel] FW: jakarta ant 1.4.1/1.5 ant script
>
>
>Le jeu 02/05/2002 � 11:54, Stefan Bodewig a �crit :
>> On 02 May 2002, Nicolas Mailhot <[EMAIL PROTECTED]> wrote:
>> > Le jeu 02/05/2002 � 11:33, Stefan Bodewig a �crit :
>> >>
>> >> "Ant's" is not and this is for a reason - JAVA_HOME/lib/ext isn't
>> >> recursive either.
>> >
>> > Ok. If you really think being recursive is bad, that's
>just a switch
>> > in find.
>>
>> We should do that. We also need to check whether it does
>what we want
>> it to do on Cygwin (I cannot test it myself).
>
>Ok, unrecursed classpath builder and jikes osx jikespath
>
>> * You need to merge in Diane's Darwin hack (of course I can do that
>> myself, but as you are volunteering 8-)
>
>As I wrote in another thread, that's one line in java-functions list of
>jvms to test if we agree on java-functions use.
>
>> * The default location for java-functions should be in ANT_HOME/bin,
>> not ANT_HOME/lib
>
>Did it
>
>> * we need your version of java-functions to commit it at the
>same time
>> 8-)
>
>Could you check the java-function in the jpackage-utils rpm if its
>suitable for ant commit ? (of course the list still misses the OSX jvm
>define and the set_javacmd but I can add them quickly if you agree on
>the core script)
>
>> * putting tools.jar at the front rather then the end of CLASSPATH at
>> least needs some more discussion. I cannot see any problems with
>> this approach, but maybe others do.
>
>I guess if no one manifests himself we'll just have to commit
>it as is.
>
>Regards,
>
>--
>Nicolas Mailhot
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>