Thanks first, it is a joice ;-)
I would like to put it inside an already defined
<path id="xyz" >
<maven setup here /> <!-- how do i do this together with your
suggestion -->
<pathelement old stuff />
</path>
Regards
-Dan
On 1/5/06, Sean Hennessy <[EMAIL PROTECTED]> wrote:
>
> Not sure about maven.plugin.classpath however my use of
> maven.dependency.classpath seems to work as configured here.
> Perhaps using the name attribute used in the property element within the
> pom instead of maven.plugin.classpath?
>
> <!-- pom.xml -->
> <configuration>
> <tasks>
> <property refid="maven.dependency.classpath"
> name="depClasspath"></property>
> <ant inheritRefs="true">
> <property name="build.dir" value="${project.build.directory
> }"/>
> </ant>
> </tasks>
> </configuration>
>
>
> <!-- build.xml referencing maven.dependency.classpath as
> "depClasspath" -->
> <taskdef classpath="${depClasspath}"
> resource="org/apache/commons/attributes/anttasks.properties">
> </taskdef>
>
> -----Original Message-----
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 04, 2006 10:35 PM
> To: Maven Users List
> Subject: Re: antrun's antlr task problem
>
>
> any one? ;-)
>
> On 1/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> >
> > ok, have my plugin's configuration as
> >
> >
> > <configuration>
> > <tasks>
> > <ant inheritRefs="true">
> > <property name="build.dir" value="${
> > project.build.directory }"/>
> > </ant>
> > </tasks>
> > </configuration
> >
> > and have my build.xml to reference maven.plugin.classpath, but got
> > error
> >
> > Embedded error: The following error occurred while executing this
> > line:
> > M:\dtran-uscud-dtran-phoenix-i\EJB\maven\openjms\build.xml:249: The
> > following er
> > ror occurred while executing this line:
> > M:\dtran-uscud-dtran-phoenix-i\EJB\maven\openjms\build.xml:279:
> Reference
> > maven.
> > plugin.classpath not found.
> >
> >
> > Suggestion on how to trouble shoot this issue is greatly appreciated.
> >
> > -Dan
> >
> >
> >
> >
> >
> >
> > On 1/4/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > >
> > > You need to use the plugin classpath in your build.xml and call
> > > <ant> with inheritRefs="true"
> > >
> > > <classpath refid="maven.plugin.classpath"/>
> > >
> > > On 1/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> > > > Folks,
> > > >
> > > > Here is my build :
> > > >
> > > >
> > > > <plugin>
> > > > <artifactId>maven-antrun-plugin</artifactId>
> > > > <version>1.1-SNAPSHOT</version>
> > > > <dependencies>
> > > > <dependency>
> > > > <groupId>ant</groupId>
> > > > <artifactId>ant-nodeps</artifactId>
> > > > <version>1.6.5</version>
> > > > </dependency>
> > > > <dependency>
> > > > <groupId>antlr</groupId>
> > > > <artifactId>antlr</artifactId>
> > > > <version>2.7.4</version>
> > > > </dependency>
> > > > </dependencies>
> > > >
> > > > <executions>
> > > > <execution>
> > > > <phase>compile</phase>
> > > > <configuration>
> > > > <tasks>
> > > > <ant>
> > > > <property name="build.dir" value="${
> > > > project.build.directory}"/>
> > > > </ant>
> > > >
> > > > </tasks>
> > > > </configuration>
> > > > <goals>
> > > > <goal>run</goal>
> > > > </goals>
> > > > </execution>
> > > > </executions>
> > > > </plugin>
> > > >
> > > >
> > > >
> > > > and antrun complains
> > > >
> > > > Embedded error: The following error occurred while executing this
> > > line:
> > > > M:\dtran-uscud-dtran-phoenix-i\EJB\maven\openjms\build.xml:299:
> > > > Could
> > > not
> > > > create
> > > > task or type of type: antlr.
> > > >
> > > > Ant could not find the task or a class this task relies upon.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Any suggestions?
> > > >
> > > > 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]
>
>