|
12 | 12 | Assumes these targets exist: |
13 | 13 | stable |
14 | 14 | development |
| 15 | + jar |
15 | 16 |
|
16 | 17 | --> |
17 | 18 | <!-- <taskdef name="javamake" classname="com.sun.tools.javamake.ant.JavaMake"/> --> |
@@ -103,24 +104,21 @@ target="jsr14" |
103 | 104 | <!-- Commit source to CVS archive |
104 | 105 | Before doing do, we update our copy with the CVS copy. This ensures that |
105 | 106 | if there were any clashes, we have to resolve them now. Then we |
106 | | - recompile (from scratch) and retest. If this all succeeds, we can commit. |
| 107 | + recompile (from scratch), create a jar file, and retest. If this all succeeds, we can commit. |
107 | 108 |
|
108 | 109 | After committing, we tag the build we just made with the tag |
109 | 110 | projectname-date-time. |
110 | 111 | --> |
111 | | -<target name="do-commit" depends="clean, update, test, make-version-stamp"> |
| 112 | +<target name="do-commit" depends="clean, update, jar, test, make-version-stamp"> |
112 | 113 | <property name="version-tag" |
113 | 114 | value="${ant.project.name}-${DSTAMP}-${TSTAMP}" /> |
114 | 115 |
|
115 | 116 | <!-- recompile to make new version number get into code. --> |
116 | 117 | <echo message="All tests passed. Rebuilding to put version tag (${version-tag}) into the code." /> |
117 | 118 | <antcall target="compile" /> |
118 | 119 |
|
119 | | - <!-- Copy the dynamicjava.jar to the lib directory and commit it. --> |
120 | | - <copy file="${jarfile}" |
121 | | - tofile="${lib_dir}/dynamicjava.jar" |
122 | | - overwrite="yes"/> |
123 | | - <echo message="Copied current dynamicjava.jar to the lib directory. Please commit it to keep DrJava in sync with the koala code base." /> |
| 120 | + <!-- Remind user to commit the new dynamicjar.jar file. --> |
| 121 | + <echo message="The built dynamicjava.jar file has been copied to the lib directory. Please commit it to keep DrJava in sync with the koala code base." /> |
124 | 122 |
|
125 | 123 | <tempfile property="commit-comments-filename" |
126 | 124 | destdir="${java.io.tmpdir}" |
@@ -223,7 +221,7 @@ target="jsr14" |
223 | 221 | bootclasspath="${jsr14_classpath}:${jsr14_collect_classpath}:${sun.boot.class.path}" |
224 | 222 | classpath="${classpath_text}" |
225 | 223 | source="1.5" |
226 | | - target="jsr14" |
| 224 | + target="1.5" |
227 | 225 | debug="on" |
228 | 226 | fork="on" |
229 | 227 | optimize="off"> |
|
0 commit comments