ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hind.lwahh...@accenture.com>
Subject Classpath problem on a unix system: PLEASE HELP NEEDED
Date Thu, 27 Oct 2005 08:44:07 GMT
Hello , thanks for your help but  i still can't sort it out:(

I have written a test target to echo the properties and here is what i get(note that the lib
with all the bsf jars etc.. seems to be there!).
My problem seems to get worse:it does not event recognise the <macrodef> task!
Reminder : i am on aix 5.2, with java 1.4 and ant 1.6.5.

[echoproperties] #Ant properties
[echoproperties] #Thu Oct 27 09:37:34 GMT+01:00 2005
[echoproperties] java.assistive=ON
[echoproperties] java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
[echoproperties] sun.boot.library.path=/usr/java14/jre/bin
[echoproperties] java.vm.version=1.4.2
[echoproperties] ant.library.dir=/usr/ant/apache-ant-1.6.5/lib
[echoproperties] ant.version=Apache Ant version 1.6.5 compiled on June 2 2005
[echoproperties] ant.java.version=1.4
[echoproperties] java.vm.vendor=IBM Corporation
[echoproperties] java.vendor.url=http\://www.ibm.com/
[echoproperties] path.separator=\:
[echoproperties] java.vm.name=Classic VM
[echoproperties] file.encoding.pkg=sun.io
[echoproperties] sun.os.patch.level=unknown
[echoproperties] java.vm.specification.name=Java Virtual Machine Specification
[echoproperties] user.dir=/vobs/Cci/SicoExchange/CCI_Core/src/prj/zos
[echoproperties] java.runtime.version=1.4.2
[echoproperties] java.fullversion=J2RE 1.4.2 IBM AIX build ca142-20050929a (SR3) (JIT enabled\:
jitc)
[echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
[echoproperties] basedir=/vobs/Cci/SicoExchange/CCI_Core/src/prj/zos
[echoproperties] java.endorsed.dirs=/usr/java14/jre/lib/endorsed
[echoproperties] os.arch=ppc
[echoproperties] com.ibm.vm.bitmode=32
[echoproperties] java.io.tmpdir=/tmp/
[echoproperties] line.separator=\n
[echoproperties] ant.file.superbuild=/vobs//Project_Core/src/prj/zos/superbuild.xml
[echoproperties] java.vm.specification.vendor=Sun Microsystems Inc.
[echoproperties] user.variant=
[echoproperties] java.awt.fonts=
[echoproperties] os.name=AIX
[echoproperties] ant.home=/usr/ant/apache-ant-1.6.5
[echoproperties] sun.java2d.fontpath=
[echoproperties] ant.project.name=superbuild
[echoproperties] java.library.path=/usr/java14/jre/bin\:/usr/java14/jre/bin/classic\:/usr/java14/jre/bin\:/usr/li
b
[echoproperties] java.specification.name=Java Platform API Specification
[echoproperties] java.class.version=48.0
[echoproperties] ibm.system.encoding=ISO8859-1
[echoproperties] invokedviajava=
[echoproperties] java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
[echoproperties] os.version=5.2
[echoproperties] ant.file=/vobs/Cci/SicoExchange/CCI_Core/src/prj/zos/superbuild.xml
[echoproperties] user.home=/home/ecsll6
[echoproperties] user.timezone=
[echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
[echoproperties] file.encoding=ISO8859-1
[echoproperties] java.specification.version=1.4
[echoproperties] java.class.path=/usr/ant/apache-ant-1.6.5/lib/ant-launcher.jar\:/usr/ant/apache-ant-1.6.5/lib/an
t-antlr.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-apache-bcel.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-apache-bsf.jar\
:/usr/ant/apache-ant-1.6.5/lib/ant-apache-log4j.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-apache-oro.jar\:/usr/ant/a
pache-ant-1.6.5/lib/ant-apache-regexp.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-apache-resolver.jar\:/usr/ant/apache
-ant-1.6.5/lib/ant-commons-logging.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-commons-net.jar\:/usr/ant/apache-ant-1.
6.5/lib/ant-icontract.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-jai.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-javamail.
jar\:/usr/ant/apache-ant-1.6.5/lib/ant-jdepend.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-jmf.jar\:/usr/ant/apache-an
t-1.6.5/lib/ant-jsch.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-junit.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-launcher
.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-netrexx.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-nodeps.jar\:/usr/ant/apach
e-ant-1.6.5/lib/ant-starteam.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-stylebook.jar\:/usr/ant/apache-ant-1.6.5/lib/
ant-swing.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-trax.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-vaj.jar\:/usr/ant/ap
ache-ant-1.6.5/lib/ant-weblogic.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-xalan1.jar\:/usr/ant/apache-ant-1.6.5/lib/
ant-xslp.jar\:/usr/ant/apache-ant-1.6.5/lib/ant.jar\:/usr/ant/apache-ant-1.6.5/lib/xercesImpl.jar\:/usr/ant/apach
e-ant-1.6.5/lib/xml-apis.jar\:/usr/ant/apache-ant-1.6.5/lib/ant-contrib.jar\:/usr/ant/apache-ant-1.6.5/lib/bsf.ja
r\:/usr/ant/apache-ant-1.6.5/lib/js.jar\:/usr/ant/apache-ant-1.6.5/lib/xmltask-v1.10.7.jar\:/usr/java14/lib/tools
.jar
[echoproperties] user.name=ecsll6
[echoproperties] zosEnv=test
[echoproperties] targetLoadModule=obj
[echoproperties] java.vm.specification.version=1.0
[echoproperties] java.home=/usr/java14/jre
[echoproperties] sun.arch.data.model=32
[echoproperties] user.language=en
[echoproperties] java.specification.vendor=Sun Microsystems Inc.
[echoproperties] java.vm.info=J2RE 1.4.2 IBM AIX build ca142-20050929a (SR3) (JIT enabled\:
jitc)
[echoproperties] java.version=1.4.2
[echoproperties] java.ext.dirs=/usr/java14/jre/lib/ext
[echoproperties] sun.boot.class.path=/usr/java14/jre/lib/core.jar\:/usr/java14/jre/lib/graphics.jar\:/usr/java14/
jre/lib/security.jar\:/usr/java14/jre/lib/server.jar\:/usr/java14/jre/lib/xml.jar\:/usr/java14/jre/lib/charsets.j
ar\:/usr/java14/jre/classes\:/usr/java14/jre/lib/ibmcertpathprovider.jar\:/usr/java14/jre/lib/ibmjaaslm.jar\:/usr
/java14/jre/lib/ibmjcefw.jar\:/usr/java14/jre/lib/ibmjgssprovider.jar\:/usr/java14/jre/lib/ibmjssefips.jar\:/usr/
java14/jre/lib/ibmjsseprovider.jar\:/usr/java14/jre/lib/ibmorb.jar\:/usr/java14/jre/lib/ibmorbapi.jar\:/usr/java1
4/jre/lib/ibmpkcs.jar
[echoproperties] java.vendor=IBM Corporation
[echoproperties] file.separator=/
[echoproperties] java.vendor.url.bug=
[echoproperties] java.compiler=jitc
[echoproperties] sun.io.unicode.encoding=UnicodeBig



Hind Lwahhabi.




-----Original Message-----
From: Juergen Hermann [mailto:jh@web.de]
Sent: Wed 10/26/2005 6:29 PM
To: Lwahhabi, Hind; user@ant.apache.org
Subject: Re: Classpath problem on a unix system
 
On Wed, 26 Oct 2005 18:04:14 +0200, hind.lwahhabi@accenture.com wrote:

>Any clue?
>Any help would be really welcome.

Try to find out how the shell wrapper (ant) on your system builds up the 
classpath. 

On SuSE f.x., ant has an --execdebug option to show the classpath used to 
launch Ant. And also there, what .jars are loaded is very different to what 
you might expect (it uses /etc/ant.conf).

Ciao, Jürgen






This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message