[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569270#action_12569270
 ] 

Shiva Kumar H R commented on GERONIMODEVTOOLS-279:
--------------------------------------------------

Thanks YunFeng for the testcase.

One observation:
1) When I extracted JAXBtest.zip to "E:\xjc test" (note space in folder name) 
and ran "mvn compile", it failed throwing following errors:

[INFO] Compiling file:/E:/xjc%20test/src/main/resources/geronimo-module-1.2.xsd
[ERROR] [ERROR] "file:/E:/xjc test/src/main/resources/geronimo-module-1.2.xsd" i
s not a part of this compilation. Is this a mistake for "file:/E:/xjc test/src/m
ain/resources/geronimo-module-1.2.xjb"?
[ERROR]   line 5 of file:/E:/xjc%20test/src/main/resources/geronimo-module-1.2.x
jb
[ERROR]
[ERROR] [ERROR] Property "Name" is already defined.
[ERROR]   line 682 of file:/E:/xjc%20test/src/main/resources/geronimo-module-1.2
.xsd
[ERROR]
[ERROR] [ERROR] The following location is relevant to the above error
[ERROR]   line 661 of file:/E:/xjc%20test/src/main/resources/geronimo-module-1.2
.xsd
[ERROR]
[INFO] failure in the XJC task. Use the Ant -verbose switch for more details

2) When I later renamed folder to "xjc-test" (note space is removed), and ran 
"mvn compile", it was successful.

So make sure there are no spaces in the path.

> Figure out how to compile Geronimo schemas using JAXB
> -----------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-279
>                 URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-279
>             Project: Geronimo-Devtools
>          Issue Type: Sub-task
>          Components: eclipse-plugin
>    Affects Versions: 2.1.0
>            Reporter: Shiva Kumar H R
>            Assignee: Shiva Kumar H R
>             Fix For: 2.1.0
>
>         Attachments: geronimo-module-1.2.xjb, JAXBtest.zip
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to