notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1338 - trunk/main/depot
- Date: Fri, 7 Apr 2006 22:10:49 +0200
Author: mcconnell
Date: 2006-04-07 22:10:49 +0200 (Fri, 07 Apr 2006)
New Revision: 1338
Removed:
trunk/main/depot/module.xml.old
Log:
Deleted: trunk/main/depot/module.xml.old
===================================================================
--- trunk/main/depot/module.xml.old 2006-04-07 19:52:36 UTC (rev 1337)
+++ trunk/main/depot/module.xml.old 2006-04-07 20:10:49 UTC (rev 1338)
@@ -1,208 +0,0 @@
-<?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-depot" default="install" basedir="."
- xmlns:transit="antlib:net.dpml.transit"
- xmlns:x="plugin:dpml/magic/dpml-magic-core">
-
- <transit:import uri="local:template:magic/standard"/>
-
- <target name="init" depends="standard.init">
- <filter token="PROJECT-NAME" value="${project.name}"/>
- <filter token="PROJECT-VERSION" value="${project.version}"/>
- <property name="bundle" value="${basedir}/target/bundle"/>
- </target>
-
- <target name="build" depends="standard.build">
- <x:module index="index.xml">
- <header>
- <svn href="svn://svn.berlios.de/dpml/trunk/main/depot"/>
- <home href="http://www.dpml.net/central/products/depot/"/>
- </header>
- </x:module>
- <x:javadoc>
- <link href="http://java.sun.com/j2se/1.4/docs/api"/>
- <group title="Depot Console">
- <package name="net.dpml.depot"/>
- <package name="net.dpml.depot.exec"/>
- <package name="net.dpml.depot.install"/>
- <package name="net.dpml.depot.prefs"/>
- <package name="net.dpml.depot.audit"/>
- </group>
- <group title="Depot Station">
- <package name="net.dpml.station"/>
- <package name="net.dpml.station.impl"/>
- <package name="net.dpml.profile"/>
- <package name="net.dpml.profile.model"/>
- </group>
- </x:javadoc>
- </target>
-
- <target name="package" depends="standard.package">
-
- <!--
- Grab a copy of the Transit bundle to form the basis for the depot bundle.
- -->
-
- <mkdir dir="${bundle}"/>
- <x:property name="transit.bundle" key="dpml-transit" feature="path"
type="zip"/>
- <unzip src="${dpml.cache}/${transit.bundle}" dest="${bundle}"/>
-
- <!--
- Add the additional content provided by Depot.
- -->
-
- <property name="share" value="${bundle}/share"/>
- <property name="data" value="${bundle}/data"/>
-
- <!-- create the README and LICENSE files-->
- <copy todir="${bundle}" filtering="true">
- <fileset dir="${basedir}">
- <include name="DEPOT_LICENSE.TXT"/>
- <include name="DEPOT_NOTICE.TXT"/>
- <include name="DEPOT_README.TXT"/>
- </fileset>
- </copy>
-
- <!-- build the lib directory -->
-
- <property name="lib" value="${data}/lib"/>
- <mkdir dir="${lib}"/>
- <x:property name="transit.main.version" key="dpml-transit-main"
feature="version"/>
- <x:property name="depot.console.version" key="dpml-depot-console"
feature="version"/>
- <copy
file="${dpml.cache}/dpml/transit/jars/dpml-transit-main-${transit.main.version}.jar"
- toFile="${lib}/dpml-transit-main.jar"/>
- <copy
file="${dpml.cache}/dpml/depot/jars/dpml-depot-console-${depot.console.version}.jar"
- toFile="${lib}/dpml-depot-console.jar"/>
-
- <!-- build the local repository -->
-
- <property name="local" value="${share}/local"/>
- <x:replicate toDir="${local}" verbose="true"/>
-
- <!-- build the bin directory -->
-
- <copy todir="${share}/bin">
- <fileset dir="${basedir}/console/target/bin"/>
- </copy>
-
- <!-- add depot javadocs to the distribution -->
-
- <property name="docs.src" location="${basedir}/target/api"/>
- <property name="docs.dest"
location="${share}/docs/api/${project.group}/${project.version}"/>
- <mkdir dir="${docs.dest}"/>
- <copy todir="${docs.dest}">
- <fileset dir="${docs.src}"/>
- </copy>
-
- <!-- package the platform independent upgrade bundle -->
-
- <x:property name="plugin.uri" key="dpml-depot-install" feature="uri"
type="plugin"/>
- <echo file="${bundle}/BUNDLE">
-dpml.depot.installer.class = net.dpml.depot.install.DepotInstaller
-dpml.depot.installer.uri = ${plugin.uri}
- </echo>
-
- <property name="zip.filename"
-
value="${basedir}/target/deliverables/zips/${project.name}-${project.version}.zip"/>
- <mkdir dir="target/deliverables/zips"/>
- <zip destfile="${zip.filename}" whenempty="create">
- <zipfileset dir="${bundle}">
- <include name="**/*"/>
- <exclude name="share/bin/**"/>
- </zipfileset>
- </zip>
-
- <!-- prepare platform specific binaries -->
-
- <x:dist compression="gzip">
- <fileset dir="${bundle}">
- <include name="*.TXT"/>
- </fileset>
- <zipfileset dir="${bundle}/data" prefix="Data"/>
- <zipfileset dir="${bundle}/prefs" prefix="Preferences"/>
- <zipfileset dir="${bundle}/share" prefix="Shared">
- <exclude name="**/depot"/>
- <exclude name="**/*.sh"/>
- </zipfileset>
- <tarfileset dir="${bundle}/data" prefix="data" mode="644" />
- <tarfileset dir="${bundle}/prefs" prefix="prefs" mode="644" />
- <tarfileset dir="${bundle}/share" prefix="share" mode="444" >
- <exclude name="**/*.bat"/>
- <exclude name="**/depot.exe"/>
- <exclude name="**/depot"/>
- <exclude name="**/*.sh"/>
- </tarfileset>
- <tarfileset dir="${bundle}/share" prefix="share" mode="555" >
- <include name="**/depot"/>
- <include name="**/*.sh"/>
- </tarfileset>
- </x:dist>
- </target>
-
- <target name="install" depends="standard.install">
- <echo>
-#----------------------------------------------------------------------------------
-# Updating DPML DATA ${dpml.data}
-#----------------------------------------------------------------------------------
- </echo>
- <mkdir dir="${dpml.data}"/>
- <copy todir="${dpml.data}" preservelastmodified="true">
- <fileset dir="${share}">
- <include name="docs/**"/>
- </fileset>
- </copy>
- <echo>
-#----------------------------------------------------------------------------------
-# Updating DPML DIST ${dpml.dist}/${project.group}
-#----------------------------------------------------------------------------------
- </echo>
- <property name="export"
location="${dpml.dist}/${project.group}/${project.version}"/>
- <mkdir dir="${export}"/>
- <copy todir="${export}">
- <fileset dir="target/dist"/>
- </copy>
- </target>
-
- <target name="test" depends="standard.test">
- <mkdir dir="target/reports/junit"/>
- <junitreport todir="target/reports/junit">
- <fileset dir=".">
- <include name="**/target/test-reports/TEST-*.xml"/>
- </fileset>
- <report format="frames" todir="target/reports/junit"
styledir="${dpml.prefs}/magic/xsls"/>
- </junitreport>
- </target>
-
- <target name="checkstyle" depends="prepare"
unless="project.checkstyle.disable">
- <x:property name="spec" feature="uri" type="plugin"
key="dpml-magic-checkstyle"/>
- <transit:plugin uri="${spec}">
- <task class="net.dpml.magic.checkstyle.CheckstyleTask"
name="checkstyle"/>
- </transit:plugin>
- <checkstyle>
- <formatter type="xml" toFile="target/checkstyle.xml"/>
- </checkstyle>
- <property name="project.checkstyle.reports"
value="target/reports/checkstyle"/>
- <mkdir dir="${project.checkstyle.reports}"/>
- <style style="${dpml.prefs}/magic/xsls/checkstyle-frames.xsl"
- in="target/checkstyle.xml"
- out="${project.checkstyle.reports}/checkstyle_report.html" />
- </target>
-
-</project>
- r1338 - trunk/main/depot, mcconnell at BerliOS, 04/07/2006
Archive powered by MHonArc 2.6.24.