Hi Andy!

The ant task has a minor bug.

The COMPLIANCE_INPUTS for 1.9 is missing the minus sign.
Without that it is not possible to configure the compliance level and the error
[ant:iajc] [error   0]: error Compliance level '1.4' is incompatible with 
target level '9'. A compliance level '9' or better is required
shows up.

With this fix and the compliance configuration on the ant task I was able to 
build our project and it seems to work as expected.


Index: taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java    (revision 
d159d8d96ba83edca8ca7aefdd1ad785912f9164)
+++ taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java    (revision )
@@ -255,7 +255,7 @@

        static final String[] TARGET_INPUTS = new String[] { "1.1", "1.2", 
"1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9" };
        static final String[] SOURCE_INPUTS = new String[] { "1.3", "1.4", 
"1.5", "1.6", "1.7", "1.8", "1.9" };
-       static final String[] COMPLIANCE_INPUTS = new String[] { "-1.3", 
"-1.4", "-1.5", "-1.6", "-1.7", "-1.8", "1.9" };
+       static final String[] COMPLIANCE_INPUTS = new String[] { "-1.3", 
"-1.4", "-1.5", "-1.6", "-1.7", "-1.8", "-1.9" };

        private static final ICommandEditor COMMAND_EDITOR;




Am 25.09.2017 um 19:00 schrieb Andy Clement 
<andrew.clem...@gmail.com<mailto:andrew.clem...@gmail.com>>:

Hey,

1.9.0.BETA-7 is actually there now (spring milestones maven repo), published 
last night.This includes:
- update to latest JDT compiler
- Compilation/weaving performance on Java 9 now similar to Java8.

I am trying to get to an RC very soon but there are a few more things I must do 
before I consider it good enough, my rough target is end of the week but it 
depends on how many distractions I get :)

> right now 1.8.10 version doesn't work in such projects.

It would be helpful for anyone/everyone to share any issues you have with the 
1.9 betas so I can make sure I have them on the TODO list, email here or 
bugzilla issues are fine.

many thanks,
Andy


On 23 September 2017 at 01:25, Krzysztof Krason 
<krzysztof.kra...@gmail.com<mailto:krzysztof.kra...@gmail.com>> wrote:
Hello,
Is there a plan for releasing 1.9.0 version soon? I see that there is a 
1.9.0.BETA-6 in Spring Milestones maven repo and I'm wondering if you have some 
plans on releasing it to maven central or creating 1.9.0 and releasing it there?

This would greatly help with projects that want to use Java 9 and AspectJ, 
right now 1.8.10 version doesn't work in such projects.

Regards,
Krzysztof Krason


_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org<mailto:aspectj-users@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org<mailto:aspectj-users@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to