Description: in Debian we don't want to embed the dependencies in a fat jar,
 instead we rely on the classpath mechanism to load them at runtime. In this
 patch we remove the dependencies that are gathered when building the jars.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2022-10-28

--- a/beastfx/build.xml
+++ b/beastfx/build.xml
@@ -144,9 +144,10 @@
 				<include name="**/*.png" />
 				<include name="**/*.css" />
 				<include name="**/*.fxml" />
+                <exclude name="test/**" />
 			</fileset>
-			<zipgroupfileset dir="${libFX}" includes="jam.jar"/>
-			<zipgroupfileset dir="${libFX}" includes="FXSkins-1.0.0.jar"/>
+			<!--<zipgroupfileset dir="${libFX}" includes="jam.jar"/>
+			<zipgroupfileset dir="${libFX}" includes="FXSkins-1.0.0.jar"/>-->
 		</jar>
 	</target>
 
--- a/build.xml
+++ b/build.xml
@@ -157,10 +157,10 @@
                 <include name="beast/base/**/*.properties" />
                 <include name="beast/base/**/*.png" />
             </fileset>
-            <zipgroupfileset dir="${lib}" includes="beagle.jar" />
+            <!--<zipgroupfileset dir="${lib}" includes="beagle.jar" />
             <zipgroupfileset dir="${lib}" includes="colt.jar" />
             <zipgroupfileset dir="${lib}" includes="antlr-runtime-4.10.1.jar"/>
-	        <zipgroupfileset dir="${lib}" includes="commons-math3-3.6.1.jar" />
+	        <zipgroupfileset dir="${lib}" includes="commons-math3-3.6.1.jar" />-->
         </jar>
 
         <jar jarfile="${dist}/BEAST.base.src.jar">
