--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Copyright (c) Members of the EGEE Collaboration. 2004
+ See http://eu-egee.org/partners/ for details on the copyright holders
+ For license conditions see the license file or http://eu-egee.org/license.html
+
+ Build file for the gLite LB Server Deployment Unit
+
+ Authors: Alberto Di Meglio <alberto.di.meglio@cern.ch>
+
+ Version info: $Id$
+ Release: $Name$
+
+ Revision history:
+ $Log$
+-->
+
+<project name="deployment-lb-server" default="dist">
+
+ <!-- =========================================
+ Builds the gLite LB Server Deployment Unit
+ ========================================= -->
+
+ <!-- =========================================
+ 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 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-deploy.file}" />
+
+ <!-- =========================================
+ Load version file
+ ========================================= -->
+ <property file="${module.version.file}"/>
+
+ <!-- ==============================================
+ Local private targets
+ ============================================== -->
+
+ <target name="localinit"
+ description="Module specific initialization tasks">
+ </target>
+
+ <target name="localcompile"
+ description="Module specific compilation tasks">
+ <copy file="${module.project.dir}/${global.prefix}-${component.prefix}.sdf.xml.template"
+ tofile="${module.project.dir}/${global.prefix}-${component.prefix}.sdf.xml" overwrite="true">
+ <filterset>
+
+ </filterset>
+ </copy>
+ </target>
+
+ <target name="localclean"
+ description="Module specific cleaning tasks">
+ </target>
+
+</project>
--- /dev/null
+glite-lb.sdf.xml
--- /dev/null
+<?xml version ="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) Members of the EGEE Collaboration. 2004
+ See http://eu-egee.org/partners/ for details on the copyright holders
+ For license conditions see the license file or http://eu-egee.org/license.html
+-->
+
+<service name="glite-wms-node">
+ <components>
+ </components>
+ <dependencies>
+ </dependencies>
+</service>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output method="xml"
+ indent="yes"
+ encoding="UTF-8"
+ omit-xml-declaration="yes"/>
+
+ <!-- Definition of variables and parameters -->
+ <xsl:param name="repository"/>
+ <xsl:param name="ext-repository"/>
+
+ <!-- global processing -->
+ <xsl:template match="/">
+#!/bin/sh -f
+#
+# glite-wn_installer
+# usage: glite-wn_installer [-u]
+ -u uninstall
+#
+# glite-wn_installer installs the gLite Worker Node Deployment Unit
+#
+ <xsl:apply-templates/>
+# Install dependencies and gLite RPMS
+rpm -Uvh *
+ </xsl:template>
+
+ <xsl:template match="dependencies">
+# Download gLite dependencies RPMS from repository
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="service">
+# Download gLite RPMS from repository
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template name="components" match="components/component">
+ <xsl:variable name="package"><xsl:value-of select="@name"/>-<xsl:value-of select="@version"/>-<xsl:value-of select="@age"/>.1386.rpm</xsl:variable>
+wget <xsl:value-of select="$repository"/><xsl:value-of select="$package"/>
+<!-- rpm -Uvh <xsl:value-of select="$package"/> -->
+ </xsl:template>
+
+ <xsl:template name="dependencies" match="external">
+ <xsl:variable name="package"><xsl:value-of select="@name"/>-<xsl:value-of select="@version"/>-<xsl:value-of select="@age"/>.1386.rpm</xsl:variable>
+wget <xsl:value-of select="$ext-repository"/><xsl:value-of select="$package"/>
+<!-- rpm -Uvh <xsl:value-of select="$package"/> -->
+ </xsl:template>
+</xsl:stylesheet>
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) Members of the EGEE Collaboration. 2004
+ See http://eu-egee.org/partners/ for details on the copyright holders
+ For license conditions see the license file or http://eu-egee.org/license.html
+
+ Common build properties file for the gLite LB Server Node Deployment Unit
+
+ Author: Alberto Di Meglio <alberto.di.meglio@cern.ch>
+ Version info: $Id$
+ Release: $Name$
+
+ Revision history:
+ $Log$
+-->
+
+<project name="gLite LB Server Deployment Unit common properties">
+
+ <!-- Include build properties to allow overwriting
+ of properties for subsystem -->
+ <property file="project/build.properties" />
+
+ <!-- ======================================================
+ Define corresponding subsystem properties
+ ====================================================== -->
+
+ <!-- Subsystem name -->
+ <property name="subsystem.name" value="${deployment.subsystem.name}"/>
+
+ <!-- Subsystem prefix -->
+ <property name="subsystem.prefix" value="${deployment.subsystem.prefix}"/>
+
+ <!-- ======================================================
+ Define component properties
+ ====================================================== -->
+
+ <!-- Component name prefix -->
+ <property name="component.prefix" value="lb" />
+
+ <!-- ======================================================
+ Define general component properties
+ ====================================================== -->
+
+ <import file="${component.general.properties.file}" />
+
+ <!-- ======================================================
+ Define extra properties here ...
+ ====================================================== -->
+
+</project>
--- /dev/null
+module.version=0.0.0
+module.age=0
+module.build=0
\ No newline at end of file