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> | ||||
| 	 | ||||
| 	<!-- 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
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user