Code Search for Developers
 
 
  

modules.xml from GridBlocks at Krugle


Show modules.xml syntax highlighted

<!-- $Id: 

Common place to define GridBlocks modules so that they can be used
easily by other modules without specific knowledge of release
files, dependencies etc.

Only properties defined here can be used. 
Description of properties:

xxx.dir is the absolute root directory of the module
xxx.release describes release files of the module (ones put into sourceforge)
xxx.jars is the list of jar files for other modules to fullfil their dependencies
xxx.classpath is the classpath that contains all dependency classes for other modules
xxx.docs is the path for javadocs to be included into gb-docs release
xxx.available is the condition used to determine if the module is build correctly
-->

<project>
<target name="modules:init">
    <!-- Agent module -->
    <property name="agent.dir" value="${basedir}/gb-agent/gb-agent"/>
    <property name="agent.version" value="1.2.0"/>
    <property name="agent.release" value="output/gb-agent-*.?ar"/>
    <property name="agent.jars" value="output/lib/gb-*.jar"/>
    <condition property="agent.available">
        <and>
            <available file="gb-core.jar" filepath="${agent.dir}/output/lib"/>
            <available file="gb-server.jar" filepath="${agent.dir}/output/lib"/>
        </and>
     </condition>
    <property name="agent.docs" value="output/docs/javadoc"/>
    <condition property="agentdoc.available">
        <available file="${agent.dir}/${agent.docs}" type="dir"/>
     </condition>
    <path id="agent.classpath">
		<pathelement path="${agent.dir}/output/lib/gb-client.jar"/>
        <pathelement path="${agent.dir}/output/lib/gb-core.jar"/>
		<pathelement path="${agent.dir}/output/lib/gb-server.jar"/>
    </path>

    <!-- Bluetooth module -->
    <property name="bluetooth.dir" value="${basedir}/gb-agent/plugins/fi.hip.gb.bluetooth"/>
    <property name="bluetooth.version" value="0.9.5"/>
    <property name="bluetooth.jar" value="output/lib/fi.hip.gb.bluetooth.jar"/>
    <property name="bluetooth.jars" value="${bluetooth.jar} lib/BlueCove-20050623.jar"/>
    <property name="bluetooth.docs" value="output/docs/javadoc"/>
    <condition property="btdoc.available">
        <available file="${bluetooth.dir}/${bluetooth.docs}" type="dir"/>
     </condition>
    <path id="bluetooth.classpath">
        <pathelement path="${bluetooth.dir}/lib/BlueCove-20050623.jar"/>
        <pathelement path="${bluetooth.dir}/${bluetooth.jar}"/>
    </path>
    <condition property="bluetooth.available">
        <available file="${bluetooth.dir}/${bluetooth.jar}"/>
     </condition>
    
    <!-- Application document release -->
    <property name="appdoc.dir" value="${basedir}/gb-agent/gb-docs"/>
    <property name="appdoc.release" value="output/gb-docs-*.jar"/>
    <condition property="appdoc.available">
        <and>
            <available file="${appdoc.dir}/output/docs" type="dir"/>
            <available file="${appdoc.dir}/output/docs/images" type="dir"/>
            <available file="${appdoc.dir}/output/docs/index.html"/>
        </and>
    </condition>

    <!-- MIDlet client release -->
    <property name="midp.dir" value="${basedir}/gb-agent/gb-midp"/>
    <property name="midp.release" value="output/gb-midp-*"/>
    <property name="midp.docs" value="output/docs/javadoc"/>
    <condition property="midpdoc.available">
        <available file="${midp.dir}/${midp.docs}" type="dir"/>
     </condition>
    <condition property="midp.available">
        <and>
            <available file="gb-midp-${agent.version}.jad" filepath="${midp.dir}/output"/>
            <available file="gb-midp-${agent.version}.jar" filepath="${midp.dir}/output"/>
        </and>
    </condition>

    <!-- GBDisk release -->
    <property name="disk.dir" value="${basedir}/gb-disk"/>
    <property name="disk.release" value="output/gb-disk-*"/>
    <property name="disk.jar" value="output/lib/gb-disk.jar"/>
    <property name="disk.jars" value="${disk.jar} lib/jboss-aop.jar lib/jboss-cache.jar lib/javassist.jar lib/trove.jar lib/fast-md5.jar lib/onion-*.jar"/>
    <property name="disk.docs" value="output/docs/javadoc"/>
    <condition property="diskdoc.available">
        <available file="${disk.dir}/${disk.docs}" type="dir"/>
     </condition>
    <condition property="disk.available">
        <and>
            <available file="${disk.dir}/${disk.jar}"/>
        </and>
    </condition>
    <path id="disk.classpath">
        <pathelement path="${disk.dir}/${disk.jar}"/>
        <fileset dir="${disk.dir}/lib">
            <include name="*.jar"/>
        </fileset>
    </path>
