forked from I2P_Developers/i2p.i2p
- Don't do 'mtn list changed' if not in a workspace or not needed
This commit is contained in:
@ -51,6 +51,8 @@
|
|||||||
<!-- unused for now, as we oddly ship addressbook as a .war -->
|
<!-- unused for now, as we oddly ship addressbook as a .war -->
|
||||||
<target name="jar" depends="compile, changes">
|
<target name="jar" depends="compile, changes">
|
||||||
<jar basedir="${build}" destfile="${dist}/${jar}">
|
<jar basedir="${build}" destfile="${dist}/${jar}">
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes" value="" />
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="addressbook.Daemon"/>
|
<attribute name="Main-Class" value="addressbook.Daemon"/>
|
||||||
<attribute name="Build-Date" value="${build.timestamp}" />
|
<attribute name="Build-Date" value="${build.timestamp}" />
|
||||||
@ -67,6 +69,8 @@
|
|||||||
<copy todir="${dist}/tmp/WEB-INF/classes">
|
<copy todir="${dist}/tmp/WEB-INF/classes">
|
||||||
<fileset dir="${build}"/>
|
<fileset dir="${build}"/>
|
||||||
</copy>
|
</copy>
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<war basedir="${dist}/tmp" webxml="web.xml" destfile="${dist}/${war}">
|
<war basedir="${dist}/tmp" webxml="web.xml" destfile="${dist}/${war}">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Build-Date" value="${build.timestamp}" />
|
<attribute name="Build-Date" value="${build.timestamp}" />
|
||||||
@ -81,9 +85,17 @@
|
|||||||
<uptodate property="war.uptodate" targetfile="${dist}/${war}">
|
<uptodate property="war.uptodate" targetfile="${dist}/${war}">
|
||||||
<srcfiles dir= "." includes="${build}/**/*.class, web.xml"/>
|
<srcfiles dir= "." includes="${build}/**/*.class, web.xml"/>
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="war.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="changes">
|
<target name="changes" depends="warUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile">
|
<target name="bundle" >
|
||||||
<exec executable="sh" osfamily="unix" failifexecutionfails="true" >
|
<exec executable="sh" osfamily="unix" failifexecutionfails="true" >
|
||||||
<arg value="./bundle-messages.sh" />
|
<arg value="./bundle-messages.sh" />
|
||||||
</exec>
|
</exec>
|
||||||
@ -49,6 +49,9 @@
|
|||||||
<exec executable="sh" osfamily="windows" failifexecutionfails="false" >
|
<exec executable="sh" osfamily="windows" failifexecutionfails="false" >
|
||||||
<arg value="./bundle-messages.sh" />
|
<arg value="./bundle-messages.sh" />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -60,6 +63,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile, bundle, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar basedir="${build}" destfile="${dist}/${jar}">
|
<jar basedir="${build}" destfile="${dist}/${jar}">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="net.i2p.desktopgui.Main"/>
|
<attribute name="Main-Class" value="net.i2p.desktopgui.Main"/>
|
||||||
@ -70,6 +78,20 @@
|
|||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="jarUpToDate">
|
||||||
|
<uptodate property="jar.uptodate" targetfile="${dist}/${jar}" >
|
||||||
|
<srcfiles dir= "." includes="build/**/*.class" />
|
||||||
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="javadoc">
|
<target name="javadoc">
|
||||||
<mkdir dir="${build}" />
|
<mkdir dir="${build}" />
|
||||||
<mkdir dir="${build}/${javadoc}" />
|
<mkdir dir="${build}/${javadoc}" />
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="builddep, compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -48,6 +48,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="builddep, compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./build/i2psnark.jar" basedir="./build/obj" includes="**/*.class" excludes="**/I2PSnarkServlet*.class **/messages_*.class">
|
<jar destfile="./build/i2psnark.jar" basedir="./build/obj" includes="**/*.class" excludes="**/I2PSnarkServlet*.class **/messages_*.class">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="org.klomp.snark.Snark" />
|
<attribute name="Main-Class" value="org.klomp.snark.Snark" />
|
||||||
@ -63,6 +68,17 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="build/i2psnark.jar" >
|
<uptodate property="jar.uptodate" targetfile="build/i2psnark.jar" >
|
||||||
<srcfiles dir= "build/obj" includes="**/*.class" excludes="**/I2PSnarkServlet*.class **/messages_*.class" />
|
<srcfiles dir= "build/obj" includes="**/*.class" excludes="**/I2PSnarkServlet*.class **/messages_*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<not>
|
||||||
|
<isset property="wjar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Ideally we would include
|
<!-- Ideally we would include
|
||||||
@ -72,7 +88,9 @@
|
|||||||
- So we must continue to duplicate everything in the war.
|
- So we must continue to duplicate everything in the war.
|
||||||
<classes dir="./build/obj" includes="**/I2PSnarkServlet*.class" />
|
<classes dir="./build/obj" includes="**/I2PSnarkServlet*.class" />
|
||||||
-->
|
-->
|
||||||
<target name="war" depends="jar, bundle, warUpToDate" unless="war.uptodate" >
|
<target name="war" depends="jar, bundle, warUpToDate, listChangedFiles" unless="war.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<war destfile="../i2psnark.war" webxml="../web.xml" basedir="../" includes="_icons/*" >
|
<war destfile="../i2psnark.war" webxml="../web.xml" basedir="../" includes="_icons/*" >
|
||||||
<!-- include only the web stuff, as of 0.7.12 the router will add i2psnark.jar to the classpath for the war -->
|
<!-- include only the web stuff, as of 0.7.12 the router will add i2psnark.jar to the classpath for the war -->
|
||||||
<classes dir="./build/obj" includes="**/web/*.class" />
|
<classes dir="./build/obj" includes="**/web/*.class" />
|
||||||
|
@ -34,10 +34,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- TODO: Move the web classes from the jar to the war - they are not part of the API
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
- This will require sponge to rewrite some seedless stuff that uses it.
|
|
||||||
-->
|
|
||||||
<target name="jar" depends="builddep, compile, jarUpToDate" unless="jar.uptodate" >
|
|
||||||
<exec executable="mtn" outputproperty="workspace.changes.j" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes.j" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -49,6 +46,15 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- TODO: Move the web classes from the jar to the war - they are not part of the API
|
||||||
|
- This will require sponge to rewrite some seedless stuff that uses it.
|
||||||
|
-->
|
||||||
|
<target name="jar" depends="builddep, compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.j.tr" value="" />
|
||||||
<jar destfile="./build/i2ptunnel.jar" basedir="./build/obj" includes="**/*.class">
|
<jar destfile="./build/i2ptunnel.jar" basedir="./build/obj" includes="**/*.class">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="net.i2p.i2ptunnel.I2PTunnel" />
|
<attribute name="Main-Class" value="net.i2p.i2ptunnel.I2PTunnel" />
|
||||||
@ -64,6 +70,14 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="build/i2ptunnel.jar" >
|
<uptodate property="jar.uptodate" targetfile="build/i2ptunnel.jar" >
|
||||||
<srcfiles dir= "build/obj" includes="**/*.class" />
|
<srcfiles dir= "build/obj" includes="**/*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="bundle" depends="compile, precompilejsp">
|
<target name="bundle" depends="compile, precompilejsp">
|
||||||
@ -97,7 +111,7 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="war" depends="precompilejsp, bundle, warUpToDate" unless="war.uptodate" >
|
<target name="listChangedFiles2" depends="warUpToDate" if="shouldListChanges2" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes.w" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes.w" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -109,6 +123,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="war" depends="precompilejsp, bundle, warUpToDate, listChangedFiles2" unless="war.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.w.tr" value="" />
|
||||||
<war destfile="build/i2ptunnel.war" webxml="../jsp/web-out.xml"
|
<war destfile="build/i2ptunnel.war" webxml="../jsp/web-out.xml"
|
||||||
basedir="../jsp/" excludes="web.xml, web-fragment.xml, web-out.xml, **/*.java, *.jsp">
|
basedir="../jsp/" excludes="web.xml, web-fragment.xml, web-out.xml, **/*.java, *.jsp">
|
||||||
<manifest>
|
<manifest>
|
||||||
@ -123,6 +142,14 @@
|
|||||||
<uptodate property="war.uptodate" targetfile="build/i2ptunnel.war" >
|
<uptodate property="war.uptodate" targetfile="build/i2ptunnel.war" >
|
||||||
<srcfiles dir= "../jsp" excludes="web.xml, web-fragment.xml, **/*.java, *.jsp" />
|
<srcfiles dir= "../jsp" excludes="web.xml, web-fragment.xml, **/*.java, *.jsp" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges2" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="war.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="precompilejsp" depends="jar" unless="precompilejsp.uptodate">
|
<target name="precompilejsp" depends="jar" unless="precompilejsp.uptodate">
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -110,6 +110,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./jettylib/org.mortbay.jetty.jar" basedir="./build/obj" includes="**/*.class" update="true" >
|
<jar destfile="./jettylib/org.mortbay.jetty.jar" basedir="./build/obj" includes="**/*.class" update="true" >
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Build-Date" value="${build.timestamp}" />
|
<attribute name="Build-Date" value="${build.timestamp}" />
|
||||||
@ -123,6 +128,14 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="jettylib/org.mortbay.jetty.jar" >
|
<uptodate property="jar.uptodate" targetfile="jettylib/org.mortbay.jetty.jar" >
|
||||||
<srcfiles dir= "build/obj" includes="**/*.class" />
|
<srcfiles dir= "build/obj" includes="**/*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean" >
|
<target name="clean" >
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -43,6 +43,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./build/mstreaming.jar" basedir="./build/obj" includes="**/*.class" >
|
<jar destfile="./build/mstreaming.jar" basedir="./build/obj" includes="**/*.class" >
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Build-Date" value="${build.timestamp}" />
|
<attribute name="Build-Date" value="${build.timestamp}" />
|
||||||
@ -56,6 +61,14 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="build/mstreaming.jar" >
|
<uptodate property="jar.uptodate" targetfile="build/mstreaming.jar" >
|
||||||
<srcfiles dir= "." includes="build/obj/**/*.class" />
|
<srcfiles dir= "." includes="build/obj/**/*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadoc">
|
<target name="javadoc">
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
<target name="jar" depends="jar1, war, bundle" />
|
<target name="jar" depends="jar1, war, bundle" />
|
||||||
|
|
||||||
<!-- the jar without the latest message classes from the jsps -->
|
<!-- the jar without the latest message classes from the jsps -->
|
||||||
<target name="jar1" depends="compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes.j" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes.j" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -80,6 +80,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar1" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.j.tr" value="" />
|
||||||
<jar destfile="./build/routerconsole.jar" basedir="./build/obj" includes="**/*.class">
|
<jar destfile="./build/routerconsole.jar" basedir="./build/obj" includes="**/*.class">
|
||||||
<manifest>
|
<manifest>
|
||||||
<!-- top level installer will rename to jrobin.jar -->
|
<!-- top level installer will rename to jrobin.jar -->
|
||||||
@ -115,6 +120,14 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="build/routerconsole.jar" >
|
<uptodate property="jar.uptodate" targetfile="build/routerconsole.jar" >
|
||||||
<srcfiles dir= "build/obj" includes="**/*.class" />
|
<srcfiles dir= "build/obj" includes="**/*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="poupdate" depends="precompilejsp">
|
<target name="poupdate" depends="precompilejsp">
|
||||||
@ -134,8 +147,7 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- does NOT update the message classes, as those go in the jar -->
|
<target name="listChangedFiles2" depends="warUpToDate" if="shouldListChanges2" >
|
||||||
<target name="war" depends="precompilejsp, warUpToDate" unless="war.uptodate" >
|
|
||||||
<exec executable="mtn" outputproperty="workspace.changes.w" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes.w" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -147,6 +159,12 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- does NOT update the message classes, as those go in the jar -->
|
||||||
|
<target name="war" depends="precompilejsp, warUpToDate, listChangedFiles2" unless="war.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.w.tr" value="" />
|
||||||
<!-- Don't include the css in the war, the main build.xml will copy it to docs/themes/console/ -->
|
<!-- Don't include the css in the war, the main build.xml will copy it to docs/themes/console/ -->
|
||||||
<war destfile="build/routerconsole.war" webxml="../jsp/web-out.xml"
|
<war destfile="build/routerconsole.war" webxml="../jsp/web-out.xml"
|
||||||
basedir="../jsp/" excludes="web.xml, *.css, **/*.java, *.jsp, *.jsi, web-fragment.xml, web-out.xml">
|
basedir="../jsp/" excludes="web.xml, *.css, **/*.java, *.jsp, *.jsi, web-fragment.xml, web-out.xml">
|
||||||
@ -162,6 +180,14 @@
|
|||||||
<uptodate property="war.uptodate" targetfile="build/routerconsole.war" >
|
<uptodate property="war.uptodate" targetfile="build/routerconsole.war" >
|
||||||
<srcfiles dir= "../jsp" excludes="web.xml, web-fragment.xml, *.css, **/*.java, *.jsp, *.jsi" />
|
<srcfiles dir= "../jsp" excludes="web.xml, web-fragment.xml, *.css, **/*.java, *.jsp, *.jsi" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="precompilejsp" depends="jar1" unless="precompilejsp.uptodate">
|
<target name="precompilejsp" depends="jar1" unless="precompilejsp.uptodate">
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -57,6 +57,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./build/sam.jar" basedir="./build/obj" includes="**/*.class">
|
<jar destfile="./build/sam.jar" basedir="./build/obj" includes="**/*.class">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="net.i2p.sam.SAMBridge" />
|
<attribute name="Main-Class" value="net.i2p.sam.SAMBridge" />
|
||||||
@ -72,6 +77,14 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="build/sam.jar" >
|
<uptodate property="jar.uptodate" targetfile="build/sam.jar" >
|
||||||
<srcfiles dir= "build/obj" includes="**/*.class" />
|
<srcfiles dir= "build/obj" includes="**/*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jarTest" depends="jar, compileTest">
|
<target name="jarTest" depends="jar, compileTest">
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="builddep, compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -56,6 +56,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="builddep, compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./build/streaming.jar" basedir="./build/obj" includes="**/*.class" >
|
<jar destfile="./build/streaming.jar" basedir="./build/obj" includes="**/*.class" >
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Build-Date" value="${build.timestamp}" />
|
<attribute name="Build-Date" value="${build.timestamp}" />
|
||||||
@ -69,6 +74,14 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="build/streaming.jar" >
|
<uptodate property="jar.uptodate" targetfile="build/streaming.jar" >
|
||||||
<srcfiles dir= "." includes="build/obj/**/*.class" />
|
<srcfiles dir= "." includes="build/obj/**/*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jarTest" depends="jar, compileTest">
|
<target name="jarTest" depends="jar, compileTest">
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
<target name="all" depends="war"/>
|
<target name="all" depends="war"/>
|
||||||
|
|
||||||
<target name="war" depends="compile, precompilejsp, bundle, warUpToDate" unless="war.uptodate" >
|
<target name="listChangedFiles" depends="warUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -79,6 +79,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="war" depends="compile, precompilejsp, bundle, warUpToDate" unless="war.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<war destfile="${project}.war" webxml="WEB-INF/web-out.xml">
|
<war destfile="${project}.war" webxml="WEB-INF/web-out.xml">
|
||||||
<fileset dir=".">
|
<fileset dir=".">
|
||||||
<include name="WEB-INF/**/*.class"/>
|
<include name="WEB-INF/**/*.class"/>
|
||||||
@ -102,6 +107,14 @@
|
|||||||
<uptodate property="war.uptodate" targetfile="${project}.war">
|
<uptodate property="war.uptodate" targetfile="${project}.war">
|
||||||
<srcfiles dir= "." includes="WEB-INF/web-out.xml WEB-INF/**/*.class images/*.png css.css index.html WEB-INF/classes/${project}.properties" />
|
<srcfiles dir= "." includes="WEB-INF/web-out.xml WEB-INF/**/*.class images/*.png css.css index.html WEB-INF/classes/${project}.properties" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="war.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="bundle" depends="compile, precompilejsp">
|
<target name="bundle" depends="compile, precompilejsp">
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
</target>
|
</target>
|
||||||
<target name="jar" depends="compile, war" />
|
<target name="jar" depends="compile, war" />
|
||||||
|
|
||||||
<target name="war" depends="compile, bundle, warUpToDate" unless="war.uptodate" >
|
<target name="listChangedFiles" depends="warUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -34,6 +34,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="war" depends="compile, bundle, warUpToDate, listChangedFiles" unless="war.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<war destfile="susimail.war" webxml="src/WEB-INF/web.xml"
|
<war destfile="susimail.war" webxml="src/WEB-INF/web.xml"
|
||||||
basedir="src/" excludes="WEB-INF/web.xml LICENSE src/**/*">
|
basedir="src/" excludes="WEB-INF/web.xml LICENSE src/**/*">
|
||||||
<manifest>
|
<manifest>
|
||||||
@ -48,6 +53,14 @@
|
|||||||
<uptodate property="war.uptodate" targetfile="susimail.war">
|
<uptodate property="war.uptodate" targetfile="susimail.war">
|
||||||
<srcfiles dir= "src" excludes="LICENSE src/**/*" />
|
<srcfiles dir= "src" excludes="LICENSE src/**/*" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="war.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="bundle" depends="compile">
|
<target name="bundle" depends="compile">
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile, jarUpToDate" unless="jar.uptodate">
|
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -35,6 +35,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate">
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./build/systray.jar" basedir="./build/obj" includes="**/*.class">
|
<jar destfile="./build/systray.jar" basedir="./build/obj" includes="**/*.class">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="net.i2p.apps.systray.SysTray" />
|
<attribute name="Main-Class" value="net.i2p.apps.systray.SysTray" />
|
||||||
@ -50,6 +55,14 @@
|
|||||||
<uptodate property="jar.uptodate" targetfile="./build/systray.jar">
|
<uptodate property="jar.uptodate" targetfile="./build/systray.jar">
|
||||||
<srcfiles dir= "build/obj" includes="**/*.class" />
|
<srcfiles dir= "build/obj" includes="**/*.class" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
|
<condition property="shouldListChanges" >
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<isset property="jar.uptodate" />
|
||||||
|
</not>
|
||||||
|
<isset property="mtn.available" />
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadoc">
|
<target name="javadoc">
|
||||||
|
31
build.xml
31
build.xml
@ -159,11 +159,20 @@
|
|||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="buildProperties" >
|
<target name="checkForMtn" >
|
||||||
|
<available property="mtn.available" file="_MTN" type="dir" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="getMtnRev" depends="checkForMtn" if="mtn.available" >
|
||||||
<exec executable="mtn" outputproperty="workspace.version" errorproperty="mtn.error1" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.version" errorproperty="mtn.error1" failifexecutionfails="false" >
|
||||||
<arg value="automate" />
|
<arg value="automate" />
|
||||||
<arg value="get_base_revision_id" />
|
<arg value="get_base_revision_id" />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="buildProperties" depends="getMtnRev" >
|
||||||
|
<!-- default if not set above -->
|
||||||
|
<property name="workspace.version" value="unknown" />
|
||||||
<tstamp>
|
<tstamp>
|
||||||
<format property="build.timestamp" pattern="yyyy-MM-dd HH:mm:ss z" timezone="UTC" locale="en" />
|
<format property="build.timestamp" pattern="yyyy-MM-dd HH:mm:ss z" timezone="UTC" locale="en" />
|
||||||
</tstamp>
|
</tstamp>
|
||||||
@ -240,7 +249,7 @@
|
|||||||
<copy file="apps/addressbook/dist/addressbook.war" todir="build/" />
|
<copy file="apps/addressbook/dist/addressbook.war" todir="build/" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jbigi-list-changes">
|
<target name="jbigi-list-changes" depends="checkForMtn" if="mtn.available" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes.jbigi" errorproperty="mtn.error.jbigi" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes.jbigi" errorproperty="mtn.error.jbigi" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -255,6 +264,8 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jbigi" depends="buildProperties, jbigi-list-changes" >
|
<target name="jbigi" depends="buildProperties, jbigi-list-changes" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.jbigi.tr" value="" />
|
||||||
<jar destfile="build/jbigi.jar" whenmanifestonly="fail" >
|
<jar destfile="build/jbigi.jar" whenmanifestonly="fail" >
|
||||||
<fileset dir="installer/lib/jbigi" includes="*.so *.dll *.jnilib" />
|
<fileset dir="installer/lib/jbigi" includes="*.so *.dll *.jnilib" />
|
||||||
<manifest>
|
<manifest>
|
||||||
@ -266,6 +277,8 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jbigi-windows-only" depends="buildProperties, jbigi-list-changes" >
|
<target name="jbigi-windows-only" depends="buildProperties, jbigi-list-changes" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.jbigi.tr" value="" />
|
||||||
<jar destfile="build/jbigi.jar" whenmanifestonly="fail" >
|
<jar destfile="build/jbigi.jar" whenmanifestonly="fail" >
|
||||||
<fileset dir="installer/lib/jbigi" includes="*windows*.dll" />
|
<fileset dir="installer/lib/jbigi" includes="*windows*.dll" />
|
||||||
<manifest>
|
<manifest>
|
||||||
@ -277,6 +290,8 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jbigi-linux-only" depends="buildProperties, jbigi-list-changes" >
|
<target name="jbigi-linux-only" depends="buildProperties, jbigi-list-changes" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.jbigi.tr" value="" />
|
||||||
<jar destfile="build/jbigi.jar" whenmanifestonly="fail" >
|
<jar destfile="build/jbigi.jar" whenmanifestonly="fail" >
|
||||||
<fileset dir="installer/lib/jbigi" includes="*linux*.so" />
|
<fileset dir="installer/lib/jbigi" includes="*linux*.so" />
|
||||||
<manifest>
|
<manifest>
|
||||||
@ -783,9 +798,8 @@
|
|||||||
<target name="prepjupdatefixes" depends="prepupdate, buildWEB">
|
<target name="prepjupdatefixes" depends="prepupdate, buildWEB">
|
||||||
<copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" />
|
<copy file="build/org.mortbay.jetty.jar" todir="pkg-temp/lib/" />
|
||||||
</target>
|
</target>
|
||||||
<target name="installer" depends="preppkg, buildProperties">
|
|
||||||
<taskdef name="izpack" classpath="${basedir}/installer/lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask" />
|
<target name="util-list-changes" depends="checkForMtn" if="mtn.available" >
|
||||||
<mkdir dir="pkg-temp/installer" />
|
|
||||||
<exec executable="mtn" outputproperty="workspace.changes.util" errorproperty="mtn.error.util" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes.util" errorproperty="mtn.error.util" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -797,6 +811,13 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="installer" depends="preppkg, buildProperties, util-list-changes" >
|
||||||
|
<taskdef name="izpack" classpath="${basedir}/installer/lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask" />
|
||||||
|
<mkdir dir="pkg-temp/installer" />
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.util.tr" value="" />
|
||||||
<jar destfile="./pkg-temp/installer/copy.jar" basedir="./core/java/build/obj" includes="net/i2p/util/Copy.class net/i2p/util/FileUtil.class">
|
<jar destfile="./pkg-temp/installer/copy.jar" basedir="./core/java/build/obj" includes="net/i2p/util/Copy.class net/i2p/util/FileUtil.class">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="net.i2p.util.Copy" />
|
<attribute name="Main-Class" value="net.i2p.util.Copy" />
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" if="mtn.available" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -51,6 +51,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./build/i2p.jar" basedir="./build/obj" includes="**/*.class" >
|
<jar destfile="./build/i2p.jar" basedir="./build/obj" includes="**/*.class" >
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Build-Date" value="${build.timestamp}" />
|
<attribute name="Build-Date" value="${build.timestamp}" />
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2011-06-08 zzz
|
2011-06-08 zzz
|
||||||
* Build: Add standard manifest to jbigi.jar
|
* Build:
|
||||||
|
- Add standard manifest to jbigi.jar
|
||||||
|
- Don't do 'mtn list changed' if not in a workspace or not needed
|
||||||
|
* LogManager: Use DataHelper methods for loading and storing config
|
||||||
|
|
||||||
2011-06-08 kytv
|
2011-06-08 kytv
|
||||||
* Update jbigi/jcpuid Windows dlls. As was done for FreeBSD and Linux, the
|
* Update jbigi/jcpuid Windows dlls. As was done for FreeBSD and Linux, the
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="compile, jarUpToDate" unless="jar.uptodate" >
|
<target name="listChangedFiles" if="mtn.available" >
|
||||||
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
|
||||||
<arg value="list" />
|
<arg value="list" />
|
||||||
<arg value="changed" />
|
<arg value="changed" />
|
||||||
@ -65,6 +65,11 @@
|
|||||||
<arg value="[:space:]" />
|
<arg value="[:space:]" />
|
||||||
<arg value="," />
|
<arg value="," />
|
||||||
</exec>
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
|
||||||
|
<!-- set if unset -->
|
||||||
|
<property name="workspace.changes.tr" value="" />
|
||||||
<jar destfile="./build/router.jar" basedir="./build/obj" includes="**/*.class" >
|
<jar destfile="./build/router.jar" basedir="./build/obj" includes="**/*.class" >
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Build-Date" value="${build.timestamp}" />
|
<attribute name="Build-Date" value="${build.timestamp}" />
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 19;
|
public final static long BUILD = 20;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
Reference in New Issue
Block a user