build.xml

 

Contents of build.bat

Contents of build.xml

Contents of start.bat

Contents of build.sh

Contents of start.sh

 

<?xml version="1.0"?>

 

<!--

    $RCSfile: build_xml.html,v $

 

    Copyright (c) 1999-2002. Christian Heller. All Rights Reserved.

 

    This software is published under the GPL GNU General Public License.

    This program is free software; you can redistribute it and/or

    modify it under the terms of the GNU General Public License

    as published by the Free Software Foundation; either version 2

    of the License, or (at your option) any later version.

 

    This program is distributed in the hope that it will be useful,

    but WITHOUT ANY WARRANTY; without even the implied warranty of

    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

    GNU General Public License for more details.

 

    You should have received a copy of the GNU General Public License

    along with this program; if not, write to the Free Software

    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

 

    http://www.resmedicinae.org

    - Information in Medicine -

 

    This file contains configuration parameters which are necessary for building

    the specified project using the "Ant" tool of the "Jakarta" tool suite.

 

    @see http://www.apache.org

    @version $Revision: 1.1 $ $Date: 2002/08/06 09:37:31 $ $Author: behr78 $

    @author Dirk Behrendt <schnoerk@web.de>

    @author Christian Heller <christian.heller@tuxtax.de>

/-->

 

<project name="myworld_sample_application" default="compile" basedir="c:/Studienarbeit/cvs">

 

    <!-- Global properties for this build. -->

    <property name="builddir" value="${basedir}/build"/>

    <property name="libdir" value="${basedir}/lib"/>

    <property name="sub_srcdir" value="${basedir}/src/application/sample/myworld"/>

 

    <property name="name" value="myworld_sample_application"/>

    <property name="package" value="org.resmedicinae.application.sample.myworld"/>

    <property name="packagedir" value="org/resmedicinae/application/sample/myworld"/>

 

    <!-- The classpath. -->

    <path id="classpath">

        <pathelement path="${classpath}"/>

        <fileset dir="${libdir}">

            <include name="**/*.jar"/>

        </fileset>

  <!-- <pathelement location="${builddir}"/> -->

    </path>

 

    <!-- Cleans up old files and directories. -->

    <target name="clean">

        <delete dir="${builddir}/${packagedir}"/>

        <delete>

            <fileset dir="${libdir}">

                <include name="${name}.jar"/>

            </fileset>

        </delete>

    </target>

 

    <!-- Compiles sources. -->

    <target name="compile">

        <!-- Create the time stamp. -->

        <tstamp/>

        <!-- Create the build directory used by compile. -->

        <mkdir dir="${builddir}"/>

  <!-- Compile sources. -->

        <javac srcdir="${sub_srcdir}" destdir="${builddir}" classpath="${classpath}" debug="on" deprecation="on" optimize="on">

            <classpath refid="classpath"/>

        </javac>

  <!-- Copy images. -->

  <copy todir="${builddir}/${packagedir}">

    <fileset dir="${sub_srcdir}/${packagedir}">

      <include name="**/*.jpeg"/>

            <include name="**/*.gif"/>

            <include name="**/*.png"/>

    </fileset>

  </copy>

    </target>

 

    <!-- Creates a distribution directory containing packed file archives. -->

    <target name="archive">

        <!-- Create the directory containing libraries. -->

        <mkdir dir="${libdir}"/>

        <!-- Put everything into a .jar file. -->

        <jar jarfile="${libdir}/${name}.jar" basedir="${builddir}/${packagedir}" includes="**/*.class,**/*.gif,**/*.jpeg,**/*.png"/>

    </target>

 

</project>

 


<<BACK TO THE TOP

 
Copyright (c) 1999-2002. Dirk Behrendt All rights reserved. GNU FDL license. Last Update: 25.06.2002