Mitch

If I am correct, then one of the mail discussion today
addressed a similar question. The outcome, I believe was:

        <ant:classpath>
                <ant:path path="${pom.dependencyClasspath}"/>
        </ant:classpath>

Regards martien

-----Oorspronkelijk bericht-----
Van: Mitch Mattek [mailto:[EMAIL PROTECTED]
Verzonden: Thursday, August 26, 2004 9:47 PM
Aan: [EMAIL PROTECTED]
Onderwerp: 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