</target>

<target name="require:agent" depends="modules:init" unless="agent.available">   
    <echo message="**************************************************"/>
    <echo message="Error: Cannot find required GBAgent dependencies "/>
    <echo message="       ${agent.jars} from ${agent.dir}."/>
    <echo message="**************************************************"/>
    <fail message="Build GBAgent first."/>
</target>

<target name="require:appdoc" depends="modules:init" unless="appdoc.available">   
    <echo message="**************************************************"/>
    <echo message="Error: Cannot include application documents from "/>
    <echo message="       ${appdoc.dir}/${appdoc.release}"/>
    <fail message="Build Application documents first."/>
    <echo message="**************************************************"/>
</target>

<target name="require:agentdoc" depends="modules:init" unless="agentdoc.available">   
    <echo message="**************************************************"/>
    <echo message="Error: Cannot find Agent Java documentation from "/>
    <echo message="       ${agent.dir}/${agent.docs}"/>
    <echo message="**************************************************"/>
    <fail message="Build Agent Javadoc first."/>
</target>
<target name="require:midpdoc" depends="modules:init" unless="midpdoc.available">   
    <echo message="**************************************************"/>
    <echo message="Error: Cannot find Midlet client Java documentation from "/>
    <echo message="       ${midp.dir}/${midp.docs}"/>
    <echo message="**************************************************"/>
    <fail message="Build Midp Javadoc first."/>
</target>
<target name="require:btdoc" depends="modules:init" unless="btdoc.available">   
    <echo message="**************************************************"/>
    <echo message="Error: Cannot find Bluetooth Java documentation from "/>
    <echo message="       ${bluetooth.dir}/${bluetooth.docs}"/>
    <echo message="**************************************************"/>
    <fail message="Build Bluetooth Javadoc first."/>
</target>

<target name="require:bluetooth" depends="modules:init" unless="bluetooth.available">   
    <echo message="**************************************************"/>
    <echo message="Error: Cannot find required bluetooth dependencies "/>
    <echo message="       ${bluetooth.libs} from ${bluetooth.dir}."/>
    <echo message="**************************************************"/>
    <fail message="Build Bluetooth pluging first."/>
</target>

<target name="require:midp" depends="modules:init" unless="midp.available">   
    <echo message="**************************************************"/>
    <echo message="Warning: Cannot include midlet client since releases "/>
    <echo message="         ${midp.release} at ${midp.dir}"/>
    <echo message="         are not available."/>   
    <echo message="**************************************************"/>
    <echo message="Build Midlet client first in order to include it to the release."/>
</target>

<target name="require:disk" depends="modules:init" unless="disk.available">   
    <echo message="**************************************************"/>
    <echo message="Error: Cannot find required GBDisk dependencies "/>
    <echo message="       ${disk.jars} from ${disk.dir}."/>
    <echo message="**************************************************"/>
    <fail message="Build GBDisk first."/>
</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

  buildlib/
    ant-junit.jar
    ant-launcher.jar
    ant.jar
    buildmagic-tasks.jar
    cruisecontrol.jar
    junit-4.1.jar
  legal/
    LICENSE
    LICENSE.axis
    LICENSE.chello
    LICENSE.cocoon
    LICENSE.cruisecontrol
    LICENSE.cryptix
    LICENSE.edg
    LICENSE.ermapper
    LICENSE.globus
    LICENSE.httpunit
    LICENSE.jaf
    LICENSE.javamail
    LICENSE.maybeupload
    LICENSE.resolver
  .project
  CHANGES
  README
  autoload.properties
  build.properties
  builder.xml
  local.properties
  modules.xml