cleanup (commented build options; formatting)

This commit is contained in:
Roman Shevchenko 2014-06-30 11:49:42 +02:00
parent 3bdda752cb
commit 84d16304db

View File

@ -2,13 +2,10 @@
<project name="Fernflower" default="buildAll" basedir="."> <project name="Fernflower" default="buildAll" basedir=".">
<taskdef resource="proguard/ant/task.properties" <taskdef resource="proguard/ant/task.properties" classpath="${basedir}/lib/proguard_4_11.jar" />
classpath="${basedir}/lib/proguard_4_11.jar" />
<taskdef name="javancss" <taskdef name="javancss" classname="javancss.JavancssAntTask">
classname="javancss.JavancssAntTask">
<classpath> <classpath>
<pathelement path="${classpath}"/>
<pathelement location="${basedir}/lib/ncss/javancss.jar"/> <pathelement location="${basedir}/lib/ncss/javancss.jar"/>
<pathelement location="${basedir}/lib/ncss/javacc.jar"/> <pathelement location="${basedir}/lib/ncss/javacc.jar"/>
<pathelement location="${basedir}/lib/ncss/ccl.jar"/> <pathelement location="${basedir}/lib/ncss/ccl.jar"/>
@ -59,8 +56,6 @@
-forceprocessing -forceprocessing
-repackageclasses d.ff -repackageclasses d.ff
<!-- -allowaccessmodification -->
-optimizationpasses 5 -optimizationpasses 5
-keep public class de.fernflower.main.decompiler.ConsoleDecompiler { -keep public class de.fernflower.main.decompiler.ConsoleDecompiler {
@ -74,12 +69,6 @@
-keep public class de.fernflower.main.extern.* { -keep public class de.fernflower.main.extern.* {
public protected *; public protected *;
} }
<!--
-keep public class de.fernflower.code.instructions.* {
public protected *;
}
-->
</proguard> </proguard>
</target> </target>
@ -108,7 +97,6 @@
<target name="printunused" depends="init" description="Print unused code"> <target name="printunused" depends="init" description="Print unused code">
<proguard> <proguard>
-injars ${fulldist}/${jar.file} -injars ${fulldist}/${jar.file}
-libraryjars ${java.home}/lib/rt.jar -libraryjars ${java.home}/lib/rt.jar
@ -117,12 +105,6 @@
-dontpreverify -dontpreverify
-printusage -printusage
<!--
-whyareyoukeeping public class de.fernflower.code.instructions.ALOAD {
public *;
}
-->
-keep public class de.fernflower.main.decompiler.ConsoleDecompiler { -keep public class de.fernflower.main.decompiler.ConsoleDecompiler {
public protected *; public protected *;
} }
@ -134,11 +116,6 @@
-keep public class de.fernflower.main.extern.* { -keep public class de.fernflower.main.extern.* {
public protected *; public protected *;
} }
<!--
-keep public class de.fernflower.code.instructions.*
-->
</proguard> </proguard>
</target> </target>