Code Search for Developers
 
 
  

build.xml from SmartFrog at Krugle


Show build.xml syntax highlighted

<?xml version="1.0"?>
<project name="installer" default="default">

<!--
/** (C) Copyright 1998-2007 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

*/
-->

<description>
    Build file for SFInstaller SmartFrog components.
</description>

   <!-- override point -->
  <property file="build.properties" />
  <property name="root.dir" location="../../"  />
  <property name="is.component" value="true"  />
  <property name="ivy.enabled" value="true"  />

  <!-- Import common stuff -->
  <import file="${root.dir}/common.xml"/>



<!--    <property name="lib.dir" location="lib" description=
                        "place to put third party libraries"/> -->
       
  
 <property name="Name.System" value="SFInstaller"/>   
  <!-- ========================================================== -->
  <!-- ========================================================== -->
  <target name="init" depends="common.init">
    <echo message="==================================================================="/>
    <echo message="= ${ant.project.name}"/>
  </target>


  <!-- ========================================================== -->
  <!-- this is an override point -->
  <!-- set the verified.ok property if everything needed is present -->
  <!-- Do Not Fail. This test is used to control conditional builds -->
  <!-- NB, set property verify.fail.message to something meaningful
       for better diagnostic messages on failure (see assert-prerequisites) 
       -->
  <!-- ========================================================== -->
  <target name="verify-prerequisites" depends="pre-verify-prerequisites">
        <available property="verified.ok"
            classname="org.apache.velocity.app.Velocity"
            classpathref="compile.classpath"
            ignoresystemclasses="false"/>
        <property name="verify.fail.message"
          value="No Velocity in ${toString:compile.classpath}"/>    
  </target>

  <!-- ========================================================== -->
  <!-- create the jar -->
  <!-- ========================================================== -->
  <target name="dist" depends="common.dist,jdocs"  description="create the jar files">
    <copy toDir = "${dist.lib.dir}">
        <fileset dir ="${lib.dir}">
            <include name = "**/*.jar"/>
        </fileset>    
     </copy>
    <copy toDir = "${dist.bin.dir}">
	<fileset dir ="${bin.dir}"/>
    </copy>
     <copy todir = "${dist.doc.dir}">
        <fileset dir ="${doc.dir}" />
    </copy>   
     <copy todir = "${dist.src.dir}">
        <fileset dir ="${src.dir}">
      <include name="**/examples/**"/>
  
    </fileset>
    </copy>  
   <copy tofile="${dist.dir}/build.xml" file="releaseBuild.xml"/>	
   <copy tofile="${dist.dir}/build.example.properties" file="build.example.properties"/>
  </target>



</project>




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

  bin/
    JavaService.exe
    start_sfdaemon.bat
  doc/
    sfinstaller_readme.pdf
    sfinstaller_readme.sxw
  lib/
  src/
    org/
      smartfrog/
        services/
          sfinstaller/
            examples/
              Example.java
            Daemon.java
            FileGen.java
            TemplateGen.java
            doAll
            doAll.bat
            hosts.all
            sfInstaller.vm
      Version.java
      version.sf
  .svnignore
  build.example.properties
  build.xml
  buildRelease.xml
  ivy.xml
  project-template.pom
  releaseBuild.xml