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 : [EMAIL PROTECTED]        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to