Re: module naming syntax

2019-05-14 Thread Jaikiran Pai
On 14/05/19 12:31 PM, Stefan Bodewig wrote: > On 2019-05-14, Glenn Burkhardt wrote: > >> > module="com.sun.tools.xjc/com.sun.tools.xjc.XJCFacade"> >> >> >> >> >> Running 'ant' in verbose mode, it shows that the argument "-m >> com.sun.tools.x

Re: module naming syntax

2019-05-14 Thread Glenn Burkhardt
On 5/14/2019 3:01 AM, Stefan Bodewig wrote: On 2019-05-14, Glenn Burkhardt wrote: Running 'ant' in verbose mode, it shows that the argument "-m com.sun.tools.xjc\com.sun.tools.xjc.XJCFacade" is passed to the Java program. I think wha

Re: module naming syntax

2019-05-14 Thread Glenn Burkhardt
The question is about the module attribute (which gets translated into a "-m" argument for 'java'), not the modulepath. [java] Executing 'C:\Program Files\AdoptOpenJDK\jdk-11.0.3.7-openj9\bin\java.exe' with arguments: [java] '--module-path' [java] 'C:\Users\glenn\Documents\utc\j

Re: module naming syntax

2019-05-14 Thread Glenn Burkhardt
Windows 10, Ant 1.10.6 On 5/14/2019 1:27 AM, Jaikiran Pai wrote: Hello Glenn, I don't expect the module name's front slash to be replaced with a file separator. I haven't checked the code yet. I'll take a look later today. What operating system are you on and which exact version of Ant are you

Re: module naming syntax

2019-05-14 Thread Stefan Bodewig
On 2019-05-14, Glenn Burkhardt wrote: >module="com.sun.tools.xjc/com.sun.tools.xjc.XJCFacade"> > > > > > Running 'ant' in verbose mode, it shows that the argument "-m > com.sun.tools.xjc\com.sun.tools.xjc.XJCFacade" is passed to the Java >

Re: module naming syntax

2019-05-13 Thread Stefan Bodewig
On 2019-05-14, Stefan Bodewig wrote: > On 2019-05-14, Jaikiran Pai wrote: >> On 14/05/19 11:48 AM, Stefan Bodewig wrote: >>> On 2019-05-14, Jaikiran Pai wrote: I don't expect the module name's front slash to be replaced with a file separator. >>> Ant does, I'm pretty sure. >>> The typ

Re: module naming syntax

2019-05-13 Thread Stefan Bodewig
On 2019-05-14, Jaikiran Pai wrote: > On 14/05/19 11:48 AM, Stefan Bodewig wrote: >> On 2019-05-14, Jaikiran Pai wrote: >>> I don't expect the module name's front slash to be replaced with a file >>> separator. >> Ant does, I'm pretty sure. >> The type of 's modulepath is an Ant Path and as such

Re: module naming syntax

2019-05-13 Thread Jaikiran Pai
On 14/05/19 11:48 AM, Stefan Bodewig wrote: > On 2019-05-14, Jaikiran Pai wrote: > >> I don't expect the module name's front slash to be replaced with a file >> separator. > Ant does, I'm pretty sure. > > The type of 's modulepath is an Ant Path and as such each entry is > treated as a file name

Re: module naming syntax

2019-05-13 Thread Stefan Bodewig
On 2019-05-14, Jaikiran Pai wrote: > I don't expect the module name's front slash to be replaced with a file > separator. Ant does, I'm pretty sure. The type of 's modulepath is an Ant Path and as such each entry is treated as a file name and the usual file separator suspects are mapped to their

Re: module naming syntax

2019-05-13 Thread Jaikiran Pai
Hello Glenn, I don't expect the module name's front slash to be replaced with a file separator. I haven't checked the code yet. I'll take a look later today. What operating system are you on and which exact version of Ant are you using? -Jaikiran On 14/05/19 6:07 AM, Glenn Burkhardt wrote: > I'm

module naming syntax

2019-05-13 Thread Glenn Burkhardt
I'm puzzled about which utility should be more flexible about the module naming convention.  With Java 11 from OpenJDK, I notice that     java --module-path=jaxb-ri/mod -m com.sun.tools.xjc/com.sun.tools.xjc.XJCFacade -d out -p generated Schema_Specification.xsd works as desired, but     ja