Emmanuel Bourg pushed to branch master at Debian Java Maintainers / 
eclipse-debian-helper


Commits:
e8151950 by Emmanuel Bourg at 2026-09-28T15:08:51+02:00
Exclude the C/C++ sources and the native build scripts from the jars

The resources of a bundle are everything in its source folders that isn't
a Java source, which also picks up the native sources of the bundles that
have one, and the makefiles and shell scripts driving their compilation.
None of them belong in the jar.

- - - - -


2 changed files:

- debian/changelog
- src/ant/build-eclipse-bundle.xml


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+eclipse-debian-helper (1.12) unstable; urgency=medium
+
+  * Exclude the C/C++ sources and the native build scripts from the jars
+
+ -- Emmanuel Bourg <[email protected]>  Mon, 28 Sep 2026 14:50:29 +0200
+
 eclipse-debian-helper (1.11) unstable; urgency=medium
 
   * Support passing extra compiler arguments


=====================================
src/ant/build-eclipse-bundle.xml
=====================================
@@ -75,7 +75,7 @@
 
           <!-- Copy the resources to target/classes -->
           <copy todir="${bundle.dir.@{name}}/target/classes" quiet="true">
-            <multirootfileset basedirs="${sourcedirs.@{name}}" 
excludes="**/*.java,**/package.html"/>
+            <multirootfileset basedirs="${sourcedirs.@{name}}" 
excludes="**/*.java,**/*.c,**/*.cpp,**/*.h,**/*.mak,**/*.sh,**/package.html"/>
             <fileset dir="${bundle.dir.@{name}}" 
includes="${@{name}.bin.includes}"/>
           </copy>
 



View it on GitLab: 
https://salsa.debian.org/java-team/eclipse-debian-helper/-/commit/e8151950e95f1f921be528556287608fc4eb11ce

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/eclipse-debian-helper/-/commit/e8151950e95f1f921be528556287608fc4eb11ce
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to