Re: Java 9, 8, 7 and Eclipse

2017-05-06 Thread Gary Gregory
I still do not have Eclipse working with Java 9 with our project if anyone else has any ideas... Gary On May 5, 2017 12:50 PM, "Matt Sicker" wrote: > All those compiler passes and rules and whatnot make me think that a > Makefile or Ant build would be just as simple now. :P > > On 5 May 2017 at

Re: Java 9, 8, 7 and Eclipse

2017-05-05 Thread Matt Sicker
All those compiler passes and rules and whatnot make me think that a Makefile or Ant build would be just as simple now. :P On 5 May 2017 at 01:34, Gary Gregory wrote: > On Thu, May 4, 2017 at 10:32 PM, Gary Gregory > wrote: > > > Ah, I had Java 9. I set JAVA_HOME to Java 8 and it's off and runn

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
On Thu, May 4, 2017 at 10:32 PM, Gary Gregory wrote: > Ah, I had Java 9. I set JAVA_HOME to Java 8 and it's off and running (in > the core tests now...) > OMG, my first build passed under this new regime. Phew! ;-) G > > Thank you! > Gary > > On Thu, May 4, 2017 at 10:01 PM, Ralph Goers > wro

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
Ah, I had Java 9. I set JAVA_HOME to Java 8 and it's off and running (in the core tests now...) Thank you! Gary On Thu, May 4, 2017 at 10:01 PM, Ralph Goers wrote: > What do you get when you run java -version? It has to be Java 7 or 8. > > Ralph > > > On May 4, 2017, at 9:16 PM, Gary Gregory w

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Ralph Goers
What do you get when you run java -version? It has to be Java 7 or 8. Ralph > On May 4, 2017, at 9:16 PM, Gary Gregory wrote: > > I installed a toolchain.xml (the one I committed the root) and ran 'mvn > clean install' and I still get: > > [ERROR] Failed to execute goal > org.apache.maven.plug

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
I installed a toolchain.xml (the one I committed the root) and ran 'mvn clean install' and I still get: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project log4j-core: Execution default-test of goal org.apache.maven.plugins:maven-sure

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Ralph Goers
For a clearer explanation - If you look at the parent pom you will notice that there are two executions within the compiler plugin. The first is the default compile that excludes module-info.java, I have no idea why they decided to have this file have a .java extension since the file name seems

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Ralph Goers
This is documented in src/site/markdown/build.md and in BUILDING.md. If you feel the wording can be improved feel free to update it. Ralph > On May 4, 2017, at 8:32 PM, Ralph Goers wrote: > > I run “mvn clean install” from the command line. I have Java 7, 8 and 9 > installed on my computers.

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Ralph Goers
I run “mvn clean install” from the command line. I have Java 7, 8 and 9 installed on my computers. Java 8 happens to be the default on my work computer and Java 7 is the default on the computer where I release Log4j from. I have toolchains configured in ~/.m2/toolchains.xml with jd

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
On Thu, May 4, 2017 at 7:45 PM, Ralph Goers wrote: > I get the same thing on my Mac when building only with Java 9. I normally > build with Java 8 or 7 as the default JDK and use toolchains for the Java 9 > specific stuff, so all the tests are run in Java 7 or 8 - except when I > specifically wan

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Ralph Goers
This has been reported as https://issues.apache.org/jira/browse/SUREFIRE-1265 . The good news is that it is fixed. The bad news is that version 2.20.1 has not been released yet. Ralph > On May 4, 2017, at 7:45 PM, Ralph Goers wrote: > > I g

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Ralph Goers
I get the same thing on my Mac when building only with Java 9. I normally build with Java 8 or 7 as the default JDK and use toolchains for the Java 9 specific stuff, so all the tests are run in Java 7 or 8 - except when I specifically wanted to test the StackWalker support. I tested that through

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
When I build with Java 9 EA 167 and Maven I get: [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache Log4j 2 . SUCCESS [ 2.492 s] [INFO] Apache Log4j API ..

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Matt Sicker
If you figure out how to set it up in Eclipse, please share your instructions. I'm guessing you're not the only Eclipse user here. On 4 May 2017 at 18:17, Gary Gregory wrote: > On Thu, May 4, 2017 at 4:06 PM, Gary Gregory > wrote: > > > Hi all, > > > > I am trying to compile our Java trunk in E

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
On Thu, May 4, 2017 at 4:06 PM, Gary Gregory wrote: > Hi all, > > I am trying to compile our Java trunk in Eclipse with Eclipse 4.7M6 and > the Java 9 BETA support. I get a compile error in > org.apache.logging.log4j.util.StackWalkerStackLocator because > StackLocator is not found. Where does tha

Re: Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
Hi all, I am trying to compile our Java trunk in Eclipse with Eclipse 4.7M6 and the Java 9 BETA support. I get a compile error in org.apache.logging.log4j.util.StackWalkerStackLocator because StackLocator is not found. Where does that interface live? G On Thu, May 4, 2017 at 2:58 PM, Gary Gregor

Java 9, 8, 7 and Eclipse

2017-05-04 Thread Gary Gregory
Does anyone have trunk set up in Eclipse? I'm having a hell of a time getting the current trunk to build in Eclipse... Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition