Code Search for Developers
 
 
  

build.xml from SmartFrog at Krugle


Show build.xml syntax highlighted

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

<!--
/** (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

*/
-->

<description>
    Build file for Log4J, JCL,... loggers.
</description>


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


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

  <property name="is.component" value="true"  />

<!--    <property name="net.lib.dir" location="lib" description=
                        "place to put third party libraries"/>
        -->



 <property name="Name.System" value="sfLoggingServices"/>

  <!-- ========================================================== -->
  <!-- ========================================================== -->
  <target name="init" depends="init-standard-output-dirs,use-smartfrog-tasks">

    <!-- the compile time path includes net-->
<!--     <path id="compile.classpath">
      <path refid="smartfrog.classpath"/>
      <fileset dir="${net.lib.dir}">
        <include name="**/*.jar"/>
      </fileset>
    </path>

    <path id="run.classpath">
      <path refid="compile.classpath"/>
      <path location="${target.jar}" />
    </path>
     -->
    <tstamp/>
    <property name="Name.Company" value="(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP"/>
    <property name="version" value="smartfrog logging services"/>
    <!--property name="Version" value="1.00.000_beta"/-->
    <property name="year" value="2006"/>
    <property name="releases.dir" value="releases"/>
    <echo message=""/>
    <echo message="==================================================================="/>
    <echo message="= ${Name.System} ${version}, ${Name.Company} (${ant.version})"/>
  </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.log4j.Logger"
          classpathref="compile.classpath"
          ignoresystemclasses="false"/>
      <property name="verify.fail.message"
        value="No apache Log4J found"/>
  </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}"/>
    </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

  doc/
    loggingservices_readme.sxw
  lib/
    commons-logging-api-1.0.4.jar
    log4j-1.2.13.jar
  src/
    org/
      smartfrog/
        services/
          logging/
            jcl/
              front/
                CommonsLogFactory.java
                CommonsLogFrontEnd.java
            log4j/
              LogToLog4J.java
              LogToLog4JImpl.java
              logtolog4jimpl.sf
      Version.java
      version.sf
  .svnignore
  build.example.properties
  build.xml
  buildRelease.xml
  ivy.xml
  project-template.pom
  releaseBuild.xml