forked from I2P_Developers/i2p.i2p
Update: Partial implementation of su3 news with atom feed.
No spec yet, just followed str4d's testnews.atom.xml proposal. Atom parsing is tested, su3 part is incomplete and untested. Todo: add spec to http://i2p-projekt.i2p/en/docs/spec/updates, finish su3 and test.
This commit is contained in:
@@ -81,6 +81,24 @@
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- newsxml.jar only (subset of routerconsole, no war) for Android -->
|
||||
<target name="compileNewsOnly" depends="prepare, depend, dependVersion">
|
||||
<mkdir dir="./build" />
|
||||
<mkdir dir="./build/obj" />
|
||||
<javac
|
||||
srcdir="./src"
|
||||
includes="net/i2p/router/news/*.java"
|
||||
debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
|
||||
includeAntRuntime="false"
|
||||
destdir="./build/obj">
|
||||
<compilerarg line="${javac.compilerargs}" />
|
||||
<classpath>
|
||||
<pathelement location="../../../core/java/build/i2p.jar" />
|
||||
<pathelement location="../../../router/java/build/router.jar" />
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- the jar with the latest message classes from the jsps, and the war too -->
|
||||
<target name="jar" depends="jar1, war, bundle" />
|
||||
|
||||
@@ -119,6 +137,12 @@
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- newsxml.jar only (subset of routerconsole, no war) for Android -->
|
||||
<target name="newsxmljar" depends="compileNewsOnly" >
|
||||
<jar destfile="./build/newsxml.jar" basedir="./build/obj" includes="**/*.class">
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- this is tricky because the message classes go in the jar, not in the war -->
|
||||
<target name="bundle" depends="jar1, precompilejsp" unless="no.bundle">
|
||||
<!-- Update the messages_*.po files.
|
||||
|
||||
Reference in New Issue
Block a user