ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject jakarta ant 1.4.1/1.5 ant script
Date Thu, 25 Apr 2002 14:19:44 GMT
Hi,

I'm taking a look at the ant script in cvs to prepare
the 1.5 rpm and be the closer with jpackage.

ant script tried to locate 	all jars into $ANT_HOME/lib
(jaxp/parser/ant and optional).

The rpm set ANT_HOME to /usr (to have ant find antRun ($ANT_HOME/bin/antRun).
So the current script will search into /usr/lib for jars to be added to 
classpath (ie jakarta-ant-optional.jar) 

With the rpm layout, optional.jar is installed into /usr/share/java,
next to ant.jar and other jars like xerces/xalan.

- Did some use to put others jars into $ANT_HOME/lib or it's
  just to get ant/jaxp/parser ? 


- jpackage use a supplementary rpm containing optional.jar, I'd like
  to do the same.

- What about adding a RPM_MODE var in script which will be tested to
  determine if the script is in normal ant mode or in rpm/fhs mode
  and thus avoid patching the ant from cvs ?


-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message