Code Search for Developers
 
 
  

releaseBuild.xml from SmartFrog at Krugle


Show releaseBuild.xml syntax highlighted

<?xml version="1.0"?>

<!--
/** (C) Copyright 1998-2004 Hewlett-Packard Development Company, LP

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library 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
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

For more information: www.smartfrog.org

*/
-->
<!DOCTYPE project [
     <!ENTITY security SYSTEM "private/buildSecurity.xml">
]>
<!-- ===========================================================================



Introduction
============
To Be Written





Installing the build tools
==========================
To Be Written



Build targets
=============
These are the meaningful targets for this build file:
 - build
 - jdocs
-->

<project  name="AnubisDist" default="help" basedir=".">
  <!-- =================================================================== -->
  <!-- Initialization target                                               -->
  <!-- =================================================================== -->
  <target name="init">
    <property name="Name" value="Anubis Component"/>
    <property name="name" value="(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP"/>
    <property name="version" value="DIST"/>
    <loadproperties srcFile="version.properties"/>
    <fail unless="sf.build.version">No property sf.build.version found in file version.properties</fail>
    <property name="Version" value="${sf.build.version}" />
    <!--property name="Version" value="1.00.000_beta"/-->
    <property name="year" value=""/>
    <echo message=""/>
    <echo message="==================================================================="/>
    <echo message="= ${Name} ${version}"/>
    <echo message="= ${name} "/>
    <echo message="==================================================================="/>
  </target>

  <!-- =================================================================== -->
  <!-- Help on usage                                                       -->
  <!-- =================================================================== -->
  <target name="help" depends="init">
    <echo message=""/>
    <echo message=""/>
    <echo message="Anubis Component ${version} Build file"/>
    <echo message="-------------------------------------------------------------"/>
    <echo message=""/>
    <echo message=" available targets are:"/>
    <echo message=""/>
    <echo message="   build           --> compiles source files into sf-emailer-examples.jar"/>
    <echo message="   jdocs           --> creates jdocs for sources"/>
    <echo message=""/>
    <echo message=" See the comments inside the build.xml file for more details."/>
    <echo message=""/>
    <echo message=" -- ${Name}--"/>
    <echo message=""/>
    <echo message="-------------------------------------------------------------"/>
    <echo message=""/>
    <echo message=""/>
  </target>

  <!-- =================================================================== -->
  <!-- Global properties                                                   -->
  <!-- =================================================================== -->
     <property name="dist" value="."/>
     <property name="bin" value="bin"/>
     <property name="lib" value="lib"/>
     <property name="docs" value="docs"/>
     <property name="build" value="classes"/> <!-- all protected files -->
     <property name="src" value="src"/> <!-- all protected files -->
     <property name="debugmode" value="on"/> <!-- turn on compile -g -->
     <property name="jdocs" value="${dist}/${docs}/jdocs"/>
     
  <!-- =================================================================== -->
  <!-- Initialization path (Libs needed for compiling)                     -->
  <!-- =================================================================== -->
  <path id="anubis.class.path">
	  <pathelement path="${classpath}"/>
	  <pathelement location="lib/**.jar"/>
     <!--pathelement location="lib/sf-anubislib.jar"/-->
  </path>

  <!-- =================================================================== -->
  <!--  Creates directories                                                -->
  <!-- =================================================================== -->
  <target name="initbuild"  depends="init">
     <mkdir dir="${build}"/>
  </target>


  <!-- =================================================================== -->
  <!-- clean                                                               -->
  <!-- =================================================================== -->
  <target name="cleanBuild" depends=""  description="Restores the distribution to its clean state">
    <!-- Delete the ${build} ${dist} ${jdocs} directory trees -->
    <!-- remove parser source files -->
    <delete dir="${build}"/>
    <delete dir="${jdocs}"/>
  </target>

  <!-- =================================================================== -->
  <!--   Copy .sf  files to "build" directories                                                                   -->
  <!-- =================================================================== -->
  <target name="copyFiles" depends="initbuild">
    <copy todir="${build}">
      <fileset dir="${src}">
        <include name="**/*.sf*" />
      </fileset>
    </copy>
  </target>

  <!-- =================================================================== -->
  <!--   Compiles source directory                                                                 -->
  <!-- =================================================================== -->
  <target name="build" depends="copyFiles,initbuild" description="Compiles source code">
    <!-- Compile the java code from ${src} into ${build} -->
    <javac srcdir="${src}" destdir="${build}" debug="${debugmode}" compiler="javac1.4" source="1.4">
      <classpath refid="anubis.class.path"/>
    </javac>
    <rmic base="${build}" includes="**/*.class">
      <classpath refid="anubis.class.path"/>
    </rmic>
    <!--  sfExamples.jar                                               -->
    <!-- Create sfExamples.jar file -->
    <jar jarfile="${lib}/sf-anubis-examples.jar"
         basedir="${build}"
         includes="**/examples/**"/>
  </target>

  <!-- =================================================================== -->
  <!--   JDocs                                                                  -->
  <!-- =================================================================== -->
  <target name="jdocs" depends="init" description="Generates the API documentation">
    <!--  Java Docs for all                                                -->
    <echo message=""/>
    <echo message="------------------------------------------------------------------------"/>
    <echo message="  Creating Java Docs for ${Name} examples [${jdocs}]"/>
    <echo message="------------------------------------------------------------------------"/>
    <mkdir dir="${jdocs}"/>
    <javadoc packagenames="org.smartfrog.*"
           sourcepath="${src}"
           destdir="${jdocs}"
           author="true"
           version="true"
           Header="${Name.System} ${Version}"
           Footer="${Name.System} ${version} ${Version}"
           use="true"
           windowtitle="${Name}"
           doctitle="${Name}"
           bottom="${name}"
           source="1.4">
      <group title="Anubis Examples Package" packages="org.smartfrog.*"/>
      <classpath refid="anubis.class.path"/>
    </javadoc>
  </target>

</project>



<!-- End of file -->





See more files for this project here

SmartFrog

SmartFrog (Smart Framework for Object Groups) is a framework for configuring and automatically activating distributed applications. \r\nThe SmartFrog framework is released under LGPL license.\r\nMore info at: www.smartfrog.org

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

  doc/
    AnubisUserGuide.pdf
    HPL-2005-72.pdf
    HPL-2005-73.pdf
  src/
    org/
      smartfrog/
        services/
          anubis/
            basiccomms/
              connectiontransport/
                ConnectionAddress.java
                ConnectionAddressData.java
                ConnectionComms.java
                ConnectionFactory.java
                ConnectionServer.java
                DefaultConnectionFactory.java
              multicasttransport/
                MulticastAddress.java
                MulticastAddressData.java
                MulticastAddressException.java
                MulticastComms.java
              components.sf
            components/
              examples/
                AnubisCompound.java
                AnubisPrim.java
                GroupListener.java
                GroupMember.java
                GroupMonitor.java
                PartitionNotices.java
                StabilityNotices.java
                TestComp.java
                components.sf
                examples.sf
            examples/
              testApp.sf
            locator/
              msg/
                RegisterMsg.java
              names/
                ListenerProxy.java
                NameData.java
                ProviderInstance.java
                ProviderProxy.java
              registers/
                GlobalRegisterImpl.java
                LocalListeners.java
                LocalProviders.java
                LocalRegisterImpl.java
                StabilityQueue.java
              subprocess/
                AdapterTerminatedException.java
                DuplicateSPLocatorException.java
                Liveness.java
                PeriodicTimer.java
                SPListener.java
                SPListenerAdapterImpl.java
                SPListenerImpl.java
                SPLocatorAdapter.java
                SPLocatorAdapterImpl.java
                SPLocatorData.java
                SPLocatorImpl.java
                SPProviderRegRet.java
                SPStability.java
                SPStabilityAdapterImpl.java
                SPStabilityImpl.java
                UnknownSPLocatorException.java
              test/
                Driver.java
                Test.java
              util/
                ActiveTimeQueue.java
                BlockingQueue.java
                DebugFrame.java
                SetMap.java
                SortedSetMap.java
                TimeQueue.java
                TimeQueueElement.java
                TimeoutErrorLogger.java
              AnubisListener.java
              AnubisLocator.java
              AnubisProvider.java
              AnubisStability.java
              AnubisValue.java
              Locator.java
              ValueData.java
              components.sf
            partition/
              comms/
              protocols/
              test/
              util/
              views/
              wire/
              PMTest.java
              Partition.java
              PartitionManager.java
              PartitionNotification.java
              Status.java
              components.sf
            Anubis.java
            AnubisServiceCompound.java
            components.sf
            locator.sf
            pmConsole.sf
      Version.java
      version.sf
  .svnignore
  build.example.properties
  build.xml
  buildRelease.xml
  ivy.xml
  releaseBuild.xml