ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Noheda" <>
Subject New classloader inside an application
Date Wed, 30 Aug 2006 10:21:58 GMT

We have moved some ant scripts to a JAVA application. This application has
been developed using JDK1.5 and it's running under a SUN JVM in an AIX
machine. One of the tasks we have to execute is an external task from IBM
(WsEjbDeploy). Basically it generates stubs for EJBs. The main problem comes
from the fact that this task only operates well under IBM JDK1.4.

We have tried:

Path java14 = new Path(antProject);
java14.setLocation(new File(pathToJava14));
AntClassLoader loader = antProject.createClassLoader(java14);

And different combinations of the above code to no avail. Ant will always be
executed under the SUN JVM. Is there anything we are missing?

Thanks in advance,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message