On Wed, 16 Mar 2005, dan tran wrote:

> oh, I have to fork it, and got CNF exception
>
> other wise using the same JVM it is loaed like you have said

try

<java classname="your.bean.Main" fork="true">
  <classpath refid="maven.dependency.classpath"/>
</java>

Greetings,

        Kenney
>
> -Dan
>
>
>
> On Wed, 16 Mar 2005 09:54:26 +0100, Jörg Schaible
> <[EMAIL PROTECTED]> wrote:
> > Hi Dan,
> >
> > > -----Original Message-----
> > > From: dan tran [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 16, 2005 9:46 AM
> > > To: Maven Users List
> > > Subject: Re: Where is the bean in my plugin?
> > >
> > >
> > > thanks,  but i do know where it is inthe cache,
> > >
> > > but when I use ant:java to call it , can it dynamically
> > > construct the classpath to reach my bean?
> >
> > Haven't you tried it? My guess would be as long as you don't fork it should 
> > use the same classloader.
> >
> > - Jörg
> >
> > ---------------------------------------------------------------------
> > 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]
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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

Reply via email to