git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@48255 ebf7c1c2-ba36-0410-9fe8-c592906822b4

Former-commit-id: 64ed9a301727c809f81e7769cdeff69cf5d8d726
This commit is contained in:
jiaz 2023-09-04 15:06:43 +00:00
parent ef39e6e0f1
commit ed731d8734
2 changed files with 22 additions and 21 deletions

View File

@ -45,46 +45,46 @@
<!-- Compiles the code --> <!-- Compiles the code -->
<target name="compile" depends="clean"> <target name="compile" depends="clean">
<property name="jvm_target" value="1.6" />
<property name="jvm_source" value="1.6" />
<mkdir dir="${cls}" /> <mkdir dir="${cls}" />
<!-- Build dependencies --> <!-- Build dependencies -->
<javac srcdir="${dep.awu}/src" excludes="**/test/**" verbose="false" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="1.6" target="1.6" includeantruntime="false"> <javac srcdir="${dep.awu}/src" excludes="**/test/**" verbose="false" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="${jvm_source}" target="${jvm_target}" includeantruntime="false">
<classpath refid="classpath" /> <classpath refid="classpath" />
</javac> </javac>
<javac srcdir="${dep.myjd}/src" excludes="**/test/**" verbose="false" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="1.6" target="1.6" includeantruntime="false"> <javac srcdir="${dep.myjd}/src" excludes="**/test/**" verbose="false" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="${jvm_source}" target="${jvm_target}" includeantruntime="false">
<classpath refid="classpath" /> <classpath refid="classpath" />
</javac> </javac>
<javac srcdir="${dep.browser}/src" excludes="" debug="${debug}" verbose="false" destdir="${cls}" encoding="UTF-8" source="1.6" target="1.6" includeantruntime="false"> <javac srcdir="${dep.browser}/src" excludes="" debug="${debug}" verbose="false" destdir="${cls}" encoding="UTF-8" source="${jvm_source}" target="${jvm_target}" includeantruntime="false">
<classpath refid="classpath" /> <classpath refid="classpath" />
</javac> </javac>
<javac srcdir="${dep.updateclient}/src" excludes="" verbose="false" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="1.6" target="1.6" includeantruntime="false"> <javac srcdir="${dep.updateclient}/src" excludes="" verbose="false" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="${jvm_source}" target="${jvm_target}" includeantruntime="false">
<classpath refid="classpath" /> <classpath refid="classpath" />
</javac> </javac>
<javac srcdir="src" debug="${debug}" verbose="false" excludes="jd/utils/dev/*,org/jdownloader/extensions/langfileeditor/**/*,org/jdownloader/extensions/remoteserv/**/*" destdir="${cls}" encoding="UTF-8" source="1.6" target="1.6" includeantruntime="false"> <javac srcdir="src" debug="${debug}" verbose="false" excludes="jd/utils/dev/*,org/jdownloader/extensions/langfileeditor/**/*,org/jdownloader/extensions/remoteserv/**/*" destdir="${cls}" encoding="UTF-8" source="${jvm_source}" target="${jvm_target}" includeantruntime="false">
<classpath refid="classpath" /> <classpath refid="classpath" />
<compilerarg line="-proc:none" /> <compilerarg line="-proc:none" />
</javac> </javac>
<javac srcdir="${dep.jdupdateclient}/src" excludes="" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="1.6" target="1.6" includeantruntime="false"> <javac srcdir="${dep.jdupdateclient}/src" excludes="" debug="${debug}" destdir="${cls}" encoding="UTF-8" source="${jvm_source}" target="${jvm_target}" includeantruntime="false">
<classpath refid="classpath" /> <classpath refid="classpath" />
</javac> </javac>
<javac srcdir="${dep.jdc}/src" debug="${debug}" verbose="false" excludes="**/test/**" destdir="${cls}" encoding="UTF-8" source="1.6" target="1.6" includeantruntime="false"> <javac srcdir="${dep.jdc}/src" debug="${debug}" verbose="false" excludes="**/test/**" destdir="${cls}" encoding="UTF-8" source="${jvm_source}" target="${jvm_target}" includeantruntime="false">
<classpath refid="classpath" /> <classpath refid="classpath" />
</javac> </javac>
<echo message="Finished." /> <echo message="Finished." />
@ -110,13 +110,13 @@
</copy> </copy>
<copy todir="${dist}/libs"> <copy todir="${dist}/libs">
<fileset dir="${res}/libs" includes="**/*"> <fileset dir="${res}/libs" includes="**/*">
<exclude name="proxyVole.jar" /> <exclude name="proxyVole.jar" />
<exclude name="**/*.info" /> <exclude name="**/*.info" />
</fileset> </fileset>
</copy> </copy>
<copy todir="${dist}/libs"> <copy todir="${dist}/libs">
<fileset dir="${dep.awu}/libs" includes="**/*.jar"> <fileset dir="${dep.awu}/libs" includes="**/*.jar">
<exclude name="miglayout.jar" /> <exclude name="miglayout.jar" />
<exclude name="**/*.info" /> <exclude name="**/*.info" />
<exclude name="**/*jackson*" /> <exclude name="**/*jackson*" />
</fileset> </fileset>
@ -382,7 +382,7 @@
<!--<attribute name="Class-Path" value="" />--> <!--<attribute name="Class-Path" value="" />-->
</manifest> </manifest>
<jar duplicate="fail" file="${dist}/JDownloader.jar" manifest="${dist}/Manifest.MF"> <jar duplicate="fail" file="${dist}/JDownloader.jar" manifest="${dist}/Manifest.MF">
<zipfileset src="${dep.awu}/libs/miglayout.jar" excludes="META-INF/*" /> <zipfileset src="${dep.awu}/libs/miglayout.jar" excludes="META-INF/*" />
<zipfileset src="${res}/libs/proxyVole.jar" excludes="META-INF/*" /> <zipfileset src="${res}/libs/proxyVole.jar" excludes="META-INF/*" />
<zipfileset src="${dep.updateclient}/libs/xz.jar" excludes="META-INF/*" /> <zipfileset src="${dep.updateclient}/libs/xz.jar" excludes="META-INF/*" />

