Files
i2p.syndie/build.xml
jrandom 6802b22129 - when packaging up syndie, distribute both a syndie.exe and a syndie-tabs.exe,
where syndie.exe launches the new desktop GUI and the syndie-tabs.exe launches
  the old tabbed syndie GUI
- remove the "switch to tabs" button in the desktop GUI's control panel
- streamline the HTTP server's archive index rebuilding so that all requests can
  be processed during the rebuild rather than the old scenario where all requests
  waited until the rebuilding completed
2007-08-24 21:04:49 +00:00

1089 lines
48 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<project name="syndie" default="default" basedir=".">
<description>Builds, tests, and runs the project syndie.</description>
<import file="nbproject/build-impl.xml"/>
<import file="nbproject/profiler-build-impl.xml"/> <!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar-with-manifest: JAR building (if you are using a manifest)
-do-jar-without-manifest: JAR building (if you are not using a manifest)
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="syndie-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
<!-- override the default so we don't build the javadoc unless requested -->
<target name="default" depends="-warnswt, jar" description="Compile Syndie"/>
<target name="-warnswt">
<fail unless="swt.dir">Specify the location of your swt.jar with -Dswt.dir=/some/directory/</fail>
</target>
<target name="-pre-compile">
<fail unless="swt.dir">Specify the location of your swt.jar with -Dswt.dir=/some/directory/</fail>
<loadproperties srcfile="VERSION" />
<echo file="src/syndie/Version.java">package syndie;
public class Version {
public static final String VERSION = "${syndie.version}";
}
</echo>
</target>
<target name="import-i2p-source" description="Import the segments of i2p's SDK that we require.">
<copy todir="src">
<fileset dir="../i2p/core/java/src/" excludes="org/xlattice/**,net/i2p/client/*.java,net/i2p/client/datagram/**,net/i2p/data/Lease*,net/i2p/data/Payload*,net/i2p/data/Router*,net/i2p/data/TunnelId*,net/i2p/data/i2cp/**,net/i2p/util/ShellCommand*,net/i2p/util/FileUtil*,net/i2p/util/Exec.java,net/i2p/util/Delete.java,net/i2p/util/Copy.java,net/i2p/util/DecayingBloomFilter*,net/i2p/util/HTTPSendData*" includes="**/*java" />
</copy>
</target>
<target name="distclean" depends="clean">
<delete dir="doc/web/dist/" />
</target>
<target name="-post-clean">
<loadproperties srcfile="VERSION" />
<delete file="lib/syndie.jar" />
<delete dir="syndie-${syndie.version}" />
<delete file="syndie-${syndie.version}.bin.zip" />
<delete file="syndie-${syndie.version}.src.tar.bz2" />
<delete file="src/syndie/Version.java" />
<delete file="debug.log" />
<delete file="syndie-${syndie.version}.bin.nodeps.jar" />
<delete file="syndie-${syndie.version}.bin.win32.jar" />
<delete file="syndie-${syndie.version}.bin.linux32.jar" />
<delete file="syndie-${syndie.version}.bin.osx.jar" />
<delete file="syndie-${syndie.version}.bin.nodeps.exe" />
<delete file="syndie-${syndie.version}.bin.win32.exe" />
<delete file="syndie-${syndie.version}.bin.linux32.exe" />
<delete file="syndie-${syndie.version}.bin.osx.exe" />
<delete file="syndie.exe.osx" />
<delete file="syndie.exe.w32" />
<delete file="syndie.exe.l32" />
<delete file="syndie-${syndie.version}.exe" />
<delete file="syndie-${syndie.version}.jar" />
<delete dir="logs" />
<delete dir="build" />
<delete dir="pkgosx" />
</target>
<!--
<target name="java-package" depends="clean, prep-java" description="Package up syndie-$version.bin.zip, without including bin/syndie.exe">
<loadproperties srcfile="VERSION" />
<mkdir dir="doc/web/dist" />
<zip destfile="doc/web/dist/syndie-${syndie.version}.bin-noexe.zip">
<zipfileset dir="." includes="syndie-${syndie.version}/**" />
</zip>
<delete dir="syndie-${syndie.version}" />
<ant target="clean" />
</target>
-->
<target name="java-package-exe" depends="clean, prep-java, syndie-exe" description="Package up syndie-$version.bin.zip, including bin/syndie.exe">
<loadproperties srcfile="VERSION" />
<mkdir dir="doc/web/dist" />
<zip destfile="doc/web/dist/syndie-${syndie.version}.bin.zip">
<zipfileset dir="." includes="syndie-${syndie.version}/**" />
</zip>
<delete dir="syndie-${syndie.version}" />
</target>
<target name="prep-java" depends="jar">
<loadproperties srcfile="VERSION" />
<delete dir="syndie-${syndie.version}" />
<mkdir dir="syndie-${syndie.version}" />
<mkdir dir="syndie-${syndie.version}/bin" />
<mkdir dir="syndie-${syndie.version}/doc" />
<mkdir dir="syndie-${syndie.version}/doc/web" />
<mkdir dir="syndie-${syndie.version}/lib" />
<copy todir="syndie-${syndie.version}/doc/">
<fileset dir="." includes="CHANGES, CREDITS, INSTALL, LICENSE, README, TODO" />
</copy>
<copy todir="syndie-${syndie.version}/doc/" file="mtn-committers" />
<copy todir="syndie-${syndie.version}/" file="resources/welcome.txt" />
<copy todir="syndie-${syndie.version}/doc/" file="doc/syndie.1" />
<copy todir="syndie-${syndie.version}/doc/web/">
<fileset dir="doc/web/" includes="*.png, *.css, *.html, *.ico" excludes="help**, tour**" />
</copy>
<copy todir="syndie-${syndie.version}/bin/">
<fileset dir="bin/" includes="*" />
</copy>
<copy todir="syndie-${syndie.version}/lib/">
<fileset dir="lib/" includes="*" />
</copy>
</target>
<target name="source-package" depends="clean" description="Package up syndie-$version.src.tar.bz2">
<loadproperties srcfile="VERSION" />
<mkdir dir="doc/web/dist" />
<delete dir="syndie-${syndie.version}" />
<tar compression="bzip2" destfile="doc/web/dist/syndie-${syndie.version}.src.tar.bz2">
<tarfileset dir="." includes="**" excludes=".svn, _MTN, _MTN/**, lib/swt.jar, *.bz2, *.exe, doc/web/dist/**, nbproject/private/**" prefix="syndie-${syndie.version}" />
</tar>
</target>
<target name="source-nodeps-package" depends="clean" description="Package up syndie-$version.src.nodeps.tar.bz2">
<loadproperties srcfile="VERSION" />
<mkdir dir="doc/web/dist" />
<delete dir="syndie-${syndie.version}" />
<tar compression="bzip2" destfile="doc/web/dist/syndie-${syndie.version}.src.nodeps.tar.bz2">
<tarfileset dir="." includes="**" excludes=".svn, _MTN, _MTN/**, lib/**, *.bz2, *.exe, doc/web/dist/**, doc/web/help/**, doc/web/tour/**, resources/words.txt**, nbproject/private/**" prefix="syndie-${syndie.version}" />
</tar>
</target>
<!--
** the following swt.$osArch libs are from SWT-3.3M4, which includes support for
** extracting the native libraries from the .jar file itself. this means
** switching the lib/swt.jar changes the supported OS. so, the installers
** quite simply do just that - copy in the right swt.jar, package up the
** installer, and go on to the next OS.
** The "nodeps" files are like the other files, except they contain neither the
** swt.jar nor the hsqldb.jar (or servlet.jar, of course). This is useful for
** downloading syndie updates where the dependencies have not changed.
-->
<property name="swt.linux32" value="../swt-3.4M1-gtk-linux-x86/swt.jar" />
<property name="swt.win32" value="../swt-3.4M1-win32-win32-x86/swt.jar" />
<property name="swt.osx" value="../swt-3.4M1-carbon-macosx/swt.jar" />
<!--
** when packaging up win32 and osx installs, we ship a dictionary
** (public domain words from the 1932 Webster's English dictionary).
** linux users already have /usr/share/dict/words, so we don't ship the
** (750KB compressed) dictionary
-->
<property name="words" value="resources/words.txt.zip" />
<target name="installer-exe" depends="prep-java, syndie-exe, -do-installer, -do-installer-exe" />
<target name="-do-installer-exe" description="Package up syndie-$version.bin.exe">
<fail unless="launch4jdir">Specify the location of the Launch4J installation directory with -Dlaunch4jdir=/some/path where it contains launch4j.jar</fail>
<loadproperties srcfile="VERSION" />
<mkdir dir="doc/web/dist" />
<taskdef name="launch4j" classpath="${launch4jdir}/launch4j.jar:${launch4jdir}/lib/xstream.jar"
classname="net.sf.launch4j.ant.Launch4jTask" />
<!-- once for win32, linux32, osx x86, and finally for nodeps -->
<delete file="launchinstall.xml" />
<echo file="launchinstall.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.bin.win32.jar</jar>
<outfile>doc/web/dist/syndie-${syndie.version}.bin.win32.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>.</chdir>
<icon>doc/web/favicon.ico</icon>
<jre><minVersion>1.4.0</minVersion></jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} installer</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.bin.win32.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchinstall.xml" />
<delete file="launchinstall.xml" />
<delete file="syndie-${syndie.version}.bin.win32.jar" />
<!-- linux32 rev -->
<delete file="launchinstall.xml" />
<echo file="launchinstall.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.bin.linux32.jar</jar>
<outfile>doc/web/dist/syndie-${syndie.version}.bin.linux32.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>.</chdir>
<icon>doc/web/favicon.ico</icon>
<jre><minVersion>1.4.0</minVersion></jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} installer</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.bin.linux32.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchinstall.xml" />
<delete file="launchinstall.xml" />
<delete file="syndie-${syndie.version}.bin.linux32.jar" />
<!-- osx x86 rev -->
<delete file="launchinstall.xml" />
<echo file="launchinstall.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.bin.osx.jar</jar>
<outfile>doc/web/dist/syndie-${syndie.version}.bin.osx.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>.</chdir>
<icon>doc/web/favicon.ico</icon>
<jre><minVersion>1.4.0</minVersion></jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} installer</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.bin.osx.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchinstall.xml" />
<delete file="launchinstall.xml" />
<delete file="syndie-${syndie.version}.bin.osx.jar" />
<!-- nodeps (pure java) -->
<delete file="launchinstall.xml" />
<echo file="launchinstall.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.bin.nodeps.jar</jar>
<outfile>doc/web/dist/syndie-${syndie.version}.bin.nodeps.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>.</chdir>
<icon>doc/web/favicon.ico</icon>
<jre><minVersion>1.4.0</minVersion></jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} installer</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.bin.nodeps.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchinstall.xml" />
<delete file="launchinstall.xml" />
<delete file="syndie-${syndie.version}.bin.nodeps.jar" />
</target>
<target name="installer" depends="prep-java, -do-installer" description="Package up syndie-$version.bin.$os.jar" />
<target name="-do-installer">
<fail unless="izpackdir">Specify the location of the IzPack installation directory with -Dizpackdir=/some/path where it contains lib/compiler.jar</fail>
<loadproperties srcfile="VERSION" />
<taskdef name="izpack" classpath="${izpackdir}/lib/standalone-compiler.jar"
classname="com.izforge.izpack.ant.IzPackTask" />
<!--
create syndie-${syndie.version}.bin.{win32,linux32,osx,nodeps}.jar,
containing the correct OS's swt.jar (which includes the necessary native libs)
-->
<!-- win32 -->
<delete file="syndie-${syndie.version}/lib/swt.jar" />
<copy todir="syndie-${syndie.version}/lib/" file="${swt.win32}" />
<copy tofile="syndie-${syndie.version}/bin/syndie.exe" file="syndie.exe.w32" />
<delete file="syndie-${syndie.version}/lib/words.txt" />
<unzip src="${words}" dest="syndie-${syndie.version}/lib/" />
<izpack output="syndie-${syndie.version}.bin.win32.jar"
installerType="standard"
basedir="."
izPackDir="${izpackdir}/">
<config><![CDATA[
<installation version="1.0">
<info>
<appname>Syndie</appname>
<appversion>@{syndie.version}</appversion>
<appsubpath>syndie-@{syndie.version}</appsubpath>
<authors>
<author name="Syndie development team" email="syndie-inst@i2p.net"/>
</authors>
<url>http://syndie.i2p.net</url>
<javaversion>1.4</javaversion>
<summarylogfilepath>$INSTALL_PATH/install.log</summarylogfilepath>
</info>
<variables>
<variable name="desktopshortcutcheckboxenabled" value="true" />
</variables>
<guiprefs width="700" height="500" resizable="yes" />
<locale>
<langpack iso3="eng"/>
</locale>
<native type="izpack" name="ShellLink.dll" />
<resources>
<res id="shortcutSpec.xml" src="resources/Win_shortcutSpec.xml" />
<res id="Unix_shortcutSpec.xml" src="resources/Unix_shortcutSpec.xml" />
</resources>
<panels>
<panel classname="HelloPanel"/>
<panel classname="TargetPanel"/>
<panel classname="SummaryPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="SimpleFinishPanel"/>
</panels>
<packs>
<pack name="Base" required="yes">
<description>Base installation files</description>
<fileset dir="syndie-@{syndie.version}" includes="**/*" excludes="bin/syndie.bat,bin/syndie" targetdir="$INSTALL_PATH"/>
<executable targetfile="$INSTALL_PATH/bin/syndie.exe" type="bin" stage="never" keep="true" failure="warn"></executable>
</pack>
</packs>
</installation>
]]></config>
</izpack>
<!-- linux 32 -->
<delete file="syndie-${syndie.version}/lib/swt.jar" />
<copy todir="syndie-${syndie.version}/lib/" file="${swt.linux32}" />
<copy tofile="syndie-${syndie.version}/bin/syndie.exe" file="syndie.exe.l32" />
<delete file="syndie-${syndie.version}/lib/words.txt" />
<!-- linux uses /usr/share/dict/words, so we don't ship one -->
<izpack output="syndie-${syndie.version}.bin.linux32.jar"
installerType="standard"
basedir="."
izPackDir="${izpackdir}/">
<config><![CDATA[
<installation version="1.0">
<info>
<appname>Syndie</appname>
<appversion>@{syndie.version}</appversion>
<appsubpath>syndie-@{syndie.version}</appsubpath>
<authors>
<author name="Syndie development team" email="syndie-inst@i2p.net"/>
</authors>
<url>http://syndie.i2p.net</url>
<javaversion>1.4</javaversion>
<summarylogfilepath>$INSTALL_PATH/install.log</summarylogfilepath>
</info>
<variables>
<variable name="desktopshortcutcheckboxenabled" value="true" />
</variables>
<guiprefs width="700" height="500" resizable="yes" />
<locale>
<langpack iso3="eng"/>
</locale>
<native type="izpack" name="ShellLink.dll" />
<resources>
<res id="shortcutSpec.xml" src="resources/Win_shortcutSpec.xml" />
<res id="Unix_shortcutSpec.xml" src="resources/Unix_shortcutSpec.xml" />
</resources>
<panels>
<panel classname="HelloPanel"/>
<panel classname="TargetPanel"/>
<panel classname="SummaryPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="SimpleFinishPanel"/>
</panels>
<packs>
<pack name="Base" required="yes">
<description>Base installation files</description>
<fileset dir="syndie-@{syndie.version}" includes="**/*" excludes="bin/syndie.bat,bin/syndie" targetdir="$INSTALL_PATH"/>
<executable targetfile="$INSTALL_PATH/bin/syndie.exe" type="bin" stage="never" keep="true" failure="warn"></executable>
</pack>
</packs>
</installation>
]]></config>
</izpack>
<!-- osx x86 -->
<delete file="syndie-${syndie.version}/lib/swt.jar" />
<copy todir="syndie-${syndie.version}/lib/" file="${swt.osx}" />
<copy tofile="syndie-${syndie.version}/bin/syndie.exe" file="syndie.exe.osx" />
<delete file="syndie-${syndie.version}/lib/words.txt" />
<unzip src="${words}" dest="syndie-${syndie.version}/lib/" />
<izpack output="syndie-${syndie.version}.bin.osx.jar"
installerType="standard"
basedir="."
izPackDir="${izpackdir}/">
<config><![CDATA[
<installation version="1.0">
<info>
<appname>Syndie</appname>
<appversion>@{syndie.version}</appversion>
<appsubpath>syndie-@{syndie.version}</appsubpath>
<authors>
<author name="Syndie development team" email="syndie-inst@i2p.net"/>
</authors>
<url>http://syndie.i2p.net</url>
<javaversion>1.4</javaversion>
<summarylogfilepath>$INSTALL_PATH/install.log</summarylogfilepath>
</info>
<variables>
<variable name="desktopshortcutcheckboxenabled" value="true" />
</variables>
<guiprefs width="700" height="500" resizable="yes" />
<locale>
<langpack iso3="eng"/>
</locale>
<native type="izpack" name="ShellLink.dll" />
<resources>
<res id="shortcutSpec.xml" src="resources/Win_shortcutSpec.xml" />
<res id="Unix_shortcutSpec.xml" src="resources/Unix_shortcutSpec.xml" />
</resources>
<panels>
<panel classname="HelloPanel"/>
<panel classname="TargetPanel"/>
<panel classname="SummaryPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="SimpleFinishPanel"/>
</panels>
<packs>
<pack name="Base" required="yes">
<description>Base installation files</description>
<fileset dir="syndie-@{syndie.version}" includes="**/*" excludes="bin/syndie.bat,bin/syndie" targetdir="$INSTALL_PATH"/>
<executable targetfile="$INSTALL_PATH/bin/syndie.exe" type="bin" stage="never" keep="true" failure="warn"></executable>
</pack>
</packs>
</installation>
]]></config>
</izpack>
<!-- nodeps -->
<delete file="syndie-${syndie.version}/lib/swt.jar" />
<delete file="syndie-${syndie.version}/lib/hsqldb.jar" />
<delete file="syndie-${syndie.version}/lib/servlet.jar" />
<delete file="syndie-${syndie.version}/lib/hsqldb_changes.txt" />
<delete file="syndie-${syndie.version}/lib/hsqldb_lic.txt" />
<delete file="syndie-${syndie.version}/lib/words.txt" />
<izpack output="syndie-${syndie.version}.bin.nodeps.jar"
installerType="standard"
basedir="."
izPackDir="${izpackdir}/">
<config><![CDATA[
<installation version="1.0">
<info>
<appname>Syndie</appname>
<appversion>@{syndie.version}</appversion>
<appsubpath>syndie-@{syndie.version}</appsubpath>
<authors>
<author name="Syndie development team" email="syndie-inst@i2p.net"/>
</authors>
<url>http://syndie.i2p.net</url>
<javaversion>1.4</javaversion>
<summarylogfilepath>$INSTALL_PATH/install.log</summarylogfilepath>
</info>
<variables>
<variable name="desktopshortcutcheckboxenabled" value="true" />
</variables>
<guiprefs width="700" height="500" resizable="yes" />
<locale>
<langpack iso3="eng"/>
</locale>
<native type="izpack" name="ShellLink.dll" />
<resources>
<res id="shortcutSpec.xml" src="resources/Win_shortcutSpec.xml" />
<res id="Unix_shortcutSpec.xml" src="resources/Unix_shortcutSpec.xml" />
</resources>
<panels>
<panel classname="HelloPanel"/>
<panel classname="TargetPanel"/>
<panel classname="SummaryPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="SimpleFinishPanel"/>
</panels>
<packs>
<pack name="Base" required="yes">
<description>Base installation files</description>
<executable targetfile="$INSTALL_PATH/bin/syndie" type="bin" stage="never" keep="true" failure="warn"><os family="mac" /></executable>
<fileset dir="syndie-@{syndie.version}" includes="**/*" excludes="bin/syndie.bat,bin/syndie" targetdir="$INSTALL_PATH"/>
</pack>
</packs>
</installation>
]]></config>
</izpack>
<delete dir="syndie-${syndie.version}" />
</target>
<target name="syndie-exe" depends="jar" description="build a syndie.exe">
<fail unless="launch4jdir">Specify the location of the Launch4J installation directory with -Dlaunch4jdir=/some/path where it contains launch4j.jar</fail>
<loadproperties srcfile="VERSION" />
<mkdir dir="doc/web/dist" />
<taskdef name="launch4j" classpath="${launch4jdir}/launch4j.jar:${launch4jdir}/lib/xstream.jar"
classname="net.sf.launch4j.ant.Launch4jTask" />
<jar jarfile="syndie-${syndie.version}.jar">
<manifest>
<attribute name="Main-Class" value="syndie.gui.desktop.DesktopMain" />
<!-- relative to the exe/jar file -->
<attribute name="Class-Path" value="../lib/syndie.jar ../lib/hsqldb.jar ../lib/servlet.jar ../lib/swt.jar" />
</manifest>
</jar>
<!-- build the linux launcher -->
<echo file="launchsyndie.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.jar</jar>
<outfile>syndie-${syndie.version}.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>..</chdir>
<icon>doc/web/favicon.ico</icon>
<jre>
<minVersion>1.4.0</minVersion>
<args>-Djava.library.path=.</args>
</jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} graphical interface</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchsyndie.xml" />
<delete file="launchsyndie.xml" />
<copy tofile="syndie.exe.l32" file="syndie-${syndie.version}.exe" />
<delete file="syndie-${syndie.version}.exe" />
<!-- build the win32 launcher -->
<echo file="launchsyndie.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.jar</jar>
<outfile>syndie-${syndie.version}.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>..</chdir>
<icon>doc/web/favicon.ico</icon>
<jre>
<minVersion>1.4.0</minVersion>
<args>-Djava.library.path=. -Dsyndie.dict=lib\\words.txt</args>
</jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} graphical interface</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchsyndie.xml" />
<delete file="launchsyndie.xml" />
<copy tofile="syndie.exe.w32" file="syndie-${syndie.version}.exe" />
<delete file="syndie-${syndie.version}.exe" />
<!-- build the osx launcher [needs -XstartOnFirstThread] -->
<echo file="launchsyndie.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.jar</jar>
<outfile>syndie-${syndie.version}.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>..</chdir>
<icon>doc/web/favicon.ico</icon>
<jre>
<minVersion>1.4.0</minVersion>
<args>-XstartOnFirstThread -Djava.library.path=. -Dsyndie.dict=lib/words.txt</args>
</jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} graphical interface</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchsyndie.xml" />
<delete file="launchsyndie.xml" />
<copy tofile="syndie.exe.osx" file="syndie-${syndie.version}.exe" />
<delete file="syndie-${syndie.version}.exe" />
<delete file="syndie-${syndie.version}.jar" />
</target>
<target name="jar-package" depends="jar">
<mkdir dir="doc/web/dist" />
<zip destfile="doc/web/dist/syndie-${syndie.version}.bin.jar-only.zip">
<zipfileset dir="." includes="lib/syndie.jar" />
</zip>
</target>
<target name="pkgosx" depends="jar">
<loadproperties srcfile="VERSION" />
<delete dir="pkgosx" />
<mkdir dir="doc/web/dist" />
<mkdir dir="pkgosx" />
<mkdir dir="pkgosx/syndie-${syndie.version}" />
<mkdir dir="pkgosx/syndie-${syndie.version}/Syndie.app" />
<mkdir dir="pkgosx/syndie-${syndie.version}/Syndie.app/Contents" />
<mkdir dir="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/MacOS" />
<mkdir dir="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/Resources" />
<copy todir="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/MacOS/" file="lib/syndie.jar" />
<copy todir="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/MacOS/" file="lib/hsqldb.jar" />
<copy todir="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/MacOS/" file="${swt.osx}" />
<copy tofile="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/syndie.icns" file="resources/osx.icns" />
<echo file="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/MacOS/launchsyndie.sh"><![CDATA[#!/bin/sh
BASEDIR=`dirname $0`
exec java -XstartOnFirstThread \
-classpath $BASEDIR/swt.jar:$BASEDIR/syndie.jar:$BASEDIR/hsqldb.jar \
-Djava.library.path=$BASEDIR:. \
syndie.gui.desktop.DesktopMain
]]></echo>
<chmod file="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/MacOS/launchsyndie.sh" perm="755" />
<echo file="pkgosx/syndie-${syndie.version}/Syndie.app/Contents/Info.plist"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>launchsyndie.sh</string>
<key>CFBundleGetInfoString</key>
<string>Syndie ${syndie.version} for Mac OS X</string>
<key>CFBundleIconFile</key>
<string>syndie.icns</string>
<key>CFBundleIdentifier</key>
<string>syndie.gui.desktop.DesktopMain</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Syndie</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>?????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
]]></echo>
<!-- now its built... package the app up in a .tar.bz2 -->
<!-- we use tar explicitly because ant's tar doesn't support permissions -->
<exec command="tar cjvpf ./doc/web/dist/syndie-${syndie.version}.bin.osx.tar.bz2 -C pkgosx ." />
<!-- alternately, we could call:
hdiutil create -srcfolder pkgosx/syndie-1.003a/Syndie.app Syndie.dmg
hdiutil internet-enable -yes Syndie.dmg
-->
<delete dir="pkgosx" />
</target>
<target name="-dist">
<ant target="distclean" />
<ant target="source-package" />
<ant target="source-nodeps-package" />
<ant target="installer-exe" />
<ant target="java-package-exe" />
<ant target="jar-package" />
<!-- <ant target="java-package" /> -->
<ant target="pkgosx" />
</target>
<target name="pkg" depends="distclean" description="Package a release">
<loadproperties srcfile="VERSION" />
<property name="pkgdir" value="pkgrelease" />
<delete dir="${pkgdir}" />
<!-- source comes first -->
<antcall target="source-nodeps-package" />
<copy file="doc/web/dist/syndie-${syndie.version}.src.nodeps.tar.bz2" todir="${pkgdir}" />
<delete file="doc/web/dist/syndie-${syndie.version}.src.nodeps.tar.bz2" />
<!-- osx is packaged specially -->
<ant target="pkgosx" />
<copy file="doc/web/dist/syndie-${syndie.version}.bin.osx.tar.bz2" todir="${pkgdir}" />
<delete file="doc/web/dist/syndie-${syndie.version}.bin.osx.tar.bz2" />
<!-- now for the packaged installers -->
<antcall target="-binwin32" />
<antcall target="-binlinux32jar" />
<antcall target="-binlinux32tar" />
<antcall target="jar" />
<copy file="lib/syndie.jar" tofile="${pkgdir}/syndie-${syndie.version}.bin.jar" />
<echo>Packages ready in ${pkgdir}</echo>
</target>
<target name="-binwin32">
<antcall target="-binpackage">
<param name="swt.jar" value="${swt.win32}" />
<param name="dictfile" value="${words}" />
<param name="syndie.exe" value="true" /> <!-- build a syndie.exe? -->
<param name="tobindir" value="" /> <!-- extra file to copy to the bin dir -->
<param name="installer" value="true" /> <!-- build an izpack install? -->
<param name="installer.exe" value="true" /> <!-- build an install.exe? -->
<param name="outfile" value="${pkgdir}/syndie-${syndie.version}.bin.win32.exe" />
</antcall>
</target>
<target name="-binlinux32jar">
<loadproperties srcfile="VERSION" />
<antcall target="-binpackage">
<param name="swt.jar" value="${swt.linux32}" />
<!-- <param name="dictfile" value="words.txt" /> -->
<param name="syndie.exe" value="true" /> <!-- build a syndie.exe? -->
<param name="tobindir" value="" /> <!-- extra file to copy to the bin dir -->
<param name="installer" value="true" /> <!-- build an izpack install? -->
<param name="installer.exe" value="" /> <!-- build an install.exe? -->
<param name="outfile" value="${pkgdir}/syndie-${syndie.version}.bin.linux32.jar" />
</antcall>
</target>
<target name="-binlinux32tar">
<loadproperties srcfile="VERSION" />
<antcall target="-binpackage">
<param name="swt.jar" value="${swt.linux32}" />
<!-- <param name="dictfile" value="words.txt" /> -->
<param name="syndie.exe" value="true" /> <!-- build a syndie.exe? -->
<param name="tobindir" value="" /> <!-- extra file to copy to the bin dir -->
<param name="installer" value="" /> <!-- build an izpack install? -->
<param name="installer.exe" value="" /> <!-- build an install.exe? -->
<param name="outfile" value="${pkgdir}/syndie-${syndie.version}.bin.linux32.tar.bz2" />
</antcall>
</target>
<!--
Parameters:
swt.jar file to save as lib/swt.jar
dictfile file to save as lib/words.txt (or blank for no file)
syndie.exe if true, build a bin/syndie.exe launcher
tobindir if specified, file to add to the bin/ directory
installer if true, build an installer out of the package, otherwise create a tar.bz2
installer.exe if true, build a .exe out of the installer
outfile file to save the resulting package as
-->
<target name="-binpackage" description="build up a binary package" depends="jar">
<loadproperties srcfile="VERSION" />
<!--
create the generic binary tree
-->
<!-- <antcall target="jar" /> -->
<delete dir="binpackage/" />
<mkdir dir="binpackage" />
<mkdir dir="binpackage/syndie-${syndie.version}" />
<mkdir dir="binpackage/syndie-${syndie.version}/bin" />
<mkdir dir="binpackage/syndie-${syndie.version}/doc" />
<mkdir dir="binpackage/syndie-${syndie.version}/doc/web" />
<mkdir dir="binpackage/syndie-${syndie.version}/lib" />
<copy todir="binpackage/syndie-${syndie.version}/doc/">
<fileset dir="." includes="CHANGES, CREDITS, INSTALL, LICENSE, README, TODO" />
</copy>
<copy todir="binpackage/syndie-${syndie.version}/doc/" file="mtn-committers" />
<copy todir="binpackage/syndie-${syndie.version}/" file="resources/welcome.txt" />
<copy todir="binpackage/syndie-${syndie.version}/doc/" file="doc/syndie.1" />
<copy todir="binpackage/syndie-${syndie.version}/doc/web/">
<fileset dir="doc/web/" includes="*.png, *.css, *.html, *.ico" excludes="help**, tour**" />
</copy>
<copy todir="binpackage/syndie-${syndie.version}/bin/">
<fileset dir="bin/" includes="*" />
</copy>
<copy todir="binpackage/syndie-${syndie.version}/lib/">
<fileset dir="lib/" includes="*" />
</copy>
<!--
now for the build-specific attributes
-->
<copy todir="binpackage/syndie-${syndie.version}/lib/" file="${swt.jar}" />
<!-- dictfile may not exist -->
<condition property="noDictFile"><not><length string="${dictfile}" length="0" /></not></condition>
<antcall target="-bincopydict" />
<!--
now build the syndie.exe
-->
<condition property="noSyndieExe"><length string="${syndie.exe}" length="0" /></condition>
<antcall target="-binSyndie.exe" />
<condition property="noBinfileKnown"><length string="${tobindir}" length="0" /></condition>
<antcall target="-binfile" />
<condition property="noInstaller"><length string="${installer}" length="0" /></condition>
<antcall target="-binInstaller" />
<condition property="noInstallerExe"><length string="${installer.exe}" length="0" /></condition>
<antcall target="-binInstaller.exe" />
<condition property="noBz2"><length string="${installer}" when="greater" length="0" /></condition>
<antcall target="-binBz2" />
<!--
built, so now copy the resulting file to the requested location
-->
<copy file="binpackage/syndie-${syndie.version}.tar.bz2" tofile="${outfile}" failonerror="false" />
<copy file="binpackage/syndie-${syndie.version}.jar" tofile="${outfile}" failonerror="false" />
<copy file="binpackage/syndie-${syndie.version}.jar.exe" tofile="${outfile}" failonerror="false" />
<delete dir="binpackage/" />
</target>
<!-- copy the selected dictionary file -->
<target name="-bincopydict" unless="noDictFile">
<unzip src="${dictfile}" dest="binpackage/syndie-${syndie.version}/lib/" />
</target>
<!-- copy the selected script to the packaged bin dir -->
<target name="-binfile" unless="noBinfileKnown">
<copy todir="binpackage/syndie-${syndie.version}/bin" file="${tobindir}" />
</target>
<!-- create binpackage/syndie-${syndie.version}/bin/syndie.exe -->
<target name="-binSyndie.exe" unless="noSyndieExe">
<antcall target="-binSyndieTabs.exe" />
<antcall target="-binSyndieDesktop.exe" />
</target>
<target name="-binSyndieTabs.exe">
<fail unless="launch4jdir">Specify the location of the Launch4J installation directory with -Dlaunch4jdir=/some/path where it contains launch4j.jar</fail>
<taskdef name="launch4j" classpath="${launch4jdir}/launch4j.jar:${launch4jdir}/lib/xstream.jar"
classname="net.sf.launch4j.ant.Launch4jTask" />
<jar jarfile="syndie-${syndie.version}.jar">
<manifest>
<attribute name="Main-Class" value="syndie.gui.SWTUI" />
<!-- relative to the exe/jar file -->
<attribute name="Class-Path" value="../lib/syndie.jar ../lib/hsqldb.jar ../lib/servlet.jar ../lib/swt.jar" />
</manifest>
</jar>
<echo file="launchsyndie.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.jar</jar>
<outfile>binpackage/syndie-${syndie.version}/bin/syndie-tabs.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>..</chdir>
<icon>doc/web/favicon.ico</icon>
<jre>
<minVersion>1.4.0</minVersion>
</jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} tabbed interface</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-tabs.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchsyndie.xml" />
<delete file="launchsyndie.xml" />
<delete file="syndie-${syndie.version}.jar" />
</target>
<target name="-binSyndieDesktop.exe">
<fail unless="launch4jdir">Specify the location of the Launch4J installation directory with -Dlaunch4jdir=/some/path where it contains launch4j.jar</fail>
<taskdef name="launch4j" classpath="${launch4jdir}/launch4j.jar:${launch4jdir}/lib/xstream.jar"
classname="net.sf.launch4j.ant.Launch4jTask" />
<jar jarfile="syndie-${syndie.version}.jar">
<manifest>
<attribute name="Main-Class" value="syndie.gui.desktop.DesktopMain" />
<!-- relative to the exe/jar file -->
<attribute name="Class-Path" value="../lib/syndie.jar ../lib/hsqldb.jar ../lib/servlet.jar ../lib/swt.jar" />
</manifest>
</jar>
<echo file="launchsyndie.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>syndie-${syndie.version}.jar</jar>
<outfile>binpackage/syndie-${syndie.version}/bin/syndie.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>..</chdir>
<icon>doc/web/favicon.ico</icon>
<jre>
<minVersion>1.4.0</minVersion>
</jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} desktop interface</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchsyndie.xml" />
<delete file="launchsyndie.xml" />
<delete file="syndie-${syndie.version}.jar" />
</target>
<!-- create binpackage/syndie-${syndie.version}.jar containing the installer-->
<target name="-binInstaller" unless="noInstaller">
<fail unless="izpackdir">Specify the location of the IzPack installation directory with -Dizpackdir=/some/path where it contains lib/compiler.jar</fail>
<taskdef name="izpack" classpath="${izpackdir}/lib/standalone-compiler.jar"
classname="com.izforge.izpack.ant.IzPackTask" />
<izpack output="binpackage/syndie-${syndie.version}.jar"
installerType="standard"
basedir="."
izPackDir="${izpackdir}/">
<config><![CDATA[
<installation version="1.0">
<info>
<appname>Syndie</appname>
<appversion>@{syndie.version}</appversion>
<appsubpath>syndie-@{syndie.version}</appsubpath>
<authors>
<author name="Syndie development team" email="syndie-inst@i2p.net"/>
</authors>
<url>http://syndie.i2p.net</url>
<javaversion>1.4</javaversion>
<summarylogfilepath>$INSTALL_PATH/install.log</summarylogfilepath>
</info>
<variables>
<variable name="desktopshortcutcheckboxenabled" value="true" />
</variables>
<guiprefs width="700" height="500" resizable="yes" />
<locale>
<langpack iso3="eng"/>
</locale>
<native type="izpack" name="ShellLink.dll" />
<resources>
<res id="shortcutSpec.xml" src="resources/Win_shortcutSpec.xml" />
<res id="Unix_shortcutSpec.xml" src="resources/Unix_shortcutSpec.xml" />
</resources>
<panels>
<panel classname="HelloPanel"/>
<panel classname="TargetPanel"/>
<panel classname="SummaryPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"/>
<panel classname="SimpleFinishPanel"/>
</panels>
<packs>
<pack name="Base" required="yes">
<description>Base installation files</description>
<fileset dir="binpackage/syndie-@{syndie.version}" includes="**/*" targetdir="$INSTALL_PATH"/>
<executable targetfile="$INSTALL_PATH/bin/syndie.exe" type="bin" stage="never" keep="true" failure="warn"></executable>
</pack>
</packs>
</installation>
]]></config>
</izpack>
</target>
<!-- create binpackage/syndie-${syndie.version}.jar.exe containing the installer, deleting the .jar -->
<target name="-binInstaller.exe" unless="noInstallerExe">
<fail unless="launch4jdir">Specify the location of the Launch4J installation directory with -Dlaunch4jdir=/some/path where it contains launch4j.jar</fail>
<taskdef name="launch4j" classpath="${launch4jdir}/launch4j.jar:${launch4jdir}/lib/xstream.jar"
classname="net.sf.launch4j.ant.Launch4jTask" />
<delete file="launchinstall.xml" />
<echo file="launchinstall.xml"><![CDATA[
<launch4jConfig>
<headerType>0</headerType>
<jar>binpackage/syndie-${syndie.version}.jar</jar>
<outfile>binpackage/syndie-${syndie.version}.jar.exe</outfile>
<errTitle>Syndie</errTitle>
<chdir>.</chdir>
<icon>doc/web/favicon.ico</icon>
<jre><minVersion>1.4.0</minVersion></jre>
<versionInfo>
<fileVersion>0.0.0.0</fileVersion>
<productVersion>0.0.0.0</productVersion>
<txtFileVersion>${syndie.version}</txtFileVersion>
<txtProductVersion>${syndie.version}</txtProductVersion>
<fileDescription>Syndie ${syndie.version} installer</fileDescription>
<copyright>copyright is theft</copyright>
<productName>Syndie ${syndie.version}</productName>
<internalName>syndie</internalName>
<originalFilename>syndie-${syndie.version}.exe</originalFilename>
</versionInfo>
</launch4jConfig>
]]></echo>
<launch4j configFile="launchinstall.xml" />
<delete file="launchinstall.xml" />
<delete file="binpackage/syndie-${syndie.version}.jar" />
</target>
<!-- create binpackage/syndie-${syndie.version}.tar.bz2 containing the runnable binaries, but no installer -->
<target name="-binBz2" unless="noBz2">
<tar compression="bzip2" destfile="binpackage/syndie-${syndie.version}.tar.bz2">
<tarfileset dir="binpackage/" includes="syndie-${syndie.version}/**" />
</tar>
<delete file="binpackage/syndie-${syndie.version}.jar" />
<delete file="binpackage/syndie-${syndie.version}.jar.exe" />
</target>
</project>