On 11/15/06, easyproglife <[EMAIL PROTECTED]> wrote:
Hi Xavier. I am trying to write a simple command line utility to convert POM to ivy.xml
There's already such utility as an undocumented ant task: fr.jayasoft.ivy.ant.IvyConvertPom. Have a look to the code you should quickly see how to use it. And note that if you want to convert a bunch of files, you can use the install task to install everything from a m2 repo to an ivy repo. - Xavier .
If you don't have the time to write it yourself, can you instruct me how can I do so? I have started with a Java main class that uses " fr.jayasoft.ivy.external.m2.PomModuleDescriptorParser". I called "parseDescriptor" and got "ModuleDescriptor". How can I now write it as ivy.xml? (In the future, I think this utility should get a list (regexp?) of POM files as a parameter. Later it may be written also as an Ant task.) Thanks, easyproglife.