View File

@ -12,10 +12,6 @@
<property name="dist" value="${working}/dist" /> <property name="dist" value="${working}/dist" />
<property name="res" value="ressourcen" /> <property name="res" value="ressourcen" />
<property name="pluginres" value="${dist}/pluginressourcen" /> <property name="pluginres" value="${dist}/pluginressourcen" />
<property name="jvm_target" value="1.8" />
<property name="jvm_source" value="1.8" />
@ -38,6 +34,11 @@
<!-- Compiles the code --> <!-- Compiles the code -->
<target name="compile" depends="clean"> <target name="compile" depends="clean">
<property name="jvm_target" value="1.8" />
<property name="jvm_source" value="1.8" />
<mkdir dir="${cls}" /> <mkdir dir="${cls}" />
@ -87,19 +88,19 @@
<copy todir="${dist}/libs"> <copy todir="${dist}/libs">
<fileset dir="${res}/libs" includes="**/*"> <fileset dir="${res}/libs" includes="**/*">
<exclude name="proxyVole.jar" /> <exclude name="proxyVole.jar" />
<exclude name="**/*.info" /> <exclude name="**/*.info" />
</fileset> </fileset>
</copy> </copy>
<copy todir="${dist}/libs"> <copy todir="${dist}/libs">
<fileset dir="${dep.awu}/libs" includes="**/*.jar"> <fileset dir="${dep.awu}/libs" includes="**/*.jar">
<exclude name="miglayout.jar" /> <exclude name="miglayout.jar" />
<exclude name="**/*.info" /> <exclude name="**/*.info" />
</fileset> </fileset>
</copy> </copy>
<copy todir="${dist}/libs"> <copy todir="${dist}/libs">
<fileset dir="${dep.browser}/libs" includes="**/*.jar"> <fileset dir="${dep.browser}/libs" includes="**/*.jar">
<exclude name="**/*.info" /> <exclude name="**/*.info" />
</fileset> </fileset>
</copy> </copy>