Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360331 - Changes in aop.xml ignored by build process
Summary: Changes in aop.xml ignored by build process
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Build (show other bugs)
Version: 1.6.12   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: 1.6.12   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-08 15:07 EDT by Grzegorz Abramczyk CLA
Modified: 2011-10-11 12:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Abramczyk CLA 2011-10-08 15:07:20 EDT
Build Identifier: 20110916-0149

When using AspectJ Bulider customized by aop.xml file changes in the file are not reflected in build process.

It looks like it is caused by fix for Bug 329126 introducing caching of configuration. 

I have found two workarounds:
* To restart IDE
* To add -Dorg.aspectj.weaver.loadtime.configuration.cache=false into eclipse.ini
Nevertheless bug is annoying and second fix may cause bug 329126 to reappear.

Moreover it would be nice if saving aop.xml would cause rebuild without manual request by user. 

Reproducible: Always

Steps to Reproduce:
1. Create "Bean Example" from AspectJ Examples
2. Add to project aop.xml with content:
<!DOCTYPE aspectj PUBLIC
        "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd">
<aspectj>
	<weaver>
		<exclude within="bean.*" />		
	</weaver>
	<aspects>
		<aspect name="bean.BoundPoint"/>
	</aspects>
</aspectj>
3. Add aop.xml to aop.xml management
4. Rebuild project
5. Change exclude to include in aop.xml
4. Rebuild project
Comment 1 Andrew Clement CLA 2011-10-11 12:16:44 EDT
Raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=360559 to cover your request for auto builds on aop.xml changes.

Switched off cache when incremental builds can occur (so under AJDT).