Re: [aspectwerkz-user] Enhanced jar for prepared classpath

Kenji Nakamura <[email protected]> Thu, 12 May 2005 20:10:53 -0700
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Alex,

I confirmed Plug doesn't produce enhanced jar without tools.jar in the 
classpath
with ant task in maven.xml. It doesn't stop build, and failed silently.

It would be great if you can give me a patch.

Thanks,

-Kenji

On May 12, 2005, at 11:45 AM, Alexandre Vasseur wrote:

> Mindstorm, we are doing this for more than 2 years. Providing our
> users the way to do it does not in any way.
> Especially when the very same functionnality that we achieve thru that
> is now standardized in Java 5 and is called "java agent".
> Our docs are clear on this topic. Get back to me directly if you want
> me to argue that further.
>
> Kenji, get back to me on the issue and I 'll provide you with a patch 
> asap.
> Alex
>
>
>
> On 5/12/05, Alexandru Popescu <[email protected]> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> #: Alexandre Vasseur said :: 5/12/2005 2:43 PM :#
>>> Hi
>>>
>>> Mindstorm: enhanced.jar (or any name choosen by the user) contains 
>>> the
>>> patched java.lang.ClassLaoder
>>>
>>
>> That's what i supposed, but isn't this contradicting with the SUN 
>> license?
>>
>> :alex |.::the_mindstorm::.|
>>
>>> In theory Plug should not rely on tools.jar to do the job. If it
>>> really does ie really fails when running with the JRE , then we need
>>> to fix it
>>>
>>> There is a dependancy on tools.jar only when you use remote 
>>> enablement
>>> and alike.
>>>
>>> Let me know. I can send you a fixed version as well if you need.
>>> Alex
>>>
>>> On 5/12/05, Alexandru Popescu <[email protected]> wrote:
>>> #: Kenji Nakamura said :: 5/11/2005 11:49 PM :#
>>>> Hi,
>>>
>>>> I'm working on packaging the app with AW using prepared 
>>>> bootclasspath
>>>> weaving option.
>>>> I tweaked InstallAnywhere project to generate enhanced jar file 
>>>> during
>>>> installation,
>>>> but I realized we also need to support the case when only JRE is
>>>> available.
>>>
>>>> I guess JDK is needed to generate enhance.jar since
>>>> org.codehaus.aspectwerkz.hook.Plug requires tools.jar in the 
>>>> classpath.
>>>
>>>> So my question is when we need to generate enhance.jar file? If I
>>>> bundle enhance.jar generated from, say, Sun JDK1.4.2_07, does it 
>>>> work
>>>> with Sun JRE1.4.2_XX? What about different major versions, such as
>>>> JRE1.4.1?
>>>
>>>> Thanks in advance,
>>>
>>>> -Kenji
>>>
>>>
>>> What is inside the enhance.jar? (the patched version of 
>>> ClassLoader?).
>>>
>>> :alex |.::the_mindstorm::.|
>>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.0 (MingW32)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>> iD8DBQFCg4DdOCPjdDT2FEURAs5IAJ9WKXrPSdLKFPK4113CdSxUa6FjtQCgk/HO
>> 1RDSW0U/Rh1WO6eeUzUbYqg=
>> =tlCS
>> -----END PGP SIGNATURE-----
>>
>
>