Re: Compilation feedback and version question

2015-11-03 Thread Alan Bateman
On 29/10/2015 11:25, Stephen Colebourne wrote: : However, my feedback is that the -listmods option is confusing. An option called "list" is something I expect to list all things, not to be clever and only show some subset. At the very least, I consider it vital for there to be a tool (preferab

Re: Compilation feedback and version question

2015-10-29 Thread Alan Bateman
On 29/10/2015 11:25, Stephen Colebourne wrote: : So, after about an hour yesterday, I did try that and it still didn't work. That must have been because jmod doesn't work fully. I've tried it now, and with -addmods it does find the modular jar file. However, my feedback is that the -listmods opt

Re: Compilation feedback and version question

2015-10-29 Thread Stephen Colebourne
On 29 October 2015 at 13:18, Alan Bateman wrote: >> Bear in mind that the help/usage text of the jar.exe tool has not been >> updated. As such, jmod.exe looks like its the only thing capable of >> working with modules. >> > The jar tool is significantly enhancement to support modules so check out

Re: Compilation feedback and version question

2015-10-29 Thread Chris Hegarty
On 29 Oct 2015, at 11:25, Stephen Colebourne wrote: >> ... > > Bear in mind that the help/usage text of the jar.exe tool has not been > updated. As such, jmod.exe looks like its the only thing capable of > working with modules. Just on this specific point. Can you please try ‘jar —help’ from a

Re: Compilation feedback and version question

2015-10-29 Thread Stephen Colebourne
On 28 October 2015 at 23:59, Alan Bateman wrote: > On 28/10/2015 20:50, Stephen Colebourne wrote: >> Just to note that my experiments of the last 2 hours suggest that >> "java -listmods" does not show user modules in its output, only JDK >> modules: >>java -mp jmods -listmods > > -listmods wil

Re: Compilation feedback and version question

2015-10-28 Thread Alex Buckley
On 10/28/2015 1:50 PM, Stephen Colebourne wrote: Just to note that my experiments of the last 2 hours suggest that "java -listmods" does not show user modules in its output, only JDK modules: java -listmods lists modules in the runtime image. There is no distinction between "a user module in t

Re: Compilation feedback and version question

2015-10-28 Thread Stephen Colebourne
OK, I can see the version is added at packaging time. And I think I see why, but still pondering it. Just to note that my experiments of the last 2 hours suggest that "java -listmods" does not show user modules in its output, only JDK modules: java -mp jmods -listmods where "jmods" is a subdirec

Re: Compilation feedback and version question

2015-10-28 Thread Alan Bateman
On 28/10/2015 20:50, Stephen Colebourne wrote: : Just to note that my experiments of the last 2 hours suggest that "java -listmods" does not show user modules in its output, only JDK modules: java -mp jmods -listmods -listmods will list the names of the modules in the application's module gr

Re: Compilation feedback and version question

2015-10-28 Thread Jonathan Gibbons
On 10/28/2015 01:50 PM, Stephen Colebourne wrote: Finally, I had my module-info.java in the wrong folder initially (at the org.joda.convert package level, rather than the root). However, it got picked up and compiled into the root of the output classes folder. I guess this is expected, but I fo

Re: Compilation feedback and version question

2015-10-28 Thread Alex Buckley
On 10/28/2015 11:57 AM, Stephen Colebourne wrote: When running "java -listmods" I get outpuy including this: java.base@9.0 java.compact1@9.0 java.compact2@9.0 java.compact3@9.0 java.compiler@9.0 java.corba@9.0 But when I look at the JDK source module-info.java file: http://hg.openjdk.java.net/j

Compilation feedback and version question

2015-10-28 Thread Stephen Colebourne
I can confirm that the current EA build 1.9.0-ea-jigsaw-nightly-h3660-20151022-b86 allowed a successful build using maven (with tests) of the OpenGamma test case, which is a step forward from when I last tried it. When running "java -listmods" I get outpuy including this: java.base@9.0 java.compa