[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

sources jars for gwt projects (e.g. gerrit)



Hi,

gwt (google web toolkit) needs the sources jar of all external jar files it 
should compile to javascript. Currently there's not a single package shipping 
sources jars and the Maven Source Plugin isn't even packaged.

So I need to add an ITP for the Source Plugin to the already impressive 
dependency list of Gerrits ITP[1] and I need to patch the following packages 
to also produce  sources jars:

- jgit
- gwtorm (still ITP)
- gwtjsonrpc (still ITP)
- gwtexpui (still ITP)
- geronimo-validation-1.0-spec

Maven-Debian-Helper (or Repo-Helper?) needs to be patched not to exclude the 
sources plugin by default and I think the dependency mangling also doesn't 
work with the sources classifier.

Now there're policy questions:

Should there be separate binary packages for the sources jar? (I think so.)
Should there be a standard place to put the sources jars?
 ( e.g. /usr/share/java-sources )
Is there any preference from the eclipse packagers how to handle sources jars?
Should the java policy recommend to also package sources jars?
Should there be a naming scheme for sources jars packages? Should there be one 
binary sources package for every Debian source package or should there be a 
match to have one binary sources package for every Debian binary jar package?

[1] http://bugs.debian.org/589436

Best regards,

Thomas Koch, http://www.koch.ro


Reply to: