Does anyone have any ideas on why I can't get the maven classpath in my ant script?
On 6/13/06, Lee Meador <[EMAIL PROTECTED]> wrote:
Kenney, Well ... you said it shouldn't matter and it didn't. I had checked that the -X showed it using 1.1 but who knows? Thanks. NOTE TO ALL: More ideas are welcome -- Lee On 6/13/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > On Tue, 13 Jun 2006, Lee Meador wrote: > > Try pasting this in the pom.xml in place of the <ant/> tag. Shouldn't > matter, but who knows. > > Maybe you're still using maven-antrun-plugin 1.0, try adding > <version> 1.1</version> below the <plugin> tag. > > -- Kenney > > > <path id="axis.classpath"> > > <path refid="maven.runtime.classpath"/> > > </path> > > > > <taskdef resource="axis-tasks.properties" classpathref=" > axis.classpath" > > /> > > > > > > On 6/12/06, Kenney Westerhof < [EMAIL PROTECTED]> wrote: > > > > > > On Mon, 12 Jun 2006, Lee Meador wrote: > > > > > > Hi, > > > > > > I can't reproduce this with 'inheritRefs="true"'. > > > > > > What do you have in your build.xml? > > > > > > -- Kenney > > > > > > > I went to here to see how to let ant get to some maven classpaths: > > > > > > > > > http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html > > > > > > > > I have a build.xml file that I run with this in my pom: > > > > > > > > <build> > > > > <plugins> > > > > <plugin> > > > > <artifactId>maven-antrun-plugin</artifactId> > > > > <executions> > > > > <execution> > > > > <phase>generate-sources</phase> > > > > <goals> > > > > <goal>run</goal> > > > > </goals> > > > > <configuration> > > > > <tasks> > > > > <ant inheritRefs="true" > > > > target="axisWsdl2Java" antfile="build.xml" dir="." /> > > > > </tasks> > > > > <sourceRoot>${ project.build.directory > > > > }/generated-sources/java</sourceRoot> > > > > </configuration> > > > > </execution> > > > > </executions> > > > > </plugin> > > > > </plugins> > > > > </build> > > > > > > > > But it complains that: > > > > > > > > [ERROR] BUILD ERROR > > > > [INFO] > > > > > ------------------------------------------------------------------------ > > > > [INFO] Error executing ant tasks > > > > > > > > Embedded error: The following error occurred while executing this > line: > > > > [path here]\build.xml:31: Reference maven.runtime.classpath not > > > > > > > > Any ideas? Is the doc page up to date? > > > > > > > > Thanks. > > > > > > > > -- > > > > -- Lee Meador > > > > Sent from gmail. My real email address is [EMAIL PROTECTED] > > > > > > > > > > -- > > > Kenney Westerhof > > > http://www.neonics.com > > > GPG public key: http://www.gods.nl/~forge/kenneyw.key<http://www.gods.nl/%7Eforge/kenneyw.key> > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > -- Lee Meador > > Sent from gmail. My real email address is [EMAIL PROTECTED] > > > > -- > Kenney Westerhof > http://www.neonics.com > GPG public key: http://www.gods.nl/~forge/kenneyw.key<http://www.gods.nl/%7Eforge/kenneyw.key> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]
-- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]