You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/10/18 16:09:50 UTC
svn commit: rev 55013 - in forrest/trunk: . src/core src/core/targets
Author: crossley
Date: Mon Oct 18 07:09:49 2004
New Revision: 55013
Modified:
forrest/trunk/build.xml
forrest/trunk/src/core/forrest.build.xml
forrest/trunk/src/core/targets/context.xml
forrest/trunk/src/core/targets/skins.xml
Log:
Change property name "version" to "forrest.version" to prevent collisions
with other build systems when using the Ant <import> task.
Modified: forrest/trunk/build.xml
==============================================================================
--- forrest/trunk/build.xml (original)
+++ forrest/trunk/build.xml Mon Oct 18 07:09:49 2004
@@ -32,7 +32,7 @@
<xmlproperty file="properties.xml" keeproot="false" collapseAttributes="true" />
<property name="name" value="apache-forrest"/>
- <property name="version" value="0.7-dev"/>
+ <property name="forrest.version" value="0.7-dev"/>
<property name="java.dir" location="src/java"/>
<property name="build.dir" location="build"/>
@@ -62,7 +62,7 @@
Project Name ${ant.project.name}
Java Version ${ant.java.version}
Timestamp ${DSTAMP}${TSTAMP}
- This is: ${name} ${version}
+ This is: ${name} ${forrest.version}
--------------------------------------------------------------
</echo>
@@ -102,11 +102,11 @@
<target name="release-dist" depends="init, dist-clean, dist-shbat"
description="Makes release distributions">
- <property name="release-name-bin" value="${name}-${version}"/>
+ <property name="release-name-bin" value="${name}-${forrest.version}"/>
<zip
file="${dist.dir}/${release-name-bin}.zip" >
<zipfileset dir="${dist-shbat.dir}" prefix="${release-name-bin}"/>
- <zipfileset dir="etc" prefix="${release-name-bin}" includes="RELEASE-NOTES-${version}.txt"/>
+ <zipfileset dir="etc" prefix="${release-name-bin}" includes="RELEASE-NOTES-${forrest.version}.txt"/>
</zip>
<tar longfile="gnu" compression="gzip"
destfile="${dist.dir}/${release-name-bin}.tar.gz" >
@@ -123,7 +123,7 @@
<include name="**/ant"/>
<include name="**/forrest"/>
</tarfileset>
- <tarfileset prefix="${release-name-bin}" dir="etc" includes="RELEASE-NOTES-${version}.txt"/>
+ <tarfileset prefix="${release-name-bin}" dir="etc" includes="RELEASE-NOTES-${forrest.version}.txt"/>
</tar>
</target>
Modified: forrest/trunk/src/core/forrest.build.xml
==============================================================================
--- forrest/trunk/src/core/forrest.build.xml (original)
+++ forrest/trunk/src/core/forrest.build.xml Mon Oct 18 07:09:49 2004
@@ -26,7 +26,7 @@
<project default="site" basedir="." name="forrest">
- <property name="version" value="0.7-dev"/>
+ <property name="forrest.version" value="0.7-dev"/>
<property name="forrest.root-dir" location="${forrest.home}/../.."/>
@@ -235,7 +235,7 @@
to be used later by Cocoon. -->
<echo file="${project.temp-dir}/build-info.xml"><info>
<project-skin>${project.skin}</project-skin>
- <forrest-version>${version}</forrest-version>
+ <forrest-version>${forrest.version}</forrest-version>
</info>
</echo>
</target>
Modified: forrest/trunk/src/core/targets/context.xml
==============================================================================
--- forrest/trunk/src/core/targets/context.xml (original)
+++ forrest/trunk/src/core/targets/context.xml Mon Oct 18 07:09:49 2004
@@ -73,15 +73,15 @@
<copy toDir="${project.webapp}/WEB-INF" filtering="false"
overwrite="true" failonerror="false">
<fileset dir="${conf-dir}">
- <exclude name="*-${version}.xconf"/>
+ <exclude name="*-${forrest.version}.xconf"/>
</fileset>
</copy>
<copy toDir="${project.webapp}/WEB-INF" filtering="false" overwrite="true"
failonerror="false">
<fileset dir="${conf-dir}">
- <include name="*-${version}.*"/>
+ <include name="*-${forrest.version}.*"/>
</fileset>
- <mapper type="glob" from="*-${version}.xconf" to="*.xconf"/>
+ <mapper type="glob" from="*-${forrest.version}.xconf" to="*.xconf"/>
</copy>
</target>
Modified: forrest/trunk/src/core/targets/skins.xml
==============================================================================
--- forrest/trunk/src/core/targets/skins.xml (original)
+++ forrest/trunk/src/core/targets/skins.xml Mon Oct 18 07:09:49 2004
@@ -37,7 +37,7 @@
<target name="package-skin" description="Make a package of an existing skin" depends="init-props">
<input message="Which skin do you want to package?"
addproperty="skin-name"/>
- <zip destfile="${forrest.skins-dir}/${skin-name}-${version}.zip"
+ <zip destfile="${forrest.skins-dir}/${skin-name}-${forrest.version}.zip"
basedir="${forrest.skins-dir}/"
includes="${skin-name}/**"/>
</target>
@@ -114,11 +114,11 @@
style="${forrest.home}/var/skinlist2fetch.xsl"
force="true">
<param name="skin-name" expression="${project.skin}"/>
- <param name="forrest-version" expression="${version}"/>
+ <param name="forrest-version" expression="${forrest.version}"/>
</xslt>
<ant antfile="${project.temp-dir}/skinlist2fetchbuild.xml"/>
</sequential>
</for>
</target>
-</project>
\ No newline at end of file
+</project>