ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: jakarta ant 1.4.1/1.5 ant script
Date Thu, 25 Apr 2002 14:51:14 GMT
PS, I've added in both tomcat 3.3 and 4.x rpm a system
config file (à la httpd) which could be use also in
ant :

/etc/ant.conf

-->

# Where your java installation lives
# JAVA_HOME=/usr/java/jdk
JAVA_HOME="/opt/IBMJava2-131"

# You can pass some parameters to java
# here if you wish to
JAVACMD="$JAVA_HOME/bin/java -Xms256m -Xmx256m"

# IBM just-in-time compiler activated after 50 uses
# (slows down startup, better long-term responde for a server) 
# Default : 1000
export IBM_MIXED_MODE_THRESHOLD=50

# You can change your tomcat locale here
LANG=en_EN

# Use Jikes
USE_JIKES=true

# Use RPM layout
RPM_MODE=true

<--

which could be read in ant script.

if [ -f "etc/ant.conf" ] ; then 
  . /etc/ant.conf
fi

A sort of system 


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



>-----Original Message-----
>From: GOMEZ Henri 
>Sent: Thursday, April 25, 2002 4:20 PM
>To: ant-dev@jakarta.apache.org
>Subject: jakarta ant 1.4.1/1.5 ant script
>
>
>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>


--
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