-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan,

I use the following for this kind of stuff:

<java classname="your.bean.Main" fork="true">
~  <classpath path="${pom.getDependencyPath()}"/>
</java>

HTH,
Jason



dan tran wrote:

| Kenny,
|
| I have maven.dependency.classpath in my classpath.
|
| In verbose mode, maven how the classpath of the project calling the
| plugin. No sign of the classpath belong to the plugin.
|
| -D
|
| On Wed, 16 Mar 2005 11:15:36 +0100 (CET), Kenney Westerhof
| <[EMAIL PROTECTED]> wrote:
|
|> 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]
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCOExwAQ71cZOfvEQRAndKAJ4v7vzMfpwLLwChU3TMXRihMm1vVQCfY7yq
8GtDrhE0tsgueq6aFE/RdrQ=
=2uXL
-----END PGP SIGNATURE-----


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



Reply via email to