Skip to content
This repository has been archived by the owner. It is now read-only.

Sorting of methods in generated ObjectFactory classes #598

Closed
glassfishrobot opened this issue Feb 9, 2009 · 7 comments
Closed

Sorting of methods in generated ObjectFactory classes #598

glassfishrobot opened this issue Feb 9, 2009 · 7 comments

Comments

@glassfishrobot
Copy link
Contributor

@glassfishrobot glassfishrobot commented Feb 9, 2009

When JAXB generated classes are under version control, it's more or less
impossible to see if a regeneration of the JAXB classes has introduced any
changes in the ObjectFactory class because the methods in this class are added
by XJC in random-like order and this leaves the file almost completely modified
according to the version control system. It would be nice if two invocations of
XJC would add the methods in the same order, e.g. by sorting them alphabetically.

Environment

Operating System: All
Platform: All

Affected Versions

[2.1.9]

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot glassfishrobot commented Feb 9, 2009

Reported by normann1974

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot glassfishrobot commented Feb 9, 2009

Was assigned to yaroska

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot glassfishrobot commented Mar 18, 2014

fowlie said:
This issue seems quite old, yet no fix for it. How about prioritizing it?

Me and my team would love to have this fixed! Our deployment tool detects changes with checksums, and to avoid having stub classes in source control, we generate them on the fly, thus everything gets deployed all the time, it's very annoying and time consuming.

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot glassfishrobot commented Mar 18, 2014

ciscox83 said:
Quoting fowlie.

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot glassfishrobot commented Oct 15, 2014

yaroska said:
Fixed in JAXB 2.2.11

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot glassfishrobot commented Oct 15, 2014

Marked as fixed on Wednesday, October 15th 2014, 2:34:18 am

@glassfishrobot
Copy link
Contributor Author

@glassfishrobot glassfishrobot commented Apr 24, 2017

This issue was imported from java.net JIRA JAXB-598

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant