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="ComponentDist" default="help" basedir=".">

	<property file="build.properties" />
  <!-- =================================================================== -->
  <!-- Initialization target                                               -->
  <!-- =================================================================== -->
  <target name="init">
    <property name="Name" value="SmartFrog 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="component.version">No property component.version found in file version.properties</fail>
    <property name="Version" value="${component.version}" />
    <!--property name="Version" value="1.00.000_beta"/-->
    <property name="year" value=""/>
    <echo message=""/>
    <echo message="==================================================================="/>
    <echo message="= ${Name} ${version}, ${name} >
    <echo message=""/>
  </target>

  <!-- =================================================================== -->
  <!-- Help on usage                                                       -->
  <!-- =================================================================== -->
  <target name="help" depends="init">
    <echo message=""/>
    <echo message=""/>
    <echo message="SmartFrog Components ${version} Build file"/>
    <echo message="-------------------------------------------------------------"/>
    <echo message=""/>
    <echo message=" available targets are:"/>
    <echo message=""/>
    <echo message="   build           --> compiles source files into sf-components.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"/>

     <fileset id="smartfrog.lib.fileset"
	    dir="${smartfrog.home}/dist/lib">
      <include name="**/*.jar"/>
    </fileset> 
    
    <fileset id="components.lib.fileset"
	    dir="lib">
      <include name="**/*.jar"/>
    </fileset> 
  <!-- =================================================================== -->
  <!-- Initialization path (Libs needed for compiling)                     -->
  <!-- =================================================================== -->
  <path id="components.class.path">
     <!--pathelement path="${classpath}"/>
     <pathelement location="lib/**.jar"/-->
     <fileset refid="smartfrog.lib.fileset" />
     <fileset refid="components.lib.fileset" />
  </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="components.class.path"/>
    </javac>
    <!--rmic base="${build}" includes="**/*.class">
      <classpath refid="components.class.path"/>
    </rmic-->
    <rmic stubversion="1.2"
          base="${build}"
          verify="true"
          compiler="sun"
          includes="**/*.class">
           <classpath refid="components.class.path"/>
      </rmic>
    <!--  sfExamples.jar                                               -->
    <!-- Create sfExamples.jar file -->
    <jar jarfile="${lib}/sf-components-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="-------Creating Java Docs for ${Name} examples [${jdocs}]----------"/>
    <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="Components Examples Package" packages="org.smartfrog.*"/>
      <classpath refid="components.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

  ant/
    doc/
      ant_readme.pdf
      ant_readme.sxw
    lib/
    src/
      org/
        smartfrog/
          services/
            ant/
              examples/
                example.sf
              Ant.java
              AntImpl.java
              AntProject.java
              AntRuntime.java
              components.sf
              tasks.sf
              types.sf
        Version.java
        version.sf
    test/
      org/
        smartfrog/
          services/
            ant/
              test/
                system/
                  properties.sf
          test/
            system/
              components/
                ant/
                  AntTest.java
                  ant.sf
    .svnignore
    build-postenv.properties
    build.example.properties
    build.xml
    buildRelease.xml
    ivy.xml
    parsertargets
    project-template.pom
    releaseBuild.xml
    rmitargets
  anubis/
    doc/
      AnubisUserGuide.pdf
      HPL-2005-72.pdf
      HPL-2005-73.pdf
    src/
      org/
    .svnignore
    build.example.properties
    build.xml
    buildRelease.xml
    ivy.xml
    releaseBuild.xml
  anubisdeployer/
    src/
    .svnignore
    build.example.properties
    build.xml
    buildRelease.xml
    ivy.xml
    project-template.pom
    releaseBuild.xml
  arithmetic-testharness/
    bin/
    doc/
    lib/
    src/
    .svnignore
    build.example.properties
    build.xml
    buildRelease.xml
    execute.xml
    executeTest.properties
    ivy.xml
    releaseBuild.xml
    rmitargets
    security.xml
  cargo/
    src/
    test/
    .svnignore
    build.xml
    buildRelease.xml
    ivy.xml
    project-template.pom
  cddlm/
    client/
    doc/
    examples/
    lib/
    src/
    test/
    .svnignore
    LICENSE.txt
    build.xml
  constraints/
    lib/
    src/
    build.xml
    ivy.xml
    version.properties
  database/
    doc/
    src/
    test/
    .svnignore
    build.xml
    ivy.xml
  deployapi/
    hosts/
    src/
    test/
    .svnignore
    build.xml
    buildRelease.xml
    demo.xml
    ivy.xml
    libraries.properties
    project-template.pom
  dns/
    doc/
    lib/
    src/
    .svnignore
    build.example.properties
  emailer/
  forrest_skin/
  fun/
  guidelines/
  jboss/
  jetty/
  jmx/
  junit/
  logger/
  loggingservices/
  net/
  persistence/
  quartz/
  releasetest/
  rest/
  scripting/
  sfcoreloggers/
  sfinstaller/
  slp/
  ssh/
  tomcat/
  utils/
  www/
  xml/
  xmpp/
  xunit/
  build.example.properties
  build.xml
  buildRelease-template.xml
  buildRelease.xml
  component_status.xls
  createRelease.xml
  documentation.xml
  libraries.properties
  releaseBuild.xml
  version.properties