2004-04-10 04:11:39 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project basedir="." default="all" name="heartbeat">
|
2004-04-12 02:44:18 +00:00
|
|
|
<target name="all" depends="clean, buildGUI" />
|
2004-04-20 09:13:07 +00:00
|
|
|
<target name="build" depends="builddep, jar" />
|
|
|
|
<target name="buildGUI" depends="build, jarGUI" />
|
2004-04-10 04:11:39 +00:00
|
|
|
<target name="builddep">
|
|
|
|
<ant dir="../../../core/java/" target="build" />
|
|
|
|
</target>
|
|
|
|
<target name="compile">
|
2004-04-12 02:44:18 +00:00
|
|
|
<mkdir dir="./build" />
|
|
|
|
<mkdir dir="./build/obj" />
|
2004-07-12 16:39:22 +00:00
|
|
|
<javac srcdir="./src" debug="true" deprecation="on" source="1.3" target="1.3" destdir="./build/obj" includes="**/*.java" excludes="net/i2p/heartbeat/gui/**" classpath="../../../core/java/build/i2p.jar" />
|
2004-04-12 02:44:18 +00:00
|
|
|
</target>
|
|
|
|
<target name="compileGUI">
|
2004-04-10 04:11:39 +00:00
|
|
|
<mkdir dir="./build" />
|
|
|
|
<mkdir dir="./build/obj" />
|
2004-07-12 16:39:22 +00:00
|
|
|
<javac debug="true" source="1.3" target="1.3" deprecation="on" destdir="./build/obj">
|
the heartbeat engine and gui are good 'nuff for now
(while i want to spend another few days on it, there
are more pressing things and this will meet my needs
for testnet). the engine works as before, and the
gui now actually plots out and follows the chart over time.
The gui does have a lot of things left to be done before
it can be adopted by joe sixpack -
* load/store the URLs being monitored so you don't
have to reenter them on each startup
* clear out the x axis on refetch (now it just keeps
growing, which is good and bad)
* adjustable refresh rate
* implement snapshots (saving all the current state
files to a dir, and allowing that dir to be loaded
all at once)
* beautification (override the colors, etc)
the net.i2p.heartbeat.** code is all public domain, BUT
net.i2p.heartbeat.gui.JFreeChart* classes depend on the
LGPL'ed jfreechart code, which in turn depends on apache
licensed code (log4j). for the time being, this code
doesn't include the jfreechart code (and dependencies),
but the ant task in apps/heartbeat/java 'fetchJfreechart'
downloads it and places it under apps/heartbeat/java/lib,
after which you can build the GUI by running the ant task
'buildGUI' (buildGUI / etc are NOT in the standard build
process).
once we figure out all the details to comply with the
requirements of log4j's license we'll do so. but for now,
the above works.
2004-04-13 03:24:04 +00:00
|
|
|
<src path="src/" />
|
|
|
|
<classpath path="../../../core/java/build/i2p.jar" />
|
2004-04-20 09:13:07 +00:00
|
|
|
<classpath path="../../jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" />
|
|
|
|
<classpath path="../../jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" />
|
|
|
|
<classpath path="../../jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" />
|
the heartbeat engine and gui are good 'nuff for now
(while i want to spend another few days on it, there
are more pressing things and this will meet my needs
for testnet). the engine works as before, and the
gui now actually plots out and follows the chart over time.
The gui does have a lot of things left to be done before
it can be adopted by joe sixpack -
* load/store the URLs being monitored so you don't
have to reenter them on each startup
* clear out the x axis on refetch (now it just keeps
growing, which is good and bad)
* adjustable refresh rate
* implement snapshots (saving all the current state
files to a dir, and allowing that dir to be loaded
all at once)
* beautification (override the colors, etc)
the net.i2p.heartbeat.** code is all public domain, BUT
net.i2p.heartbeat.gui.JFreeChart* classes depend on the
LGPL'ed jfreechart code, which in turn depends on apache
licensed code (log4j). for the time being, this code
doesn't include the jfreechart code (and dependencies),
but the ant task in apps/heartbeat/java 'fetchJfreechart'
downloads it and places it under apps/heartbeat/java/lib,
after which you can build the GUI by running the ant task
'buildGUI' (buildGUI / etc are NOT in the standard build
process).
once we figure out all the details to comply with the
requirements of log4j's license we'll do so. but for now,
the above works.
2004-04-13 03:24:04 +00:00
|
|
|
</javac>
|
|
|
|
</target>
|
2004-04-10 04:11:39 +00:00
|
|
|
<target name="jar" depends="compile">
|
|
|
|
<jar destfile="./build/heartbeat.jar" basedir="./build/obj" includes="**/*.class">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Main-Class" value="net.i2p.heartbeat.Heartbeat" />
|
|
|
|
<attribute name="Class-Path" value="i2p.jar heartbeat.jar" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
</target>
|
2004-04-12 02:44:18 +00:00
|
|
|
<target name="jarGUI" depends="compileGUI">
|
2004-04-20 09:13:07 +00:00
|
|
|
<copy file="../../jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" todir="build/" />
|
|
|
|
<copy file="../../jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" todir="build/" />
|
|
|
|
<copy file="../../jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" todir="build/" />
|
the heartbeat engine and gui are good 'nuff for now
(while i want to spend another few days on it, there
are more pressing things and this will meet my needs
for testnet). the engine works as before, and the
gui now actually plots out and follows the chart over time.
The gui does have a lot of things left to be done before
it can be adopted by joe sixpack -
* load/store the URLs being monitored so you don't
have to reenter them on each startup
* clear out the x axis on refetch (now it just keeps
growing, which is good and bad)
* adjustable refresh rate
* implement snapshots (saving all the current state
files to a dir, and allowing that dir to be loaded
all at once)
* beautification (override the colors, etc)
the net.i2p.heartbeat.** code is all public domain, BUT
net.i2p.heartbeat.gui.JFreeChart* classes depend on the
LGPL'ed jfreechart code, which in turn depends on apache
licensed code (log4j). for the time being, this code
doesn't include the jfreechart code (and dependencies),
but the ant task in apps/heartbeat/java 'fetchJfreechart'
downloads it and places it under apps/heartbeat/java/lib,
after which you can build the GUI by running the ant task
'buildGUI' (buildGUI / etc are NOT in the standard build
process).
once we figure out all the details to comply with the
requirements of log4j's license we'll do so. but for now,
the above works.
2004-04-13 03:24:04 +00:00
|
|
|
<jar destfile="./build/heartbeatGUI.jar" basedir="./build/obj" includes="**">
|
2004-04-12 02:44:18 +00:00
|
|
|
<manifest>
|
|
|
|
<attribute name="Main-Class" value="net.i2p.heartbeat.gui.HeartbeatMonitor" />
|
the heartbeat engine and gui are good 'nuff for now
(while i want to spend another few days on it, there
are more pressing things and this will meet my needs
for testnet). the engine works as before, and the
gui now actually plots out and follows the chart over time.
The gui does have a lot of things left to be done before
it can be adopted by joe sixpack -
* load/store the URLs being monitored so you don't
have to reenter them on each startup
* clear out the x axis on refetch (now it just keeps
growing, which is good and bad)
* adjustable refresh rate
* implement snapshots (saving all the current state
files to a dir, and allowing that dir to be loaded
all at once)
* beautification (override the colors, etc)
the net.i2p.heartbeat.** code is all public domain, BUT
net.i2p.heartbeat.gui.JFreeChart* classes depend on the
LGPL'ed jfreechart code, which in turn depends on apache
licensed code (log4j). for the time being, this code
doesn't include the jfreechart code (and dependencies),
but the ant task in apps/heartbeat/java 'fetchJfreechart'
downloads it and places it under apps/heartbeat/java/lib,
after which you can build the GUI by running the ant task
'buildGUI' (buildGUI / etc are NOT in the standard build
process).
once we figure out all the details to comply with the
requirements of log4j's license we'll do so. but for now,
the above works.
2004-04-13 03:24:04 +00:00
|
|
|
<attribute name="Class-Path" value="log4j-1.2.8.jar jcommon-0.9.2.jar jfreechart-0.9.17.jar heartbeatGUI.jar i2p.jar" />
|
2004-04-12 02:44:18 +00:00
|
|
|
</manifest>
|
|
|
|
</jar>
|
2004-04-20 09:13:07 +00:00
|
|
|
<echo message="You will need to copy the log4j, jcommon, and jfreechart jar files into your lib dir" />
|
2004-04-12 02:44:18 +00:00
|
|
|
</target>
|
2004-04-10 04:11:39 +00:00
|
|
|
<target name="javadoc">
|
|
|
|
<mkdir dir="./build" />
|
|
|
|
<mkdir dir="./build/javadoc" />
|
|
|
|
<javadoc
|
|
|
|
sourcepath="./src:../../../core/java/src:../../../core/java/test" destdir="./build/javadoc"
|
|
|
|
packagenames="*"
|
|
|
|
use="true"
|
|
|
|
access="package"
|
|
|
|
splitindex="true"
|
|
|
|
windowtitle="I2P heartbeat monitor" />
|
|
|
|
</target>
|
|
|
|
<target name="clean">
|
|
|
|
<delete dir="./build" />
|
|
|
|
</target>
|
|
|
|
<target name="cleandep" depends="clean">
|
|
|
|
<ant dir="../../../core/java/" target="cleandep" />
|
the heartbeat engine and gui are good 'nuff for now
(while i want to spend another few days on it, there
are more pressing things and this will meet my needs
for testnet). the engine works as before, and the
gui now actually plots out and follows the chart over time.
The gui does have a lot of things left to be done before
it can be adopted by joe sixpack -
* load/store the URLs being monitored so you don't
have to reenter them on each startup
* clear out the x axis on refetch (now it just keeps
growing, which is good and bad)
* adjustable refresh rate
* implement snapshots (saving all the current state
files to a dir, and allowing that dir to be loaded
all at once)
* beautification (override the colors, etc)
the net.i2p.heartbeat.** code is all public domain, BUT
net.i2p.heartbeat.gui.JFreeChart* classes depend on the
LGPL'ed jfreechart code, which in turn depends on apache
licensed code (log4j). for the time being, this code
doesn't include the jfreechart code (and dependencies),
but the ant task in apps/heartbeat/java 'fetchJfreechart'
downloads it and places it under apps/heartbeat/java/lib,
after which you can build the GUI by running the ant task
'buildGUI' (buildGUI / etc are NOT in the standard build
process).
once we figure out all the details to comply with the
requirements of log4j's license we'll do so. but for now,
the above works.
2004-04-13 03:24:04 +00:00
|
|
|
<ant dir="../../../core/java/" target="cleandep" />
|
2004-04-10 04:11:39 +00:00
|
|
|
</target>
|
|
|
|
<target name="distclean" depends="clean">
|
|
|
|
<ant dir="../../../core/java/" target="distclean" />
|
|
|
|
</target>
|
|
|
|
</project>
|