Bug 152394 - [build] Build Error with Dev AJDT .classpath plugin using AspectJ container
Summary: [build] Build Error with Dev AJDT .classpath plugin using AspectJ container
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Library (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.5.3   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 19:29 EDT by Ron Bodkin CLA
Modified: 2006-08-03 09:33 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Bodkin CLA 2006-07-31 19:29:18 EDT
In recent dev builds, AJDT has switched to making AspectJ projects use a container instead of a classpath entry to resolve AspectJ. AJDT updates this entry in the .classpath file:

	<classpathentry kind="var" path="ASPECTJRT_LIB"/>

to be this:
	<classpathentry kind="con" path="org.eclipse.ajdt.core.ASPECTJRT_CONTAINER"/>

This is breaking the AspectJ build for the org.aspectj.lib module:

build-product:
cannot handle con yet: -- listing properties --
kind=con
path=org.eclipse.ajdt.core.ASPECTJRT_CONTA...

This then fails to compile the AspectJ sources in the project.

Work-around: close the org.aspectj.lib project, edit the .classpath file to restore the old setting, then build.
Comment 1 Ron Bodkin CLA 2006-07-31 19:33:53 EDT
Note: this issue showed up after I did a clean build. Just doing normal builds didn't cause it (since the AspectJ library hasn't been updated since this change)

Also, I didn't know that I was depending on my Eclipse workspace for builds, but it's possible I configured some property a long time ago and have forgotten.
Comment 2 Andrew Clement CLA 2006-08-03 09:33:59 EDT
fixed