diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-03-20 14:45:51 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-03-20 14:45:51 +0700 |
commit | 2a2f4e20b413c12a634bb6c3732da4da598bad96 (patch) | |
tree | 0aa17e9aed391414d51b13f065975b4d0b4cd5af /build | |
parent | 0b866816fa45166c8b32859ba4090504d5b1da56 (diff) | |
download | aspectj-2a2f4e20b413c12a634bb6c3732da4da598bad96.tar.gz aspectj-2a2f4e20b413c12a634bb6c3732da4da598bad96.zip |
Fix tests not finding project base directory 'org.aspectj'
Several LTW tests using class TestServer failed on my machine because
there was a hard-coded project base directory name 'org.aspectj' in the
class. This class has several other problems, but my quick fix for now -
I did not want to rename my project base directory - was to match on a
regex '(?i)(org[.])?aspectj' now. That also works for my root directory
'AspectJ'.
I also moved the code determining the project dir into a protected
(hence testable) method and added a sanity test case checking if the
directory can be determined. If not, the test will fail with a rather
lengthy warning to developers about the need to have a matching project
root folder.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions