Changeset c03cb1d


Ignore:
Timestamp:
Apr 20, 2004 9:13:07 AM (17 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
64b94ab
Parents:
f000429
git-author:
jrandom <jrandom> (04/20/04 09:13:07)
git-committer:
zzz <zzz@…> (04/20/04 09:13:07)
Message:

revised GUI fetch/build/dist process - at the top level, run
'ant prepGUI' to fetch and prepare the jfreechart code
'ant buildGUI' to build the jars necessary
'ant distGUI' to build a gui.zip that contains the jars and a
license notice related to the LGPL and APL software linked
within it.
("installing" the GUI == unzip gui.zip into the I2P install dir)

Location:
apps
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • apps/heartbeat/java/build.xml

    rf000429 rc03cb1d  
    22<project basedir="." default="all" name="heartbeat">
    33    <target name="all" depends="clean, buildGUI" />
    4     <target name="build" depends="builddep, jar">
    5         <echo message="heartbeat engine built, but to get the heartbeat GUI, run the buildGUI target" />
    6         <echo message="However, to build the GUI, you need to fetch it the JFreeChart package by running the fetchJfreechart target" />       
    7     </target>
    8     <target name="fetchJfreechart">
    9         <mkdir dir="./lib" />
    10         <get src="http://www.jfree.org/jfreechart/jfreechart-0.9.17.zip" verbose="true" dest="lib/jfreechart-0.9.17.zip" />
    11         <unzip src="lib/jfreechart-0.9.17.zip" dest="lib/" />
    12     </target>
    13     <target name="buildGUI" depends="build, jfreechart, jarGUI" />
     4    <target name="build" depends="builddep, jar" />
     5    <target name="buildGUI" depends="build, jarGUI" />
    146    <target name="builddep">
    157        <ant dir="../../../core/java/" target="build" />
     
    2618            <src path="src/" />
    2719            <classpath path="../../../core/java/build/i2p.jar" />
    28             <classpath path="lib/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" />
    29             <classpath path="lib/jfreechart-0.9.17/lib/log4j-1.2.8.jar" />
    30             <classpath path="lib/jfreechart-0.9.17/jfreechart-0.9.17.jar" />
     20            <classpath path="../../jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" />
     21            <classpath path="../../jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" />
     22            <classpath path="../../jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" />
    3123        </javac>
    32     </target>
    33     <target name="jfreechart">
    34         <ant dir="./lib/jfreechart-0.9.17/" antfile="ant/build.xml" target="compile" />
    3524    </target>
    3625    <target name="jar" depends="compile">
     
    4332    </target>
    4433    <target name="jarGUI" depends="compileGUI">
    45         <copy file="lib/jfreechart-0.9.17/jfreechart-0.9.17.jar" todir="build/" />
    46         <copy file="lib/jfreechart-0.9.17/lib/log4j-1.2.8.jar" todir="build/" />
    47         <copy file="lib/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" todir="build/" />
     34        <copy file="../../jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" todir="build/" />
     35        <copy file="../../jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" todir="build/" />
     36        <copy file="../../jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" todir="build/" />
    4837        <jar destfile="./build/heartbeatGUI.jar" basedir="./build/obj" includes="**">
    4938            <manifest>
     
    5241            </manifest>
    5342        </jar>
    54         <echo message="You will need to copy the log4j, jcommon, and jfreechart jar files from build/ into your lib dir" />
     43        <echo message="You will need to copy the log4j, jcommon, and jfreechart jar files into your lib dir" />
    5544    </target>
    5645    <target name="javadoc">
  • apps/netmonitor/java/build.xml

    rf000429 rc03cb1d  
    66        <ant dir="../../../core/java/" target="build" />
    77    </target>
    8     <target name="fetchJfreechart">
    9         <mkdir dir="./lib" />
    10         <get src="http://www.jfree.org/jfreechart/jfreechart-0.9.17.zip" verbose="true" dest="lib/jfreechart-0.9.17.zip" />
    11         <unzip src="lib/jfreechart-0.9.17.zip" dest="lib/" />
    12     </target>
    13     <target name="buildGUI" depends="build, jfreechart, jarGUI" />
     8    <target name="buildGUI" depends="build, jarGUI" />
    149    <target name="compile">
    1510        <mkdir dir="./build" />
     
    2419            <src path="src/" />
    2520            <classpath path="../../../core/java/build/i2p.jar" />
    26             <classpath path="lib/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" />
    27             <classpath path="lib/jfreechart-0.9.17/lib/log4j-1.2.8.jar" />
    28             <classpath path="lib/jfreechart-0.9.17/jfreechart-0.9.17.jar" />
     21            <classpath path="../../jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" />
     22            <classpath path="../../jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" />
     23            <classpath path="../../jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" />
    2924        </javac>
    30     </target>
    31     <target name="jfreechart">
    32         <ant dir="./lib/jfreechart-0.9.17/" antfile="ant/build.xml" target="compile" />
    3325    </target>
    3426
    3527    <target name="jarGUI" depends="compileGUI">
    36         <copy file="lib/jfreechart-0.9.17/jfreechart-0.9.17.jar" todir="build/" />
    37         <copy file="lib/jfreechart-0.9.17/lib/log4j-1.2.8.jar" todir="build/" />
    38         <copy file="lib/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" todir="build/" />
     28        <copy file="../../jfreechart/jfreechart-0.9.17/jfreechart-0.9.17.jar" todir="build/" />
     29        <copy file="../../jfreechart/jfreechart-0.9.17/lib/log4j-1.2.8.jar" todir="build/" />
     30        <copy file="../../jfreechart/jfreechart-0.9.17/lib/jcommon-0.9.2.jar" todir="build/" />
    3931        <jar destfile="./build/netviewer.jar" basedir="./build/obj" includes="**">
    4032            <manifest>
     
    4335            </manifest>
    4436        </jar>
    45         <echo message="You will need to copy the log4j, jcommon, and jfreechart jar files from build/ into your lib dir" />
     37        <echo message="You will need to copy the log4j, jcommon, and jfreechart jar files into your lib dir" />
    4638    </target>
    4739
Note: See TracChangeset for help on using the changeset viewer.