Code Search for Developers
 
 
  

build.xml from GridBlocks at Krugle


Show build.xml syntax highlighted

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

<project name="gb-bluetooth" default="help" basedir="../../..">
    
    <!-- Set the relative path to current module directory -->
    <property name="module.dir" value="${basedir}/gb-agent/plugins/fi.hip.gb.bluetooth"/>
    
    <!-- ================================================================== -->
    <!-- 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="fi.hip.gb.bluetooth"/>
	    <property name="module.version" value="${agent.version}"/>
    
        <!-- 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="bluetooth"/>
    
        <!-- Additional bootclasspath variables for building-->
        <property name="bootclasspath.local" value=""/>
            
        <!-- External libraries needed for building-->
        <path id="library.classpath">
            <!-- Module dependencies -->

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

    <target name="help" depends="init,builder:help">
 <echo>
Bluetooth support for J2ME/SE environments.
 </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"
            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 with JSR82 API -->
        <delete file="${module.dir}/${bluetooth.jar}"/>
        <!--
        <unjar src="${module.lib}/BlueCove-20050623.jar" dest="${build.classes}"/>
        -->
        <jar jarfile="${module.dir}/${bluetooth.jar}" update="false">
            <fileset dir="${build.classes}">
                <include name="fi/hip/gb/**/*.class"/>
                <!--
                <include name="javax/bluetooth/*.class"/>
                <include name="javax/microedition/io/*.class"/>
                -->
            </fileset> 
        </jar>
    </target>
	
    <!-- ================================================================= -->
    <!-- Install and release -->
    <!-- ================================================================= -->

    <target name="release" depends="init, jars" 
            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

  .settings/
    org.eclipse.jdt.core.prefs
    org.eclipse.jdt.ui.prefs
  lib/
    BlueCove-20050623.jar
  src/
    etc/
      .empty_dir
    main/
      fi/
        hip/
          gb/
            bluetooth/
              coordconv/
                LatitudeLongitude.java
              util/
                Properties.java
                StringTokenizer.java
              AgentService.java
              BTListener.java
              BTService.java
              EndPoint.java
              GPSResult.java
              NmeaService.java
              Service.java
              Util.java
    resources/
      bt_compatible.png
      bt_connected.png
  .classpath
  .project
  build.xml