ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From merlin_the_happy_pig <>
Subject Setting classpath for nested ant call
Date Fri, 05 Sep 2008 15:00:22 GMT

Ant newbie here. I need to call another ant task in a different build file,
so I do:

<project name...
  <target name...
     <ant dir= antfile= target= inheritRefs="true" inheritAll="true"

The problem is is that this nested ant call fails because the classpath is
wrong. Normally this target is called after a setenv.bat file has been
called, which generates the correct classpath. I would like to do something

<project name...
     <!- add all libs needed to classpath -->
  <target name...
     <!-- inherit this correct classpath -->
     <ant dir= antfile= target= inheritRefs="true" inheritAll="true"

I can't find a way of doing this!?
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message