public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] Running java-pkg_ensure-no-bundled-jars automatically with JAVA_PKG_STRICT
@ 2007-01-02 16:13 Petteri Räty
  2007-01-03  1:53 ` Joshua Nichols
  0 siblings, 1 reply; 4+ messages in thread
From: Petteri Räty @ 2007-01-02 16:13 UTC (permalink / raw
  To: gentoo-java


[-- Attachment #1.1: Type: text/plain, Size: 165 bytes --]

Any objections to the attached patch? It will probably find some false
positives but in those cases one can just use JAVA_PKG_STRICT= emerge.

Regards,
Petteri

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: no-bundled-jars.patch --]
[-- Type: text/x-patch; name="no-bundled-jars.patch", Size: 450 bytes --]

Index: java-pkg-2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v
retrieving revision 1.8
diff -u -r1.8 java-pkg-2.eclass
--- java-pkg-2.eclass	18 Dec 2006 10:18:56 -0000	1.8
+++ java-pkg-2.eclass	2 Jan 2007 16:11:41 -0000
@@ -84,6 +84,7 @@
 }
 
 pre_src_compile() {
+	is-java-strict && java-pkg_ensure-no-bundled-jars
 	java-pkg-2_pkg_setup
 }
 

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-09 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-02 16:13 [gentoo-java] Running java-pkg_ensure-no-bundled-jars automatically with JAVA_PKG_STRICT Petteri Räty
2007-01-03  1:53 ` Joshua Nichols
2007-01-06 13:09   ` Petteri Räty
2007-01-09 16:13     ` Petteri Räty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox