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

Re: RFS: jenkins-token-macro-plugin



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 13/02/12 21:01, Jakub Adam wrote:
> Still what bothers me a bit is the fact that created *.hpi files
> have libraries they depend on bundled inside /WEB-INF/lib/
> directories, so
> 
> a) the plugin archives are unnecessary huge b) we are duplicating
> libraries in the system c) whenever a library is updated, we have
> to rebuild and reupload the affected Jenkins plugin to let it use
> this new version (probably the biggest drawback I see)
> 
> Have you already investigated a possibility if the plugins can
> reference jars installed for example in /usr/share/java?

I have not investigated how this might be done although I suspect
something could be done using classpath entries in jar's themselves;
Jenkins itself suffers from the same issue in that its packaged as a
war file which bundles all of its dependencies.

> For now, as a first step, it's fine to have the libs bundled, but
> maybe in a longer term something should be done with it.

I agree; I'm hoping that some of the Jenkins devs (maybe Kohsuke) may
attend UDS in May so it might be something we can investigate in
collaboration with upstream (I'd not particularly want to try and
change the way this works without them).

Cheers

James
- -- 
James Page
Ubuntu Core Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJPOivyAAoJEL/srsug59jDnyoP/33BOqbshGYgxfzpvBuLc307
hKEn12BBoPP/W4fwjvCzAvGZeuXYOI4v6KydaV6YWqZo8M3JhoaWQH3/Sv0N1MEQ
puLp+yr9DZ0iZ2V24ukO5DrDwpvIVP1QyqEzD8yoKs4Zu5cvCkTHKDoLZMXtcqwZ
qUQ+vxROdFLJKxXclUC0tCNR3RgWb24CE2Opnwh2ClZhTRkbMFqx4liYdqsJ3REe
javgjYH+srrT4cm4sv6n2mlgK1F/q5vM3y79bKokHZBq8vmajG9gD/RNUhgPiAS2
DX88FcA5aXUkvLMtpyz+0Xk2kTIkuuPQgvNJtWqBiQjlGqGk21x9a5Taid1SWeE6
+WbYJxUGykuZ1wjfCsuZ+Pm6LY6LFtMLD4nvEL22plvTdz/OlH2NTT/pngBr1E/P
5iJf+vZbsZ860nbicDwn0AmfadnGyOdpzOjtH6hpVIfSqTAXRBTfDGTsWRd7YvzG
kcVjm10uxoirr/6AKLFNCxWIsbHJ4yA33rMzuI2UuotNZK8PXwBqYeUU+9uaQXjc
mshRk3pgZ7IIP4dhKOdjF89XW4HNNgyLIrAvG+WkTsDQ31AtrYs3ltS7+Ug9hM/s
/Pj36P2q8mwgT4jj7ux12wstEppH8FuaAs2DRqcNUFTkucU3gtwGHnSGFmH1dwQS
sjsBzDBeqJTIgGE8pSMZ
=zz5g
-----END PGP SIGNATURE-----


Reply to: