You might try the "maven ant" goal. It creates a build.xml file that allows
ant to build your project.
 
> -----Original Message-----
> From: Mitch Mattek [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: Pass classpath to ant
> 
> Hey,
> 
> I'm trying to slowly migrate our build system to maven.
> 
> As step one, I'm just trying to use the maven jar dependency thing to
> download jar's then shell to ant scripts which have everything happening
> correctly.
> 
> I have a custom plugin and am trying to do this
> 
>       <goal name="cdp:antbuild">
>               <echo>cdp antbuild</echo>
>               <echo>adding the classpath</echo>
> 
>                   <!--<deploy:copy-deps todir="/path"/>-->
> 
>                       <ant:ant dir="${basedir}" antfile="build.xml"
> target="all">
>                               <ant:classpath>
>                               <ant:path
> refid="maven.dependency.classpath"/>
>                       <ant:pathelement path="${maven.build.dest}"/>
>                       </ant:classpath>
>               </ant:ant>
>       </goal>
> 
> I got the snippet above from the java:compile plugin, but I get a message
> that "maven.dependency.classhpath" is undefined.
> 
> The way we build now is, we have a large bat file which builds the
> classpath
> for ant and includes it when it launches ant.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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