Files
i2p.i2p/apps/sam/jython/build.xml
aum 4cdd42f391 Fixed build.xml to detect os, and launch 'jythonc' or 'jythonc.bat'
according to whether we're running on *nix or windoze. build.xml
should now work on your platform, as long as you have jython installed
and jython is on your execution path.

Got SAM STREAMs working - test code added to i2psamclient.py
as function demoSTREAM()
2004-04-13 17:40:07 +00:00

37 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="sam">
<target name="all" depends="build" />
<target name="build" depends="builddep, jar" />
<target name="builddep">
<ant dir="../../../core/java/" target="build" />
<ant dir="../../ministreaming/java/" target="build" />
</target>
<target name="jar">
<condition property="jythonext" value=".bat">
<os family="windows" />
</condition>
<condition property="jythonext" value="">
<not>
<os family="windows" />
</not>
</condition>
<exec executable="jythonc${jythonext}" dir=".">
<env key="CLASSPATH" path="../../../core/java/build/i2p.jar:../../ministreaming/java/build/mstreaming.jar"/>
<arg value="--jar"/><arg path="./i2psam.jar"/>
<arg path="./src/i2psam.py"/>
</exec>
</target>
<target name="clean">
<delete file="i2psam.jar" />
<delete dir="./jpywork" />
</target>
</project>