Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1598 - development/main/transit

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1598 - development/main/transit
  • Date: Sat, 29 Jan 2005 03:18:29 +0100

Author: mcconnell
Date: Sat Jan 29 03:18:28 2005
New Revision: 1598

Added:
development/main/transit/dist.xml
Modified:
development/main/transit/module.xml
Log:
Addition of a distribution build file that constructs a transit install setup
containg bin, transit, local and docs subdirectories (effectively a dpml
directory structure).

Added: development/main/transit/dist.xml
==============================================================================
--- (empty file)
+++ development/main/transit/dist.xml Sat Jan 29 03:18:28 2005
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Copyright 2005 Stephen J McConnell
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied.
+
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="dpml-transit-dist" default="install" basedir="."
+ xmlns:magic="antlib:net.dpml.magic"
+ xmlns:x="plugin:dpml/magic/dpml-magic-core" >
+
+ <magic:import uri="artifact:template:dpml/magic/standard"/>
+
+ <target name="install">
+ <property name="dist" value="${basedir}/target/dist"/>
+ <delete dir="${dist}"/>
+ <property name="root" value="${dist}/transit"/>
+ <echo>Adding application properties to ${root}</echo>
+ <mkdir dir="${root}"/>
+ <copy todir="${root}">
+ <fileset dir="handler/target/setup"/>
+ </copy>
+ <x:property name="util.version" id="dpml-util" feature="version"/>
+ <property name="local" value="${dist}/local"/>
+ <echo>Creating local cache content</echo>
+ <mkdir dir="${local}"/>
+ <copy todir="${local}">
+ <fileset dir="../util/target/temp/${util.version}"/>
+ <fileset dir="target/temp/${project.version}"/>
+ </copy>
+ <copy todir="${local}/dpml/util">
+ <fileset dir="../util/target/deliverables">
+ <include name="modules/*.*"/>
+ </fileset>
+ </copy>
+ <copy todir="${local}/dpml/transit">
+ <fileset dir="target/deliverables">
+ <include name="modules/*.*"/>
+ </fileset>
+ </copy>
+ <property name="bin" value="${dist}/bin"/>
+ <echo>Adding scripts from ${bin}</echo>
+ <mkdir dir="${bin}"/>
+ <copy todir="${bin}">
+ <fileset dir="plugin/target/bin"/>
+ </copy>
+ <echo>${dpml.docs}</echo>
+ <property name="api" value="${dist}/docs/api"/>
+ <echo>Adding api documentation from ${api}</echo>
+ <mkdir dir="${api}"/>
+ <copy todir="${api}">
+ <fileset dir="${dpml.docs}/api">
+ <include name="dpml/util/${util.version}/**.*"/>
+ <include name="dpml/transit/${project.version}/**.*"/>
+ </fileset>
+ </copy>
+ </target>
+
+</project>

Modified: development/main/transit/module.xml
==============================================================================
--- development/main/transit/module.xml (original)
+++ development/main/transit/module.xml Sat Jan 29 03:18:28 2005
@@ -38,8 +38,7 @@
</target>

<target name="install" depends="standard.install,docs">
- <property name="root" value="${basedir}/target/temp"/>
- <property name="anchor" value="${root}/${project.version}"/>
+ <property name="anchor"
value="${basedir}/target/temp/${project.version}"/>
<mkdir dir="${anchor}"/>
<x:path id="util.path" type="*" mode="RUNTIME" module="true"/>
<x:replicate refid="util.path" toDir="${anchor}" />



  • svn commit: r1598 - development/main/transit, mcconnell, 01/28/2005

Archive powered by MHonArc 2.6.24.

Top of Page