I'm trying to make a reusable plugin as described in section 5.4.2 of "Better builds with Maven" and on http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html (both docs do slightly differ and it seems that the website is the more current version).

It works fine with core ant tasks but not with optional tasks like "echoproperties".

I'm using Maven 2.0.4.

-Gisbert

Jason van Zyl wrote:
Just to be clear an Ant-based Mojo is not the same thing as using the Ant Run plugin. I have just merged the underlying utilities for the Ant Run plugin and the Ant-based Mojos. Prior to yesterday Ant-based mojos were not very useful as there was no way to get hold of the various classpaths constructed by Maven as are available in the Ant Run plugin.

Are you trying to use the Ant Run plugin or make a reusable plugin using Ant script?

Jason.

On 10 Oct 06, at 10:29 AM 10 Oct 06, Gisbert Amm wrote:

I get this error message:

"Could not create task or type of type: echoproperties."

I found this discussion:

http://mail-archives.apache.org/mod_mbox/maven-users/200603.mbox/% [EMAIL PROTECTED]

and the mentioned documentation at:

http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html

However, without further explanation I can't figure out how to use the echoproperties task.

Could somebody please point me in the right direction?

Regards,
Gisbert Amm

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


--
Gisbert Amm
Softwareentwickler Infrastruktur

WEB.DE GmbH
Brauerstraße 48 · D-76135 Karlsruhe
Tel. +49-721-91374-4224 · Fax +49-721-91374-2740
[EMAIL PROTECTED] · http://www.web.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to