Javier Diaz wrote:
In our project there are some user defined tasks. This tasks use
some libraries. To run our tasks in eclipse we use the Ant Launcher
and add to the classpath all our libraries.
I don't understand this one either. Are you launching Ant in Eclipse?
Yes, i do. We launch ant in Eclipse and we use the Ant Launcher. I
have a hope that m2eclipse manages runtime classpath for the Ant
launch configuration if project have Maven support enabled.
As far as I know, Ant launch configuration don't really have any
classpath either. I suppose your Ant scripts have some declaration of
the classpath which is then passed around to javac and other tasks.
However, as I already mention, you can use Maven project metadata in
Ant, by using Maven Ant tasks. Yes, that will require to change your Ant
scripts, but there should be a change somewhere to make things work,
right? Such change seem the most practical and the fastest way to
achieve results you want and have it work in the command line and IDE.
Anyways, if you feel like your scenario should be somehow supported in
m2eclipse, please open an enhancement request and provide detailed
instructions along with a test project that we could use to reproduce
and understand the issue. After that, once that request gain some number
of votes, we will prioritize it, unless someone will contribute patch first.
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email