N◎VAプラグインのビルドを追加
@@ -1,9 +1,11 @@ | ||
1 | 1 | <project name="chaplet" default="buildall" basedir="."> |
2 | - <property name="build.version" value="0.2"/> | |
2 | + <property name="build.version" value="0.3"/> | |
3 | 3 | <property name="build.src.core" value="src/core"/> |
4 | 4 | <property name="build.bin.core" value="bin/core"/> |
5 | 5 | <property name="build.src.dx" value="src/dx"/> |
6 | 6 | <property name="build.bin.dx" value="bin/dx"/> |
7 | + <property name="build.src.nova" value="src/nova"/> | |
8 | + <property name="build.bin.nova" value="bin/nova"/> | |
7 | 9 | <property name="build.lib.java" value="lib/java"/> |
8 | 10 | <property name="build.lib.test" value="lib/test"/> |
9 | 11 | <property name="build.resource" value="resource"/> |
@@ -21,7 +23,7 @@ | ||
21 | 23 | <target name="buildall" depends="build"> |
22 | 24 | </target> |
23 | 25 | |
24 | - <target name="makejar" depends="makejar.bootstrap,makejar.core,makejar.dx" | |
26 | + <target name="makejar" depends="makejar.bootstrap,makejar.core,makejar.dx,makejar.nova" | |
25 | 27 | description="jarファイルを作成する"> |
26 | 28 | </target> |
27 | 29 |
@@ -54,9 +56,21 @@ | ||
54 | 56 | </jar> |
55 | 57 | </target> |
56 | 58 | |
59 | + <target name="makejar.nova"> | |
60 | + <delete file="${build.dest}/chaplet/lib/chaplet-nova.jar"/> | |
61 | + <jar destfile="${build.dest}/chaplet/lib/chaplet-nova.jar" | |
62 | + manifest="manifest/manifest-nova.mf"> | |
63 | + <fileset dir="${build.bin.nova}"> | |
64 | + <include name="**/*.class"/> | |
65 | + <include name="**/resources/**/*"/> | |
66 | + <exclude name="**/*Test.class"/> | |
67 | + </fileset> | |
68 | + </jar> | |
69 | + </target> | |
70 | + | |
57 | 71 | <target name="makejar.bootstrap"> |
58 | 72 | <delete file="${build.dest}/chaplet.jar"/> |
59 | - <jar destfile="${build.dest}/chaplet.jar" manifest="manifest/manifest-core.mf"> | |
73 | + <jar destfile="${build.dest}/chaplet/chaplet.jar" manifest="manifest/manifest-core.mf"> | |
60 | 74 | <fileset dir="${build.bin.core}"> |
61 | 75 | <include name="jp/sf/chaplet/bootstrap/*.class"/> |
62 | 76 | <exclude name="**/*Test.class"/> |
@@ -82,7 +96,7 @@ | ||
82 | 96 | </copy> |
83 | 97 | <delete file="${build.dest}/chaplet/chaplet.exe" failonerror="false"></delete> |
84 | 98 | <exec executable="${exewrap.path}" dir="${build.dest}/chaplet"> |
85 | - <arg line="-g -v ${build.version} -o chaplet.exe ../chaplet.jar"/> | |
99 | + <arg line="-g -v ${build.version} -o chaplet.exe chaplet.jar"/> | |
86 | 100 | </exec> |
87 | 101 | <zip destfile="${release.zip}"> |
88 | 102 | <fileset dir="${build.dest}/chaplet"> |