Milos Kleint <[EMAIL PROTECTED]> wrote on 08/15/2005 01:21:58 PM: > Alexander Azarov wrote: > > >>-----Original Message----- > >>From: Trygve Laugstшl [mailto:[EMAIL PROTECTED] > >>Sent: Friday, August 12, 2005 7:44 PM > >> > >>On Fri, Aug 12, 2005 at 07:36:32PM +0400, Alexander Azarov wrote: > >> > >> > >>>I.e. I am trying to embed Maven2 into another application > >>> > >>> > >>and I would > >> > >> > >>>like to get access to that application's ClassLoader in my > >>> > >>> > >>Mojo. Still > >> > >> > >>>cannot figure out how to do that. > >>> > >>> > >>Why do you need it, a concrete example would be good. If you > >> > >> > > > >We are running Maven2 from Eclipse (in the same VM) and our Mojos must have > >an access to Eclipse infrastructure. > > > > > similar approach is taken by the netbeans ant integration. There are > special ant tasks tha work within the IDE and have access to IDE's > classes and perform specific inside IDE tasks (like stating a debugger, > profiler etc..) > > Milos
... and in eclipse as well. ANT integrated in eclipse pretty easy because ANT does not use own classloader features. From other hand, it is quite clear that Maven implies more infrastructure. I have the same trouble as Alexander integrating Maven in eclipse and would like to know if it is possible at all. Eclipse currently does not have any good approach to setting up a production environment and Maven may play its role here. This requires Maven to be run and controlled in a hosted environemnt, not its own and this is not just a set of properties. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
