Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » where is aspectjtools.jar?
where is aspectjtools.jar? [message #587493] Wed, 16 March 2005 02:42
Larry Edelstein is currently offline Larry EdelsteinFriend
Messages: 25
Registered: July 2009
Junior Member
Hi all -

I'm trying to use the Aspect/J ant task "iajc" from Eclipse. I'm using
Eclipse 3.0.1, and AJDT 1.2.0.20041214165937.

Trouble is, I don't see aspectjtools.jar in any of the plugins, and that's
where the AJ Ant tasks are supposed to be, right?

I found AjcTask in ajde.jar in AJDE 1.5 - I didn't even realize that this
was installed in my plugins - but when I try to use it, the task eventually
fails with the following message:

BUILD FAILED: <omitted>\build.xml:54: fail due to NoClassDefFoundError
"org/eclipse/core/runtime/OperationCanceledException""unexpected exception"
(1 exceptions)

SO: what gives? Why is it the Ant task calling back into Eclipse? Where is
aspectjtools.jar? Where should I get the Ant task from?

Larry Edelstein
San Francisco, CA



Here's a complete stack trace of the error:

Buildfile: C:\Documents and Settings\Larry Edelstein\My
Documents\EclipseWorkspace\Server-WhatIsIt\build.xml

init:

dirs:

compile-client:

client:

[iajc] unexpected exception

[iajc] Exception thrown from AspectJ DEVELOPMENT

[iajc] This might be logged as a bug already -- find current bugs at

[iajc]
http://bugs.eclipse.org/bugs/buglist.cgi?product=AspectJ& ;component=Compiler

[iajc] Bugs for exceptions thrown have titles File:line from the top stack,

[iajc] e.g., "SomeFile.java:243"

[iajc] If you don't find the exception below in a bug, please add a new bug

[iajc] at http://bugs.eclipse.org/bugs/enter_bug.cgi?product=AspectJ

[iajc] To make the bug a priority, please include a test program

[iajc] that can reproduce this exception.

[iajc] org/eclipse/core/runtime/OperationCanceledException

[iajc] org/eclipse/core/runtime/OperationCanceledException

[iajc] java.lang.NoClassDefFoundError:
org/eclipse/core/runtime/OperationCanceledException

[iajc] at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java :44)

[iajc] at org.aspectj.tools.ajc.Main.run(Main.java:291)

[iajc] at org.aspectj.tools.ajc.Main.runMain(Main.java:227)

[iajc] at
org.aspectj.tools.ant.taskdefs.AjcTask.executeInSameVM(AjcTa sk.java:1162)

[iajc] at org.aspectj.tools.ant.taskdefs.AjcTask.execute(AjcTask.java: 959)

[iajc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:275)

[iajc] at org.apache.tools.ant.Task.perform(Task.java:364)

[iajc] at org.apache.tools.ant.Target.execute(Target.java:341)

[iajc] at org.apache.tools.ant.Target.performTasks(Target.java:369)

[iajc] at org.apache.tools.ant.Project.executeTarget(Project.java:1214 )

[iajc] at org.apache.tools.ant.Project.executeTargets(Project.java:106 2)

[iajc] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run (InternalAntRunner.java:377)

[iajc] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.mai n(InternalAntRunner.java:135)

BUILD FAILED: <omitted>\build.xml:54: fail due to NoClassDefFoundError
"org/eclipse/core/runtime/OperationCanceledException""unexpected exception"
(1 exceptions)

Total time: 741 milliseconds
Previous Topic:Job Opening: AspectJ AJDT developer in New York Area
Next Topic:Compile Error with "... implements ...<E>"
Goto Forum:
  


Current Time: Mon Dec 22 14:57:49 GMT 2014

Powered by FUDForum. Page generated in 0.01514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software