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]

Reply via email to