Re: Maven 1.0.2: Possible to "new" an object and then call methods on it, in Maven plugin?

2007-02-20 Thread Lukas Theussl

Also have a look at the 'new' and 'invoke' tags:

http://jakarta.apache.org/commons/jelly/tags.html

HTH,
-Lukas


Jiaqi Guo wrote:

Hi David,

Is  what you need?
http://jakarta.apache.org/commons/jelly/tags.html#core:useBean


Regards
-Jiaqi

Karr, David wrote:


I have a modified version of the Castor plugin that enables some Castor
features not available through the default plugin.  In this plugin, I
use "ant:java" to execute the "main" method of the class.  I've been
told that in order to access other features that I'm going to need, I
instead have to create an instance of the class, call a setter method on
the object, and then execute another method of the object.  Can someone
point out how I can do that, just within the XML plugin code?

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



Re: Maven 1.0.2: Possible to "new" an object and then call methods on it, in Maven plugin?

2007-02-20 Thread Jiaqi Guo

Hi David,

Is  what you need?
http://jakarta.apache.org/commons/jelly/tags.html#core:useBean


Regards
-Jiaqi

Karr, David wrote:

I have a modified version of the Castor plugin that enables some Castor
features not available through the default plugin.  In this plugin, I
use "ant:java" to execute the "main" method of the class.  I've been
told that in order to access other features that I'm going to need, I
instead have to create an instance of the class, call a setter method on
the object, and then execute another method of the object.  Can someone
point out how I can do that, just within the XML plugin code?

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


  



--


Jiaqi Guo

http://www.cyclopsgroup.org
[EMAIL PROTECTED]


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



Maven 1.0.2: Possible to "new" an object and then call methods on it, in Maven plugin?

2007-02-20 Thread Karr, David
I have a modified version of the Castor plugin that enables some Castor
features not available through the default plugin.  In this plugin, I
use "ant:java" to execute the "main" method of the class.  I've been
told that in order to access other features that I'm going to need, I
instead have to create an instance of the class, call a setter method on
the object, and then execute another method of the object.  Can someone
point out how I can do that, just within the XML plugin code?

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