Hi Andrew,
Thanks for replying. Here's what appears on stdout:
[org.eclipse.equinox.weaving.hook] info adding AspectJ
hooks ...
Exception in thread "Refresh Packages"
java.lang.NullPointerException
at
org.eclipse.osgi.internal.loader.BundleLoader.getImportedSources(BundleLoader.java:246)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.populateLoaders(PackageAdminImpl.java:270)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:211)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:174)
at
java.lang.Thread.run(Thread.java:619)
[org.eclipse.equinox.weaving.caching.j9] warning cannot
start J9 caching service
2010-08-12 18:05:43.062:INFO::Logging to
StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
To answer your questions:
1. No.
2. The install directory is writeable
3. See the attached files.
4. After Eclipse starts, Weaving is not enabled.
I have weaving working on Eclipse 3.5.1 and 3.5.2 (the
latter after a struggle). The version of AJDT in all cases is 2.1.0.
All the best,
Steve
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of aspectj-users-request@xxxxxxxxxxx
Sent: 12 August 2010 17:01
To: aspectj-users@xxxxxxxxxxx
Subject: aspectj-users Digest, Vol 66, Issue 8
Send aspectj-users mailing list submissions to
aspectj-users@xxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users
or, via email, send a message with subject or body 'help'
to
aspectj-users-request@xxxxxxxxxxx
You can reach the person managing the list at
aspectj-users-owner@xxxxxxxxxxx
When replying, please edit your Subject line so it is
more specific
than "Re: Contents of aspectj-users digest..."
Today's Topics:
1. Re: I Cannot start the AJDT Weaving
service. (Andrew Eisenberg)
2. RE: AJDT and memory (Thomas Hofmann)
----------------------------------------------------------------------
Message: 1
Date: Wed, 11 Aug 2010 12:02:10 -0700
From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
Subject: Re: [aspectj-users] I Cannot start the AJDT
Weaving service.
To: aspectj-users@xxxxxxxxxxx
Message-ID:
<AANLkTik_f5USNVh8Mp=GO1Nz-jCXJ1_oUpW_8z=T7XTK@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=windows-1252
Hi Steve,
There are several things to look at:
1. Are you running with -clean as a startup option?
If so, this
should be removed.
2. Is your install directory writable? Please
ensure that it is.
3. Do you have any exceptions in your error log, or
anything interesting?
4. What exactly is the behavior that you are seeing?
thanks,
--a
On Wed, Aug 11, 2010 at 9:47 AM, steve brown
<steve.brown@xxxxxxxxxxx> wrote:
> Hi,
>
>
>
> I?m running Helios version:
>
>
>
> Eclipse Java EE IDE for Web Developers.
>
>
>
> Version: Helios Release
>
> Build id: 20100617-1415
>
>
>
> I have installed AJDT Tools, version 2.1.0. I cannot
start the Weaving
> service. I have followed the steps in the dialog box
that appears when
> starting the service fails, and I have followed all
the steps at
> http://wiki.eclipse.org/JDT_weaving_features.
>
>
>
> I attach the configuration files from my
installation.
>
>
>
> I would appreciate some help in resolving this
issue.
>
>
>
> Many thanks,
>
> Steve.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
------------------------------
Message: 2
Date: Thu, 12 Aug 2010 10:02:39 +0200
From: Thomas Hofmann <email@xxxxxxxxxxxxxxxxx>
Subject: RE: [aspectj-users] AJDT and memory
To: "aspectj-users@xxxxxxxxxxx"
<aspectj-users@xxxxxxxxxxx>
Message-ID:
<3FD90492B0A44744AE916E15B263B53C01B3CCCCB0A3@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
Is this available for Eclipse 3.4 as I am using RSA and
as you might remeber have a quite large workspace? Currently I am using a max.
heap size of 1300 MB. I would like to try the new options on this workspace.
Regards, Thomas
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andy Clement
Sent: Freitag, 6. August 2010 00:56
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] AJDT and memory
Hi,
Under bug 278496 I've gradually been working on this, the
idea is to reduce the memory used for compile-time weaving in AJDT, using
something similar to the strategy I used to reduce memory for Loadtime weaving.
The latest AJDT dev builds now include the first pass at
these changes. You need to 'turn them on' as I don't want them default
until I get some feedback on whether they behave.
To configure them, open your project properties, go to
AspectJ compiler, then scroll down to the bottom of the options panel and in
the 'other' section in the free form text field enter:
-Xset:minimalModel=true,typeDemotion=true
Then work as normal. I'm interested in whether:
- you see a noticeable reduction in heap usage (maybe
turn on the eclipse heap status monitor under Window>Preferences>General)
- you see a change in performance. With the more
eager eviction model these options employ, there may be more messing around to
compile stuff (probably only noticeable on full builds)
- it breaks !
thanks for any feedback,
Andy
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
------------------------------
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
End of aspectj-users Digest, Vol 66, Issue 8
********************************************