I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 6d570646 authored by str4d's avatar str4d
Browse files

Build addressbook.jar instead of addressbook.war (no Jetty dependency)

parent 104c17cb
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<available property="have.router" file="${i2pbase}/build/router.jar" /> <available property="have.router" file="${i2pbase}/build/router.jar" />
<available property="have.bob" file="${i2pbase}/apps/BOB/dist/BOB.jar" /> <available property="have.bob" file="${i2pbase}/apps/BOB/dist/BOB.jar" />
<available property="have.i2ptunnel" file="${i2pbase}/apps/i2ptunnel/java/build/i2ptunnel.jar" /> <available property="have.i2ptunnel" file="${i2pbase}/apps/i2ptunnel/java/build/i2ptunnel.jar" />
<available property="have.addressbook" file="${i2pbase}/apps/addressbook/build" /> <available property="have.addressbook" file="${i2pbase}/apps/addressbook/dist/addressbook.jar" />
<target name="buildRouter" unless="have.router"> <target name="buildRouter" unless="have.router">
<ant dir="${i2pbase}" inheritall="false" useNativeBasedir="true" target="buildRouter" /> <ant dir="${i2pbase}" inheritall="false" useNativeBasedir="true" target="buildRouter" />
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<ant dir="${i2pbase}" inheritall="false" useNativeBasedir="true" target="buildI2PTunnelJar" /> <ant dir="${i2pbase}" inheritall="false" useNativeBasedir="true" target="buildI2PTunnelJar" />
</target> </target>
<target name="buildAddressbook" unless="have.addressbook"> <target name="buildAddressbook" unless="have.addressbook">
<ant dir="${i2pbase}" inheritall="false" useNativeBasedir="true" target="buildAddressbook" /> <ant dir="${i2pbase}" inheritall="false" useNativeBasedir="true" target="buildAddressbookJar" />
</target> </target>
<target name="buildBOB" unless="have.bob"> <target name="buildBOB" unless="have.bob">
...@@ -87,10 +87,8 @@ ...@@ -87,10 +87,8 @@
</zipfileset> </zipfileset>
</jar> </jar>
<!-- addressbook - make a jar, it's a war in the i2p distro --> <!-- addressbook -->
<jar destfile="${jar.libs.dir}/addressbook.jar" <copy file="${i2pbase}/apps/addressbook/dist/addressbook.jar" todir="${jar.libs.dir}" />
basedir="${i2pbase}/apps/addressbook/build"
excludes="net/i2p/addressbook/Servlet.class" />
</target> </target>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment