-
1. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
ctomc May 31, 2012 3:32 PM (in response to jkreska)Please use JDK6 for compiling AS7
there are currently many issues with compailing / failed tests on JDK7.
--
tomaz
-
2. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
jkreska May 31, 2012 4:10 PM (in response to ctomc)I am compiling code to run under AS7 not AS7 it self.
-
3. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
jamezp May 31, 2012 4:19 PM (in response to jkreska)I think the logging tooling might just need to change it's supported source version.
-
4. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
ctomc May 31, 2012 4:40 PM (in response to jkreska)Hi,
ok then, i have missunderstood.
what exacly are you doing to get this compile exception?
from where does
LoggingToolsProcessor
come into play?--
tomaz
-
5. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
jkreska May 31, 2012 5:01 PM (in response to ctomc)Sorry for the confusion.
The code I am compiling is including jboss-client.jar in the classpath.
I am not using anything related to LoggingToolsProcessor.
-
6. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
ctomc Jun 1, 2012 5:09 AM (in response to jkreska)Hi,
can you post your pom.xml that you are using for compiling this?
problem would probably go away if you do
1) use jdk6 for compiling if it is an option
2) disable compiler processors in maven plugin. http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#proc
--
tomaz
-
7. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
jkreska Jun 1, 2012 8:48 AM (in response to ctomc)I don't use maven. I am using ant with jboss-client.jar in the classpath.
Is there an equivalent setting for ant compiles?
-
8. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
ctomc Jun 1, 2012 9:03 AM (in response to jkreska)If i remember correctly how ant works...
if you add
<compilerarg line="-processor none"/>
to your javac task it should work
-
9. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
jkreska Jun 1, 2012 9:09 AM (in response to ctomc)Looks like the option is -proc:none
Is this going to disable annotaion processing for SessionBeans?
-
10. Re: 7.1.2.Final javac warning RELEASE_6 from annotation processor org.logging.processor.apt.LoggingToolsProcessor
ctomc Jun 1, 2012 9:21 AM (in response to jkreska)this is different kind of annotation processing.
this disables compile time annotation processing
ejb's and everything that JEE has are runtime annotations, which are not affected by this switch at all.
--
tomaz