Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong default value for "target" parameter for xjc ant task #940

Closed
Tomas-Kraus opened this issue Jan 15, 2013 · 7 comments
Closed

wrong default value for "target" parameter for xjc ant task #940

Tomas-Kraus opened this issue Jan 15, 2013 · 7 comments

Comments

@Tomas-Kraus
Copy link
Member

The description of the xjc ant task is not up-to-date.
In section 2.2 (http://jaxb.java.net/2.2.6/docs/ch04.html#section-356252324237826) the "target" parameter attribute is described as "defaults to "2.1". This should be 2.2.

The xjc compiler behaves differently when you leave out this parameter (as it is not required) compared to setting the parameter to "2.1". (I also checked the code, the default is "2.2" for the version included in JDK 7.

The same - probably - holds true for the "source" parameter. (Didn't check that one.)

Affected Versions

[2.2.6]

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
Reported by ralfxwagner

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
Was assigned to yaroska

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
yaroska said:
Thank you for reporting.

  • target default value and description updated.
  • source option removed.

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
yaroska said:
Documentation updated.

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
Marked as fixed on Tuesday, January 15th 2013, 8:10:07 am

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAXB-940

@Tomas-Kraus
Copy link
Member Author

@Tomas-Kraus Tomas-Kraus added this to the 2.2.7 milestone Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants