Code Search for Developers
 
 
  

build.xml from GridBlocks at Krugle


Show build.xml syntax highlighted

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

<!DOCTYPE project [
   <!ENTITY builder SYSTEM "../builder/builder.ent">
   <!ENTITY modules SYSTEM "../builder/modules.ent">
]>

<!-- $Id: build.xml 308 2005-05-31 15:41:43Z jkarppin $ -->
<project name="gb-dummy" default="help" basedir="..">

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

    <!-- Common GridBlocks build scripts
         defined in builder/builder.ent file -->    
    &builder;
    <!-- GridBlocks modules and their dependencies
         defined in builder/modules.ent file -->
    &modules;
    
    <!-- ================================================================= -->
    <!-- Initialisation-->
    <!-- ================================================================= -->
    
    <!-- Initialise the common build system.
         Other targets should depend on this init before doing anything. -->
    <target name="init" unless="builder:initialised" depends="builder:init, modules: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-dummy"/>
	    <property name="module.version" value="0.0.0"/>
    
        <!-- fill here your local property names -->
        
        <!-- Javadoc package includes -->
        <property name="javadoc.packages" value="fi.hip.gb.*"/>

        <!-- Javadoc package includes -->
        <property name="cvs.package" value="dummy"/>
    
        <!-- Additional bootclasspath variables for building-->
        <property name="bootclasspath.local" value=""/>
            
        <!-- External libraries needed for building-->
        <path id="library.classpath">
            <!-- Module dependencies -->
            <path refid="bluetooth.classpath"/>

            <!-- for building -->
            <fileset dir="${module.buildlib}">
                <include name="**/*.jar"/>
            </fileset>
            
            <!-- 3rd party libraries -->
            <fileset dir="${module.lib}">
                <include name="**/*.jar"/>
            </fileset>
        </path>
    </target>
    
    <!-- ================================================================= -->
    <!-- Help-->
    <!-- ================================================================= -->

    <target name="help" depends="init,builder:help">
 <echo>
 This is a sample ANT build script for Gridblocks projects.
 </echo>
    </target>

    <!-- ================================================================= -->
    <!-- Default task-->
    <!-- ================================================================= -->

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

    <!-- ================================================================= -->
    <!-- Compilations-->
    <!-- ================================================================= -->

    <target name="compile" 
            depends="init,builder:compile-classes, builder:compile-etc"
            description="Compile all class files">
    </target>
    
    <!-- ================================================================= -->
    <!-- Documenting-->
    <!-- ================================================================= -->

    <target name="docs" depends="init,builder:docs-api"
            description="Build Java documentation">
    </target>
	
    <!-- ================================================================= -->
    <!-- Archives -->
    <!-- ================================================================= -->

    <target name="jars" depends="init,compile" 
            description="Build JAR files">
        <mkdir dir="${build.lib}"/>
        <!-- core classes -->
        <delete file="${build.lib}/gb-dummy.jar"/>
        <jar jarfile="${build.lib}/gb-dummy.jar" update="false">
            <fileset dir="${build.classes}">
                <include name="fi/hip/gb/**/*.class"/>
            </fileset> 
        </jar>
    </target>
	
    <!-- ================================================================= -->
    <!-- Install and release -->
    <!-- ================================================================= -->

    <target name="release" depends="init, jars, builder:release:jar" 
            description="Release the module">
    </target>

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

    <target name="test" depends="init,builder:test"
            description="Unit testing">
    </target>
    
    <!-- ================================================================= -->
    <!-- Cleaning -->
    <!-- ================================================================= -->

    <target name="clean" depends="init,builder:clean"
            description="Clean up everything">
    </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

  src/
    main/
      fi/
        hip/
          gb/
            module/
              Example.java
    test/
      fi/
        hip/
          gb/
            test/
              module/
                ExampleTest.java
              AllJUnitTests.java
  .classpath
  .project
  Build.bat
  build.sh
  build.xml
  module.properties