Use Serializable representation of system supplied motors in jar file.

this greatly improves startup performance.
This commit is contained in:
kruland2607 2012-10-28 11:26:40 -05:00
parent 7f6c542e5d
commit bd66cc9338
1562 changed files with 146 additions and 222 deletions

View File

@ -68,7 +68,7 @@
</target>
<!-- Executible Eclipse-Jar-In-Jar style JAR -->
<target name="jar" depends="core-jar,serialize-presets" description="Create the OpenRocket jar-in-jar Executable">
<target name="jar" depends="core-jar,serialize-presets,serialize-motors" description="Create the OpenRocket jar-in-jar Executable">
<mkdir dir="${jar.dir}" />
<jar destfile="${jar.file}">
<manifest>
@ -111,7 +111,14 @@
failonerror="true">
</java>
</target>
<!-- Core OpenRocket JAR -->
<target name="serialize-motors" depends="core-jar" description="Preprocess the motor files into serialized form">
<java classname="net.sf.openrocket.startup.SerializeMotors"
fork="true"
classpathref="run-classpath"
failonerror="true">
</java>
</target>
<!-- Core OpenRocket JAR -->
<target name="core-jar" depends="build" description="Create the OpenRocket code-only jar file">
<jar destfile="${build.dir}/${ant.project.name}-Core.jar" basedir="${dist.dir}">
<manifest>

Some files were not shown because too many files have changed in this diff Show More