Use Serializable representation of system supplied motors in jar file.
this greatly improves startup performance.
This commit is contained in:
parent
7f6c542e5d
commit
bd66cc9338
@ -68,7 +68,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Executible Eclipse-Jar-In-Jar style JAR -->
|
<!-- 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}" />
|
<mkdir dir="${jar.dir}" />
|
||||||
<jar destfile="${jar.file}">
|
<jar destfile="${jar.file}">
|
||||||
<manifest>
|
<manifest>
|
||||||
@ -110,6 +110,13 @@
|
|||||||
classpathref="run-classpath"
|
classpathref="run-classpath"
|
||||||
failonerror="true">
|
failonerror="true">
|
||||||
</java>
|
</java>
|
||||||
|
</target>
|
||||||
|
<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>
|
</target>
|
||||||
<!-- Core OpenRocket JAR -->
|
<!-- Core OpenRocket JAR -->
|
||||||
<target name="core-jar" depends="build" description="Create the OpenRocket code-only jar file">
|
<target name="core-jar" depends="build" description="Create the OpenRocket code-only jar file">
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user