You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jw...@apache.org on 2005/05/13 14:04:45 UTC
svn commit: r170012 - /lenya/trunk/src/targets/properties-build.xml
Author: jwkaltz
Date: Fri May 13 05:04:45 2005
New Revision: 170012
URL: http://svn.apache.org/viewcvs?rev=170012&view=rev
Log:
[minor change] update year property; formatting
Modified:
lenya/trunk/src/targets/properties-build.xml
Modified: lenya/trunk/src/targets/properties-build.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/properties-build.xml?rev=170012&r1=170011&r2=170012&view=diff
==============================================================================
--- lenya/trunk/src/targets/properties-build.xml (original)
+++ lenya/trunk/src/targets/properties-build.xml Fri May 13 05:04:45 2005
@@ -1,132 +1,132 @@
-<?xml version="1.0"?>
-<!--
- Copyright 1999-2004 The Apache Software Foundation
-
- 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.
--->
-
-<!-- $Id: properties-build.xml 43145 2004-07-27 03:07:25Z michi $ -->
-
-<project name="lenya-properties">
-
- <description>
- Properties Targets
- </description>
-
- <!-- Set up some global properties -->
- <!--
- Give user a chance to override without editing build.properties
- (local.build.properties takes precedence)
- -->
- <property file="local.build.properties"/>
- <property file="build.properties"/>
-
- <condition property="local.properties.in.sync">
- <equals arg1="${build.properties.version}" arg2="156028"/>
- </condition>
-
- <fail unless="local.properties.in.sync" message="It seems that your local.build.properties is NOT in sync with build.properties! The file build.properties has probably been modified by some Apache Lenya developer. Re-copy build.properties to local.build.properties and re-set your local properties to get the two files back in sync. Please apologoize the inconvenience."/>
-
- <!-- Project version and name -->
- <property name="version" value="1.4-dev"/>
- <property name="fullname" value="${ant.project.name}-${version}"/>
- <property name="distname" value="apache-${ant.project.name}-${version}"/>
- <property name="Name" value="Apache Lenya"/>
- <property name="year" value="1999-2004"/>
-
- <property name="debug" value="on"/>
- <property name="optimize" value="on"/>
- <property name="deprecation" value="off"/>
- <property name="nowarn" value="on"/>
- <property name="target.vm" value="1.4"/>
-
- <property name="packages" value="*.*"/>
-
- <property name="today" value="${TODAY}"/>
-
- <!-- The libraries we use and which are not already included in the cocoon package -->
- <property name="lib.dir" value="lib"/>
- <property name="tools.lib.dir" value="tools/lib"/>
- <!-- All compilation and preparation takes place in build.root -->
- <property name="build.root" value="build"/>
- <!-- Destination for the compliation of our own classes in the "compile" target -->
- <property name="build.dir" value="${build.root}/${ant.project.name}"/>
- <!-- Destination for the filtered source files -->
- <property name="build.src" value="${build.dir}/src"/>
- <!-- Destination for temporary files during the build -->
- <property name="build.temp" value="${build.dir}/temp"/>
- <!-- This is where we assemble the webapp directory in the "webapp" task -->
- <property name="build.webapp" value="${build.dir}/webapp"/>
- <!-- This is where we do the tests -->
- <property name="build.test" value="${build.root}/test"/>
- <!-- All packaging for distribution takes place in dist.root -->
- <property name="dist.root" value="dist"/>
- <!-- The toplevel directory for the final end-user distribution -->
- <property name="dist.bin.dir" value="${dist.root}/${distname}-bin"/>
- <!-- The javadoc destination directory -->
- <property name="dist.bin.javadocs" value="${build.webapp}/site/apidocs"/>
- <!-- The filename of the final end-user war package -->
- <property name="dist.bin.warfile" value="${dist.bin.dir}/${ant.project.name}.war"/>
- <!-- The toplevel directory for the final developer source distribution -->
- <property name="dist.src.dir" value="${dist.root}/${distname}-src"/>
- <!--
- The files that should be copied into the dist
- directory and packed up as tar.gz file, along with the .war file
- -->
- <property name="src.dist.dir" value="./src/dist"/>
- <!--
- The files that should be copied into the source dist
- directory and packed up as tar.gz file, along with the sources etc.
- -->
- <property name="src.dist-src.dir" value="./src/dist-src"/>
- <!-- Our own source code tree is here -->
- <property name="src.java.dir" value="./src/java"/>
- <property name="java.dir" value="src/java"/>
- <!-- This is where the source of the tests are located -->
- <property name="src.test.dir" value="src/test"/>
- <!-- Publication-specific entities are here -->
- <property name="src.entities.dir" value="resources/entities"/>
- <property name="build.entities.dir" value="WEB-INF/entities"/>
- <!--
- Our own webapp resources to be merged with the
- contents of the cocoon webapp are here
- -->
- <property name="src.webapp.dir" value="src/webapp"/>
- <property name="tools.tasks.dest" value="tools/anttasks"/>
- <property name="resource.dir" value="${src.webapp.dir}/resources/css"/>
- <!-- cocoon build properties directory -->
- <property name="src.cocoon.properties.dir" value="src/cocoon"/>
- <!-- hsqldb database config files directory -->
- <property name="src.database.dir" value="src/webapp/WEB-INF/db"/>
-
- <!-- Custom Ant tasks used for building Lenya -->
- <taskdef name="copyJavaSources" classpath="${tools.tasks.dest}" classname="org.apache.lenya.cms.ant.CopyJavaSourcesTask"/>
- <taskdef name="bulkCopy" classpath="${tools.tasks.dest}" classname="org.apache.lenya.cms.ant.BulkCopyTask"/>
- <taskdef name="copyPubs" classpath="${tools.tasks.dest}" classname="org.apache.lenya.cms.ant.CopyTask"/>
- <taskdef name="xpatch" classpath="${tools.tasks.dest}" classname="XConfToolTask"/>
-
-
- <!-- Set up classpath -->
- <path id="classpath">
- <fileset dir="${lib.dir}">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${cocoon.webapp.dir}/WEB-INF/lib">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="tools/jetty/lib">
- <include name="servlet-2.3.jar"/>
- </fileset>
- </path>
-
-</project>
+<?xml version="1.0"?>
+<!--
+ Copyright 1999-2005 The Apache Software Foundation
+
+ 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.
+-->
+
+<!-- $Id: properties-build.xml 43145 2004-07-27 03:07:25Z michi $ -->
+
+<project name="lenya-properties">
+
+ <description>
+ Properties Targets
+ </description>
+
+ <!-- Set up some global properties -->
+ <!--
+ Give user a chance to override without editing build.properties
+ (local.build.properties takes precedence)
+ -->
+ <property file="local.build.properties"/>
+ <property file="build.properties"/>
+
+ <condition property="local.properties.in.sync">
+ <equals arg1="${build.properties.version}" arg2="156028"/>
+ </condition>
+
+ <fail unless="local.properties.in.sync" message="It seems that your local.build.properties is NOT in sync with build.properties! The file build.properties has probably been modified by some Apache Lenya developer. Re-copy build.properties to local.build.properties and re-set your local properties to get the two files back in sync. Please apologoize the inconvenience."/>
+
+ <!-- Project version and name -->
+ <property name="version" value="1.4-dev"/>
+ <property name="fullname" value="${ant.project.name}-${version}"/>
+ <property name="distname" value="apache-${ant.project.name}-${version}"/>
+ <property name="Name" value="Apache Lenya"/>
+ <property name="year" value="1999-2005"/>
+
+ <property name="debug" value="on"/>
+ <property name="optimize" value="on"/>
+ <property name="deprecation" value="off"/>
+ <property name="nowarn" value="on"/>
+ <property name="target.vm" value="1.4"/>
+
+ <property name="packages" value="*.*"/>
+
+ <property name="today" value="${TODAY}"/>
+
+ <!-- The libraries we use and which are not already included in the cocoon package -->
+ <property name="lib.dir" value="lib"/>
+ <property name="tools.lib.dir" value="tools/lib"/>
+ <!-- All compilation and preparation takes place in build.root -->
+ <property name="build.root" value="build"/>
+ <!-- Destination for the compliation of our own classes in the "compile" target -->
+ <property name="build.dir" value="${build.root}/${ant.project.name}"/>
+ <!-- Destination for the filtered source files -->
+ <property name="build.src" value="${build.dir}/src"/>
+ <!-- Destination for temporary files during the build -->
+ <property name="build.temp" value="${build.dir}/temp"/>
+ <!-- This is where we assemble the webapp directory in the "webapp" task -->
+ <property name="build.webapp" value="${build.dir}/webapp"/>
+ <!-- This is where we do the tests -->
+ <property name="build.test" value="${build.root}/test"/>
+ <!-- All packaging for distribution takes place in dist.root -->
+ <property name="dist.root" value="dist"/>
+ <!-- The toplevel directory for the final end-user distribution -->
+ <property name="dist.bin.dir" value="${dist.root}/${distname}-bin"/>
+ <!-- The javadoc destination directory -->
+ <property name="dist.bin.javadocs" value="${build.webapp}/site/apidocs"/>
+ <!-- The filename of the final end-user war package -->
+ <property name="dist.bin.warfile" value="${dist.bin.dir}/${ant.project.name}.war"/>
+ <!-- The toplevel directory for the final developer source distribution -->
+ <property name="dist.src.dir" value="${dist.root}/${distname}-src"/>
+ <!--
+ The files that should be copied into the dist
+ directory and packed up as tar.gz file, along with the .war file
+ -->
+ <property name="src.dist.dir" value="./src/dist"/>
+ <!--
+ The files that should be copied into the source dist
+ directory and packed up as tar.gz file, along with the sources etc.
+ -->
+ <property name="src.dist-src.dir" value="./src/dist-src"/>
+ <!-- Our own source code tree is here -->
+ <property name="src.java.dir" value="./src/java"/>
+ <property name="java.dir" value="src/java"/>
+ <!-- This is where the source of the tests are located -->
+ <property name="src.test.dir" value="src/test"/>
+ <!-- Publication-specific entities are here -->
+ <property name="src.entities.dir" value="resources/entities"/>
+ <property name="build.entities.dir" value="WEB-INF/entities"/>
+ <!--
+ Our own webapp resources to be merged with the
+ contents of the cocoon webapp are here
+ -->
+ <property name="src.webapp.dir" value="src/webapp"/>
+ <property name="tools.tasks.dest" value="tools/anttasks"/>
+ <property name="resource.dir" value="${src.webapp.dir}/resources/css"/>
+ <!-- cocoon build properties directory -->
+ <property name="src.cocoon.properties.dir" value="src/cocoon"/>
+ <!-- hsqldb database config files directory -->
+ <property name="src.database.dir" value="src/webapp/WEB-INF/db"/>
+
+ <!-- Custom Ant tasks used for building Lenya -->
+ <taskdef name="copyJavaSources" classpath="${tools.tasks.dest}" classname="org.apache.lenya.cms.ant.CopyJavaSourcesTask"/>
+ <taskdef name="bulkCopy" classpath="${tools.tasks.dest}" classname="org.apache.lenya.cms.ant.BulkCopyTask"/>
+ <taskdef name="copyPubs" classpath="${tools.tasks.dest}" classname="org.apache.lenya.cms.ant.CopyTask"/>
+ <taskdef name="xpatch" classpath="${tools.tasks.dest}" classname="XConfToolTask"/>
+
+
+ <!-- Set up classpath -->
+ <path id="classpath">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${cocoon.webapp.dir}/WEB-INF/lib">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="tools/jetty/lib">
+ <include name="servlet-2.3.jar"/>
+ </fileset>
+ </path>
+
+</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org