Menu

#8 Ant build scripts

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

The AIK should should with ant build scripts.

Discussion

  • Patrick Tescher

    Patrick Tescher - 2002-03-29

    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
     

Log in to post a comment.

MongoDB Logo MongoDB