That worked :-) I hadn't thought of looking at the ant ant call attributes :-(
Thanks Kenney, Aidan. -----Original Message----- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 12:25 PM To: Maven Users List Subject: RE: Pass project classpath into ant file? (M-102) On Wed, 6 Jul 2005, Aidan Donohoe wrote: try specifying the inheritRefs attribute: <ant:ant inheritRefs="true" dir="../jboss"....../> (see the ant manual: http://ant.apache.org/manual/CoreTasks/ant.html) -- Kenney > I've tried calling the build file from maven.xml several ways > > <ant:ant dir="../jboss" antfile="my-jboss-ant.xml" > target="do-target-which-needs-project-dependency-path" /> > > Here I get "maven.dependency.classpath not found" > > > > <ant:path id="my-path"> > <ant:path refid="maven.dependency.classpath"/> > </ant:path> > <ant:ant dir="../jboss" antfile="my-jboss-ant.xml" > target="do-target-which-refers-to-my-path" /> > > Here I get > "Reference my-path not found." > > -----Original Message----- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 05, 2005 4:10 PM > To: Maven Users List > Subject: Re: Pass project classpath into ant file? (M-102) > > > How are you calling the build file? > > On 7/6/05, Aidan Donohoe <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Does anyone know how to pass the project classpath > > (maven.dependency.classpath) into an ant file which can use it as a > > path? > > > > I can pass properties successfully, but after reading docs and > > searching, I cannot find a way to pass in > > maven.dependency.classpath such that a ant java task (in an separate > > ant file) can reference the path. > > > > It seems like there is probably a way to do this..? > > > > Thanks for the help so far, > > > > Aidan. > > > > -------------------------------------------------------------------- > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > http://www.multitask.com.au/people/dion/ > "You are going to let the fear of poverty govern your life and your > reward will be that you will eat, but you will not live." - George > Bernard Shaw > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
