8 | | * [source:trunk/ant/build.xml build.xml] - Common build functions, including project building (building the entire project in your working directory, not creating jars) are loacted in this file. This file is also used by other build files to avoid duplication. |
| 8 | == Important Files == |
| 9 | |
| 10 | === [source:trunk/ant/build.xml build.xml] === |
| 11 | Common build functions, including project building (building the entire project in your working directory, not creating jars) are loacted in this file. This file is also used by other build files to avoid duplication. |
| 12 | === [source:trunk/ant/CompleteJar.xml CompleteJar.xml] === |
| 13 | Creates single jar distributions. For a complete distribution (including data files), use the "jar.full.dist" target. To simple create a jar with all Java classes, use the "jar.classes.only" target |
| 14 | === [source:trunk/ant/AppBuilder.xml AppBuilder.xml] === |
| 15 | This is the core app building file. This will build a jar for a single application. It should not be run directly, however. It should be run by a separate build file, with the following properties set: |
| 16 | * app.short.name - '''(required)''' The "short" name for the application (should not contain spaces/special characters). |
| 17 | * ''example:'' !HazardCurveLocal |
| 18 | * app.main.class - '''(required)''' The Java main class for the application. |
| 19 | * ''example:'' org.opensha.sha.gui.!HazardCurveLocalModeApplication |
| 20 | * javac.includes - '''''(recommended)''''' The javac includes for the application. Multiple patterns/files can be comma separated. If omitted, all .java files will be compiled. See "includes" for the [http://ant.apache.org/manual/Tasks/javac.html Javac Ant Task] for more information. |
| 21 | * ''example:'' org/opensha/sha/gui/!HazardCurveLocalModeApplication.java |
| 22 | * ''example:'' org/opensha/sha/gui/!HazardCurveLocalModeApplication.java,org/opensha/imr/!**/*.java |
| 23 | * javac.excludes - ''(optional)'' The javac excludes for the application. Multiple patterns/files can be comma separated. See "excludes" for the [http://ant.apache.org/manual/Tasks/javac.html Javac Ant Task] for more information. |
| 24 | * ''example:'' org/opensha/sra/**' |
| 25 | * resource.target - '''''(recommended)''''' The target from [source:trunk/ant/build.xml build.xml] that should be executed to copy resources for this application. |
| 26 | * ''example:'' resource.hazard.apps |
| 27 | * ''example:'' resource.hazard.apps.server |
| 28 | * ''example:'' resource.misc.required |
| 29 | * rmi.target - ''(optional)'' The target from [source:trunk/ant/build.xml build.xml] that should be executed to compile RMI classes. Only required for RMI (remote) applications. |
| 30 | * ''example:'' rmi.hazard.curve |