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

Comments

Projects
None yet
1 participant
@glassfishrobot
Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor Author

glassfishrobot commented Feb 9, 2009

Reported by normann1974

@glassfishrobot

This comment has been minimized.

Copy link
Contributor Author

glassfishrobot commented Feb 9, 2009

Was assigned to yaroska

@glassfishrobot

This comment has been minimized.

Copy link
Contributor Author

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

This comment has been minimized.

Copy link
Contributor Author

glassfishrobot commented Mar 18, 2014

ciscox83 said:
Quoting fowlie.

@glassfishrobot

This comment has been minimized.

Copy link
Contributor Author

glassfishrobot commented Oct 15, 2014

yaroska said:
Fixed in JAXB 2.2.11

@glassfishrobot

This comment has been minimized.

Copy link
Contributor Author

glassfishrobot commented Oct 15, 2014

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

@glassfishrobot

This comment has been minimized.

Copy link
Contributor Author

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.
You can’t perform that action at this time.