Community
Participate
Working Groups
I'm using LTW with aop.xml. In order to use eclipse completion for XML I specify the DTD within the file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd"> <aspectj> <aspects> ... </aspects> </aspectj> Though, at runtime I get this message: AspectJ - WARN - could not read DTD -//AspectJ//DTD//EN which takes quite a while to appear since I'm using a mobile phone connection (which is not exactly fast). If I remove the DTD, it runs smoothly but I loose code completion. Perhaps a runtime option to disable validation will be greatly appreciated.
*** Bug 339295 has been marked as a duplicate of this bug. ***
I've noticed the same error being logged, but it doesn't look like AspectJ is trying to retrieve the DTD from eclipse.org. Instead, it looks for the DTD in the classpath, but can't find it (see bug 339295).
unsetting the target field which is currently set for something already released