<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
---------------------------------------------------------------------
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]