Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 Ant build scripts

open
nobody
Deployment (1)
5
2002-05-22
2002-03-27
Michael Rice
No

The AIK should should with ant build scripts.

Discussion

  • Logged In: YES
    user_id=413600

    Here is a simple ANT script:

    <project name="aik" default="jar">
    <property name="src" value="."/>
    <property name="build" value="build"/>
    <property name="jar" value="."/>
    <target name="init">
    <mkdir dir="${build}"/>
    </target>
    <target name="compile" depends="init">
    <javac srcdir="${src}" destdir="${build}"/>
    </target>
    <target name="jar" depends="compile">
    <mkdir dir="${jar}"/>
    <jar jarfile="${jar}/aik.jar" basedir="${build}"/>
    </target>
    </project>

     
  • Michael Rice
    Michael Rice
    2002-05-22

    Logged In: YES
    user_id=52713

    I want to mimic the common structure that I see of:

    .../aik-0.9.x
    bin/ ...
    src/ ...
    ant/ ...
    run.bat/sh
    build.xml

    otherwise the ant script attached looks great.

     
  • Michael Rice
    Michael Rice
    2002-05-22

    • labels: --> Deployment