Hello,
I am currently trying to cleanup the GlassFish JAXB package and I found something that would like to discuss with you. The build process of this package ends by adding to the jaxb-xjc.jar file the contents of other jar files like codemodel.jar, istack-commons-tools.jar, etc. In Fedora those jars are in other packages. I think that this is not correct: whoever wants to use jaxb-xjc.jar should instead add to the classpath the other .jar files. What do you think?
Regards, Juan Hernandez
On 02/18/2012 01:02 PM, Juan Hernandez wrote:
Hello,
I am currently trying to cleanup the GlassFish JAXB package and I found something that would like to discuss with you. The build process of this package ends by adding to the jaxb-xjc.jar file the contents of other jar files like codemodel.jar, istack-commons-tools.jar, etc. In Fedora those jars are in other packages. I think that this is not correct: whoever wants to use jaxb-xjc.jar should instead add to the classpath the other .jar files. What do you think?
Correct. They should not be added to the jaxb-xjc.jar.
Quoting Orion Poplawski (2012-02-19 00:46:20)
On 02/18/2012 01:02 PM, Juan Hernandez wrote:
Hello,
I am currently trying to cleanup the GlassFish JAXB package and I found something that would like to discuss with you. The build process of this package ends by adding to the jaxb-xjc.jar file the contents of other jar files like codemodel.jar, istack-commons-tools.jar, etc. In Fedora those jars are in other packages. I think that this is not correct: whoever wants to use jaxb-xjc.jar should instead add to the classpath the other .jar files. What do you think?
Correct. They should not be added to the jaxb-xjc.jar.
However these dependencies should be added in the installed pom file(s) so that they are added to classpath automatically during maven builds of other packages.
java-devel@lists.fedoraproject.org