It's a reference, you can't echo it.

try:
<property name="out" refid="maven.dependency.classpath" />
<echo>${out}</echo>

On 11/3/05, Frank Mena <[EMAIL PROTECTED]> wrote:
> I tried it and it did not work:
>
> <plugins>
> <plugin>
> <artifactId>maven-antrun-plugin</artifactId>
> <executions>
> <execution>
> <phase>compile</phase>
> <configuration>
> <tasks>
> <echo>${maven.dependency.classpath}</echo>
> </tasks>
> </configuration>
> <goals>
> <goal>run</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
>
>
> On 11/2/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> >
> > How are you using Ant?
> >
> > The antrun plugin exposes maven.dependency.classpath as a reference.
> >
> > - Brett
> >
> > On 11/3/05, Frank Mena <[EMAIL PROTECTED]> wrote:
> > > Using M2, how do I get the the projects classpath (which includes
> > multiple
> > > modules) in ant? Can I assume this classpath would include the
> > > target/classes directory for all the included modules?
> > >
> > > Thanks
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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