Hi , - in my linux computer ; i has set some env variables like : export JAVA_HOME=/usr/java/java export ANT_HOME=/usr/local/portals/JBPortal/Ant export CATALINA_HOME=/usr/local/portals/JBPortal/Tomcat export TOMCAT_HOME=/usr/local/portals/JBPortal/Tomcat export CATALINA_BASE=$CATALINA_HOME export PATH=.:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:$ANT_HOME/bin:$TOMCAT_HOME/bin:$JAVA_HOME/bin export CLASSPATH=.:$CATALINA_HOME/common/lib/commons-logging-api.jar:$CATALINA_HOME/bin/bootstrap.jar:$JAVA_HOME/lib/htmlconverter.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet-api.jar:$CATALINA_HOME/common/lib/mysql-connector-java-3.0.16-ga-bin.jar
you should exit the terminal and open other terminal then type env to know above information is set or not . -In /etc/ant.conf you may change ANT_HOME=/usr/local/Ant_1-5-3 or ANT_HOME=/usr/local/portals/JBPortal/Ant You logout and login with other user to compile source code again . It may build successfully . (Note : you should use CLASSPATH ; not CLASS_PATH because it is final parameter of java) Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891544#3891544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891544 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
