Added standard comments
authorAlberto Di Meglio <alberto.di.meglio@cern.ch>
Tue, 22 Jun 2004 22:06:52 +0000 (22:06 +0000)
committerAlberto Di Meglio <alberto.di.meglio@cern.ch>
Tue, 22 Jun 2004 22:06:52 +0000 (22:06 +0000)
org.glite.lb.common/build.xml

index 4aa4105..1a24084 100755 (executable)
 <?xml version="1.0" encoding="UTF-8" ?>
+<!--
+       Copyright (c) 2004 on behalf of the EU EGEE Project: 
+       The European Organization for Nuclear Research (CERN), 
+       Istituto Nazionale di Fisica Nucleare (INFN), Italy
+       Datamat Spa, Italy
+       Centre National de la Recherche Scientifique (CNRS), France
+       CS Systeme d'Information (CSSI), France
+       Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
+       Universiteit van Amsterdam (UvA), Netherlands
+       University of Helsinki (UH.HIP), Finland
+       University of Bergen (UiB), Norway
+       Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
 
-<project name="lb" default="dist">
+       Build file for the GLite LB Common module
        
+       Authors: Ales Krenek <ljocha@ics.muni.cz>
+       Version info: $Id$
+       Release: $Name$
+
+       Revision history:
+       $Log$
+-->
+
+<project name="common" default="compile">
+       
+       <!-- =========================================
+                Builds the GLite LB Common Module
+                ========================================= -->
+       
+       <!-- =========================================
+            Import properties (order is important)
+                ========================================= -->
+
+       <!-- import baseline & user properties -->
        <import file="../org.glite/project/baseline.properties.xml" />
+
+       <!-- import component build properties,
+                       component properties &
+                       component common properties -->
        <import file="./project/properties.xml"/>
+       
+       <!-- import subsystem build properties,
+                       subsystem properties &
+                       subsystem common properties -->
        <import file="${subsystem.properties.file}"/>
-       <import file="${global.properties.file}" />
 
+       <!-- import global build properties &
+                       global properties -->
+       <import file="${global.properties.file}" />
+               
+       <!-- =========================================
+                Load dependency property files (order is important)
+                ========================================= -->
        <property file="${user.dependencies.file}"/>
        <property file="${component.dependencies.file}" />
        <property file="${subsystem.dependencies.file}" />
        <property file="${global.dependencies.file}"/>
        
+       <!-- =========================================
+                Import task definitions (order is important)
+                ========================================= -->
        <import file="${subsystem.taskdefs.file}" />
        <import file="${global.taskdefs.file}" />
+                       
+       <!-- =========================================
+                Load configure options
+                ========================================= -->
+       <property file="${global.configure.options.file}"/>
 
+       <!-- =========================================
+                Load common targets
+                ========================================= -->
        <import file="${global.targets-external-dependencies.file}"/>   
-       <import file="${global.targets-make.file}" />
-               
-       <property file="${module.version.file}"/>
+       <import file="${global.targets-simple_make.file}" />
+       <import file="${component.configure.options.file}"/>
 
+       <!-- =========================================
+                Load version file 
+                ========================================= -->
+       <property file="${module.version.file}"/>
+               
+       <!-- ==============================================
+                Local private targets
+                ============================================== -->
+       
        <target name="localinit"
                description="Module specific initialization tasks">
-               <antcall target="lbmakefiles"/>
+        <!-- Copy support files from the subsystem project to the component project-->
+               <copy toDir="${module.project.dir}">
+                       <fileset dir="${subsystem.project.dir}">
+                               <include name="at3" />
+                               <include name="*.T" />
+                               <include name="*.pm" />
+                       </fileset>
+               </copy> 
+               <echo>${glite_location}</echo>
+               <antcall target="lbmakefiles" />
        </target>
-
+               
        <target name="localcompile"
                description="Module specific compile tasks">
        </target>
        
        <target name="localclean"
                description="Module specific cleaning tasks">
+               <delete>
+                       <fileset dir="${module.project.dir}">
+                               <include name="at3" />
+                               <include name="*.T" />
+                               <include name="*.pm" />
+                       </fileset>
+               </delete>       
        </target>
        
 </project>