Code Search for Developers
 
 
  

build.xml from SmartFrog at Krugle


Show build.xml syntax highlighted

<?xml version="1.0"?>

<!--
/*
 Service Location Protocol - SmartFrog components.
 Copyright (C) 2004 Glenn Hisdal <ghisdal(a)c2i.net>
 
 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
 
 This library was originally developed by Glenn Hisdal at the 
 European Organisation for Nuclear Research (CERN) in Spring 2004. 
 The work was part of a master thesis project for the Norwegian 
 University of Science and Technology (NTNU).
 
 For more information: http://home.c2i.net/ghisdal/slp.html 
 */
-->

<project name="slp" default="dist" basedir=".">

<description>
Introduction
============
The build script for the SLP library.
To run the build script, ant must be installed
and the ant executable should be in the system path.

The SLP library enables SmartFrog components to be advertised
and located using the Service Location Protocol.


Installing the build tools
==========================
Please go though the installation guide and install ant 1.6 or later.
Reference URL:http://ant.apache.org

</description>

    <!-- override point -->
  <property file="build.properties" />
  <property name="root.dir" location="../../"  />

  <property name="ivy.enabled" value="true"/>
  <property name="is.component" value="true"  />
  <property name="system.tests" value="true"/>

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


  <!-- =================================================================== -->
  <!-- Initialization target                                               -->
  <!-- =================================================================== -->
    <target name="init" depends="init-standard-output-dirs">
      <echo message="==================================================================="/>
      <echo message="= ${ant.project.name}"/>
    </target>



  <!-- ========================================================== -->
  <!-- parse test files -->
  <!-- ========================================================== -->
  <target name="parse" depends="init-codebase,package-tests"
      description="parse the deployment descriptor">
    <property name="parse.quiet" value="true"/>
    <sf-parse quiet="${parse.quiet}">
      <classpath refid="tests.run.classpath"/>
      <sysproperty key="org.smartfrog.codebase"
          value="${codebase}"/>
      <!-- source files -->
      <source dir="${test.src.dir}/org/smartfrog/test/system/components/slp"
          >
        <include name="tcp*.sf" />
        <include name="DirectoryAgent.sf" />
        <include name="ServiceProvider.sf" />
        <include name="ServiceRequestor.sf" />
      </source>
    </sf-parse>
  </target>

  <target name="ready-to-test" depends="common.ready-to-test,parse">
    <condition property="system.tests.really.enabled">
      <and>
        <isset property="system.tests.enabled" />
        <isset property="run.failing.tests" />
      </and>
    </condition>
  </target>

  <target name="system-tests" if="system.tests.really.enabled"
      depends="ready-to-test"
      description="run the system tests">
    <sf-system-test-batch-run />
  </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

  bin/
    sfStartDA
    sfStartDA.bat
    sfTerminateDA
    sfTerminateDA.bat
  doc/
    slp_readme.pdf
    slp_readme.sxw
  lib/
  src/
    org/
      smartfrog/
        services/
          comm/
            slp/
              agents/
                DAInfo.java
                DirectoryAgent.java
                SARefreshTimerTask.java
                SARegistrationThread.java
                SLPAgent.java
                SLPDatabase.java
                SLPDatabaseEntry.java
                SLPMessageCallbacks.java
                SLPMessageSender.java
                SLPRequestHandlers.java
                ServiceAgent.java
                TcpHostEntry.java
                UserAgent.java
              examples/
                ServiceProvider.sf
                ServiceRequestor.sf
              messages/
                AuthBlock.java
                SLPAttrReqMessage.java
                SLPAttrRplyMessage.java
                SLPDAAdvMessage.java
                SLPMessageHeader.java
                SLPSAAdvMessage.java
                SLPSrvAckMessage.java
                SLPSrvDeregMessage.java
                SLPSrvRegMessage.java
                SLPSrvReqMessage.java
                SLPSrvRplyMessage.java
                SLPSrvTypeReqMessage.java
                SLPSrvTypeRplyMessage.java
                URLEntry.java
              network/
                SLPTcpClient.java
                SLPTcpRequestHandler.java
                SLPTcpServer.java
                SlpMulticastClient.java
                SlpSharedUnicastClient.java
                SlpUdpCallback.java
                SlpUdpClient.java
                SlpUnicastClient.java
              sf/
                SFSlpAdvertiser.sf
                SFSlpConfiguration.sf
                SFSlpDA.sf
                SFSlpLocator.sf
              util/
                ParseTree.java
                SLPDefaults.java
                SLPInputStream.java
                SLPOutputStream.java
                SLPUtil.java
                ServiceAttributeEnumeration.java
                ServiceTypeEnumeration.java
                ServiceURLEnumeration.java
              Advertiser.java
              Locator.java
              SFSlpAdvertiser.java
              SFSlpAdvertiserImpl.java
              SFSlpDA.java
              SFSlpDAImpl.java
              SFSlpDeployerImpl.java
              SFSlpLocator.java
              SFSlpLocatorImpl.java
              ServiceLocationAttribute.java
              ServiceLocationEnumeration.java
              ServiceLocationException.java
              ServiceLocationManager.java
              ServiceType.java
              ServiceURL.java
              components.sf
      Version.java
      version.sf
  test/
    org/
      smartfrog/
        test/
          system/
            components/
              slp/
                DirectoryAgent.sf
                SLPTest.java
                ServiceProvider.sf
                ServiceRequestor.sf
                tcn80.sf
                tcn81.sf
                tcn82.sf
                tcn84_SA.sf
                tcn84_UA.sf
                tcp41_SA.sf
                tcp41_UA.sf
  .svnignore
  build.xml
  ivy.xml
  project-template.pom