Code Search for Developers
 
 
  

build.xml from GridBlocks at Krugle


Show build.xml syntax highlighted

<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: build.xml 1319 2007-01-29 14:03:54Z jkarppin $ -->
<project name="gb-agent main builder" default="help" basedir="..">

    <!-- Set the relative path to current module directory -->
    <property name="module.dir" value="${basedir}/gb-agent"/>
    
    <!-- ================================================================== -->
    <!-- Setup the builder environment-->
    <!-- ================================================================== -->

    <!-- Common GridBlocks build scripts -->
    <import file="${basedir}/builder/builder.xml"/>
    <!-- GridBlocks modules and their dependencies -->
    <import file="${basedir}/builder/modules.xml"/>

    <!-- ================================================================= -->
    <!-- Initialisation-->
    <!-- ================================================================= -->
    
    <!-- Initialise the common build system.
         Other targets should depend on this init before doing anything. -->
    <target name="init" unless="builder:initialised" depends="modules:init, builder:init" >
    </target>

    <!-- ================================================================= -->
    <!-- Module dependent configuration-->
    <!-- ================================================================= -->
    
    <!-- Initialise module dependent configurations. Called automatically
         from build script. -->
    <target name="configure">
	<!-- Module name and version -->
	<property name="module.name" value="gb-agent"/>
	<property name="module.version" value="${agent.version}"/>
    
        <!-- fill here your local property names -->
        
        <!-- Additional bootclasspath variables for building-->
        <property name="bootclasspath.local" value=""/>
            
        <!-- External libraries needed for building-->
        <path id="library.classpath">
        </path>
    </target>
    
    <!-- ================================================================= -->
    <!-- Help-->
    <!-- ================================================================= -->

    <target name="help" depends="init,builder:help">
 <echo>
 Full documentation of build tasks can be found 
 from application documents:
      - docs/ant.html
      - http://localhost:8080/gb-agent/docs/ant.html
 </echo>
    </target>

    <!-- ================================================================= -->
    <!-- Default tasks-->
    <!-- ================================================================= -->

    <target name="all" depends="init, clean, release, test"
            description="Clean, compile, test and release everything">
    </target>

    <target name="release" depends="init, release-src, release-agent, release-docs"
            description="Release all modules and sources">
    </target>

    <!-- ================================================================= -->
    <!-- Documenting-->
    <!-- ================================================================= -->

    <target name="release-docs" depends="init"
            description="Build and release documentation of all modules">
        <echo>Entering Plugins module</echo>
        <echo>Entering Bluetooth plugin</echo>
        <ant antfile="${bluetooth.dir}/build.xml"
            target="docs" inheritAll="false"/>
        <echo>Entering MIDP module</echo>
        <ant antfile="${midp.dir}/build.xml"
            target="docs" inheritAll="false"/>
        <echo>Entering Agent module</echo>
        <ant antfile="${agent.dir}/build.xml"
            target="docs" inheritAll="false"/>

        <echo>Entering Appdoc module</echo>
        <ant antfile="${appdoc.dir}/build.xml"
            target="release" inheritAll="false"/>

        <mkdir dir="${release.dir}"/>
        <copy todir="${release.dir}" flatten="true">
            <fileset dir="${appdoc.dir}" includes="${appdoc.release}"/>
        </copy>
    </target>
	
    <!-- ================================================================= -->
    <!-- Binary Releases -->
    <!-- ================================================================= -->

    <target name="release-plugins" 
            depends="init"
            description="Release the Bluetooth module">
        <mkdir dir="${release.dir}"/>
        <echo>Entering Plugins module</echo>
        <echo>Entering Bluetooth plugin</echo>
        <ant antfile="${bluetooth.dir}/build.xml"
            target="release" inheritAll="false"/>
    </target> 
    <target name="release-midp" 
            depends="init, release-plugins"
            description="Release the the Midlet module">
        <echo>Entering MIDP module</echo>
        <ant antfile="${midp.dir}/build.xml"
            target="release" inheritAll="false"/>
        <copy todir="${release.dir}" flatten="true">
            <fileset dir="${midp.dir}" includes="${midp.release}"/>
        </copy>
    </target> 
    <target name="release-agent" 
            depends="init, release-midp"
            description="Release the Agent module">
        <echo>Entering Agent module</echo>
        <ant antfile="${agent.dir}/build.xml"
            target="release" inheritAll="false"/>
        <copy todir="${release.dir}" flatten="true">
            <fileset dir="${agent.dir}" includes="${agent.release}"/>
        </copy>
    </target>

    <!-- ================================================================= -->
    <!-- Source Release -->
    <!-- ================================================================= -->

    <target name="release-src" depends="clean"
            description="Source release of GBAgent including builder module">
        <mkdir dir="${release.dir}"/>
        <jar jarfile="${release.dir}/${module.name}-src-${module.version}.jar">
            <zipfileset dir="${module.dir}" prefix="${release.prefix}">
                <exclude name="${release.dir}*/**"/>
            </zipfileset>
            <zipfileset dir="${builder.dir}" prefix="builder"/>
        </jar>
    </target>

    <!-- ================================================================= -->
    <!-- Testing -->
    <!-- ================================================================= -->

    <target name="test" depends="init"
            description="Unit testing">
        <echo>Entering Agent module</echo>
        <ant antfile="${agent.dir}/build.xml"
            target="test" inheritAll="false"/>
    </target>
    
    <!-- ================================================================= -->
    <!-- Cleaning -->
    <!-- ================================================================= -->

    <target name="clean" depends="init,builder:clean"
            description="Clean up everything">
        <echo>Entering Plugins module</echo>
        <echo>Entering Bluetooth plugin</echo>
        <ant antfile="${bluetooth.dir}/build.xml"
            target="clean" inheritAll="false"/>
        <echo>Entering Appdoc module</echo>
        <ant antfile="${appdoc.dir}/build.xml"
            target="clean" inheritAll="false"/>
        <echo>Entering MIDP module</echo>
        <ant antfile="${midp.dir}/build.xml"
            target="clean" inheritAll="false"/>
        <echo>Entering Agent module</echo>
        <ant antfile="${agent.dir}/build.xml"
            target="clean" inheritAll="false"/>
    </target>
