[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-dev] Writing an AspectJ test that copies resources?
|
Ron,
There is no mechanism for resource copying
and there is no test (that I can find) for "-Xlintfile" in aop.xml.
In fact there are no explicit Xlint LTW tests. I will add the necessary
logic to the harness to copy an Xlint.properties file because I have already
done it for aop.xml. However I don't think the current implementation is
correct nor do I think you patch completely fixes it. I believe it should
work like this:
1. Load XlintDefault.properties (otherwise
all lint messages are WARNING)
2. Overlay LTW defaults i.e. ignore
"adviceDidNotMatch" (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=117854)
3. Overlay user "-Xlintfile"
(so they only have to specify the messages they want to tailor)
4. Override with user "-Xlint"
option
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/
Please respond to AspectJ
developer discussions <aspectj-dev@xxxxxxxxxxx>
Sent by:
aspectj-dev-bounces@xxxxxxxxxxx
To:
"'AspectJ developer
discussions'" <aspectj-dev@xxxxxxxxxxx>
cc:
Subject:
[aspectj-dev]
Writing an AspectJ test that copies resources?
I’m trying to write some regression tests
for load-time weaving (for bug #118715)
To test this, I need to copy a resource file
(an Xlint.properties file) over to the sandbox directory to be accessible
from the classloader at runtime. Is there any means already defined for
copying resources over to the sandbox?
Ron Bodkin
Chief Technology Officer
New Aspects of Software
w: (415) 824-4690
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev