|
Re: Compiling an AspectJ Project [message #34628 is a reply to message #34491] |
Tue, 20 April 2004 09:50 |
Eclipse User |
|
|
|
Originally posted by: luzius.meisser.uk.ibm.com
John Kelty wrote:
> Any ideas?
Maybe there is something wrong with the build configuration file you are
using. Open default.lst to see if all the .java and .aj files are there
and ticked. Then try explicitly using this build configuration (right
click on default.lst and "select this build config"). I hope that helps.
Luzius
|
|
|
|
Re: Compiling an AspectJ Project [message #34696 is a reply to message #34491] |
Tue, 20 April 2004 16:40 |
Eclipse User |
|
|
|
Originally posted by: clemas.uk.ibm.com
Hi,
Sorry to hear you are having problems, can I check a few things:
Do you get a progress dialog when the project is building with AspectJ
(implying that it is doing a compile/weave)?
In the project properties for the project, I assume you have nothing
specified for the output jar value in the AspectJ tab?
Is there any way we could see your problematic project?
Is the project particularly large? (It may be failing silently with an
OutOfMemory error).
Are you on Eclipse 3.0M8 with AJDT1.1.7?
Finally, are there any entries in the log file that might relate to the
problem. The .log file is in the workspace .metadata directory.
Sorry for all the questions, just trying to think what might be causing
it...
Andy.
|
|
|
Re: Compiling an AspectJ Project [message #34730 is a reply to message #34696] |
Tue, 20 April 2004 19:04 |
John Kelty Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Andy Clement wrote:
> Hi,
> Sorry to hear you are having problems, can I check a few things:
> Do you get a progress dialog when the project is building with AspectJ
> (implying that it is doing a compile/weave)?
Yes. The progress bar seems to work normally, and the names of the .java
files supposedly being compiled flash by.
> In the project properties for the project, I assume you have nothing
> specified for the output jar value in the AspectJ tab?
Correct. I searched through jar files in the relevant directories anyway
and couldn't find my files there.
> Is there any way we could see your problematic project?
Perhaps I can package some of it up if nothing works.
> Is the project particularly large? (It may be failing silently with an
> OutOfMemory error).
Yes, it is large. However, I am running with extra memory with the
command line: eclipse.exe -vmargs -Xmx512M so I doubt if memory is the
problem.
> Are you on Eclipse 3.0M8 with AJDT1.1.7?
No. 2.1.1 with AJDT 1.1.4--is either of those versions going to be a
problem?
> Finally, are there any entries in the log file that might relate to the
> problem. The .log file is in the workspace .metadata directory.
Despite my many compiles today, the .log file hasn't been updated today,
so no.
> Sorry for all the questions, just trying to think what might be causing
> it...
No problem, I appreciate the many ideas.
> Andy.
|
|
|
|
Re: Compiling an AspectJ Project [message #35078 is a reply to message #35010] |
Thu, 22 April 2004 07:32 |
Eclipse User |
|
|
|
Originally posted by: clemas.uk.ibm.com
Could you possibly try with AJDT 1.1.6 - this is a dev version of AJDT for
Eclipse 2.1 (and 3.0 versions up to milestone 4). I created it to have an
AJDT with a more up to date AspectJ compiler inside - and the error you
just attached in your previous append is an internal compiler problem.
You can find the update site URL for it at the bottom of our download page
(I think its)
http://download.eclipse.org/technology/ajdt/dev/update
With the switch to Eclipse 3 for AJDT 1.1.7 - we still haven't worked out
the best way to continue the codebase for Eclipse 2 users... Are you able
to move up to Eclipse 3 or is there some reason you can't (maybe you are
using WebSphere Studio or some other toolset with Eclipse 2.1 at its
core?)
Andy.
|
|
|
Re: Compiling an AspectJ Project [message #35235 is a reply to message #35078] |
Fri, 23 April 2004 14:59 |
John Kelty Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Andy Clement wrote:
> Could you possibly try with AJDT 1.1.6 - this is a dev version of AJDT for
> Eclipse 2.1 (and 3.0 versions up to milestone 4). I created it to have an
> AJDT with a more up to date AspectJ compiler inside - and the error you
> just attached in your previous append is an internal compiler problem.
Thanks again for your assisstance, Andy. Version 1.1.6 did fix the null
pointer exception but did not allow the .class files to be created.
Eclipse 3.0, however, reversed that situation: at one point I could
create .class files sucessfully, but now I get a null pointer exception on
pretty much any Aspect J compile so I'm no better off:
!SESSION Apr 23, 2004 07:54:46.186
---------------------------------------------
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.core.resources 2 1 Apr 23, 2004 07:54:46.216
!MESSAGE Skipping builder org.eclipse.ajdt.ui.ajbuilder for project AOP.
Either the builder is missing from the install, or it belongs to a project
nature that is missing or disabled.
!SESSION Apr 23, 2004 08:53:33.213
---------------------------------------------
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.ajdt.ui 4 0 Apr 23, 2004 08:53:33.213
!MESSAGE NullPointerException thrown: null
!STACK 0
java.lang.NullPointerException
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:207)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.increm entalBuild(AjBuildManager.java:101)
at
org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAd apter.java:103)
at
org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread .run(AspectJBuildManager.java:165)
Any further ideas on getting either version to work?
Thanks,
John
|
|
|
|
|
|
Re: Compiling an AspectJ Project [message #578880 is a reply to message #34696] |
Tue, 20 April 2004 19:04 |
John Kelty Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Andy Clement wrote:
> Hi,
> Sorry to hear you are having problems, can I check a few things:
> Do you get a progress dialog when the project is building with AspectJ
> (implying that it is doing a compile/weave)?
Yes. The progress bar seems to work normally, and the names of the .java
files supposedly being compiled flash by.
> In the project properties for the project, I assume you have nothing
> specified for the output jar value in the AspectJ tab?
Correct. I searched through jar files in the relevant directories anyway
and couldn't find my files there.
> Is there any way we could see your problematic project?
Perhaps I can package some of it up if nothing works.
> Is the project particularly large? (It may be failing silently with an
> OutOfMemory error).
Yes, it is large. However, I am running with extra memory with the
command line: eclipse.exe -vmargs -Xmx512M so I doubt if memory is the
problem.
> Are you on Eclipse 3.0M8 with AJDT1.1.7?
No. 2.1.1 with AJDT 1.1.4--is either of those versions going to be a
problem?
> Finally, are there any entries in the log file that might relate to the
> problem. The .log file is in the workspace .metadata directory.
Despite my many compiles today, the .log file hasn't been updated today,
so no.
> Sorry for all the questions, just trying to think what might be causing
> it...
No problem, I appreciate the many ideas.
> Andy.
|
|
|
|
|
Re: Compiling an AspectJ Project [message #579235 is a reply to message #35078] |
Fri, 23 April 2004 14:59 |
John Kelty Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Andy Clement wrote:
> Could you possibly try with AJDT 1.1.6 - this is a dev version of AJDT for
> Eclipse 2.1 (and 3.0 versions up to milestone 4). I created it to have an
> AJDT with a more up to date AspectJ compiler inside - and the error you
> just attached in your previous append is an internal compiler problem.
Thanks again for your assisstance, Andy. Version 1.1.6 did fix the null
pointer exception but did not allow the .class files to be created.
Eclipse 3.0, however, reversed that situation: at one point I could
create .class files sucessfully, but now I get a null pointer exception on
pretty much any Aspect J compile so I'm no better off:
!SESSION Apr 23, 2004 07:54:46.186
---------------------------------------------
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.core.resources 2 1 Apr 23, 2004 07:54:46.216
!MESSAGE Skipping builder org.eclipse.ajdt.ui.ajbuilder for project AOP.
Either the builder is missing from the install, or it belongs to a project
nature that is missing or disabled.
!SESSION Apr 23, 2004 08:53:33.213
---------------------------------------------
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.ajdt.ui 4 0 Apr 23, 2004 08:53:33.213
!MESSAGE NullPointerException thrown: null
!STACK 0
java.lang.NullPointerException
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:207)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.increm entalBuild(AjBuildManager.java:101)
at
org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAd apter.java:103)
at
org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread .run(AspectJBuildManager.java:165)
Any further ideas on getting either version to work?
Thanks,
John
|
|
|
Powered by
FUDForum. Page generated in 0.26986 seconds