</project>




See more files for this project here

GridBlocks

GridBlocks builds a grid application framework via easy-to-use building blocks in distributed environment. The framework offers components for Grid security, distributed storage, computing, and Portlet web interfaces.

Project homepage: http://sourceforge.net/projects/gridblocks
Programming language(s): Java,JSP,XML
License: other

  gb-agent/
    buildlib/
      httpunit.jar
      jmxri.jar
      jmxtools.jar
      oro.jar
      servlet.jar
    ext/
      aop/
        concurrent.jar
        javassist.jar
        jboss-aop-jdk50.jar
        jboss-aspect-library-jdk50.jar
        trove.jar
      globus/
        cog-jglobus.jar
        cryptix-asn1.jar
        cryptix.jar
        cryptix32.jar
        jgss.jar
      jbossws/
        activation.jar
        jboss-jaxrpc.jar
        jboss-jaxws.jar
        jboss-saaj.jar
        jboss-xml-binding.jar
        jbossws-client.jar
        mailapi.jar
        wsdl4j.jar
    extrastuff/
      cert/
        CA.sh
        gsi.cnf
      compileandrun.sh
      hkka100_with_args.f
    lib/
      bcprov-jdk14-122.jar
      fast-md5.jar
      glite-security-trustmanager.jar
      glite-security-util-java.jar
      jboss-serialization.jar
      jbossxb.jar
    lib-se/
      bsh-2.0b4.jar
      commons-logging.jar
      concurrent.jar
      jboss-common.jar
      jboss-j2ee.jar
      jboss-remoting.jar
      jgroups-core.jar
      juddi.jar
      juddisaaj.jar
      log4j-1.2.8.jar
      scout.jar
      serializer.jar
      xalan.jar
      xercesImpl.jar
    src/
      agents/
        chess/
          data/
          logic/
          ui/
        mandelbrot/
          fractal/
          math/
          ui/
        org/
          grafki/
          nordugrid/
        unosat/
        FileFetcher.java
        FileObserver.java
        HelloWorld.java
        ImageGallery.java
        ImageObserver.java
        NorduGrid.java
        ParallelHello.java
        Shell.java
        Sleeper.java
        Stateful.java
        Webster.java
      bin/
        Client.bat
        client.sh
        compileAgents.bat
        compileAgents.sh
      conf/
        MANIFEST.MF
        defaults.xml
        english.properties
        gb-agent.defaults
        jboss-aop.xml
        log4j.xml
        mobileagent.properties
        wstools-config.xml
      docs/
        admin-guide.pdf
        admin-guide.tex
        gblogo_600.jpg
      etc/
        META-INF/
        WEB-INF/
        MANIFEST.MF
      main/
        fi/
        org/
      resources/
        agents/
        bluetooth/
        mediaplayer/
        attachment.gif
        default_flag.gif
        flag.gif
        gblogo_330.jpg
        host.gif
      test/
        fi/
      web/
        Dispatch.jsp
        Errors.jsp
        Header.jsp
        Jobs.jsp
        Status.jsp
        Submit.jsp
        happyaxis.jsp
    .classpath
    .project
    Build.bat
    CHANGES
    INSTALL
    README
    TODO
    build.sh
    build.xml
    computing.bsh
  gb-docs/
    buildlib/
    src/
    .project
    Build.bat
    build.sh
    build.xml
  gb-midp/
    .settings/
    bin/
    buildlib/
    lib/
    resources/
    src/
    tools/
    .classpath
    .project
    Build.bat
    build.sh
    build.xml
    module.properties
    project.properties
  plugins/
    fi.hip.gb.bluetooth/
  Build.bat
  build.sh
  build.xml