Re: required MetaClass attributes to be a Component

Mauro Talevi <[email protected]>
Newsgroups gmane.comp.java.jcontainer.interest
Message-ID <[email protected]>
Jean-Francois HEON wrote:
> Right now, I cannot use the maven-sar plug-in so I would like to make the
> ant task work on machine. Are .binary files normal instead of .xinfo?

The Ant tasks for Loom are in the Loom maven-sar plugin
(which extend GenerateClassDescriptorsTask)

If you want to use Ant in place of Maven, look at:

- project.xml
http://cvs.codehaus.org/viewcvs.cgi/jcontainer/loom/plugins/maven-sar/project.xml?root=jcontainer&view=markup
for the dependencies it uses (your metaclass jar is not up-to-date, 
although I'm not sure it is the cause) and include those in your Ant 
classpath.

- plugin.jelly
http://cvs.codehaus.org/viewcvs.cgi/jcontainer/loom/plugins/maven-sar/plugin.jelly?root=jcontainer&view=markup
which contains the Ant commands used by the plugin.

For ${plugin.dir} pathelement replace the maven-sar-plugin-1.0-dev.jar 
which can be found on http://dist.codehaus.org/loom/plugins

For the other elements, replace the corresponding dependencies found in 
the project.xml

And yes - the output is .binary files.

Cheers, Mauro
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.