You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by ch...@apache.org on 2005/05/17 14:16:41 UTC
svn commit: r170585 - /forrest/trunk/main/forrest.build.xml
Author: cheche
Date: Tue May 17 05:16:40 2005
New Revision: 170585
URL: http://svn.apache.org/viewcvs?rev=170585&view=rev
Log:
patch to add $LANGUAGE to build directory.
Modified:
forrest/trunk/main/forrest.build.xml
Modified: forrest/trunk/main/forrest.build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/forrest.build.xml?rev=170585&r1=170584&r2=170585&view=diff
==============================================================================
--- forrest/trunk/main/forrest.build.xml (original)
+++ forrest/trunk/main/forrest.build.xml Tue May 17 05:16:40 2005
@@ -100,7 +100,16 @@
<property name="build.plugins-dir" value="build/plugins"/>
<property name="forrest.skins-dir" location="${forrest.core.webapp}/skins"/>
<property name="forrest.plugins-dir" location="${forrest.home}/${build.plugins-dir}"/>
- <property name="project.site-dir" location="${project.build-dir}/site" />
+ <!-- If the user wants to build i18n in diferent locations this is one way to implemented it-->
+ <if>
+ <equals arg1="${project.i18n}" arg2="true"/>
+ <then>
+ <property name="project.site-dir" location="${project.build-dir}/site/${env.LANG}" />
+ </then>
+ <else>
+ <property name="project.site-dir" location="${project.build-dir}/site" />
+ </else>
+ </if>
<property name="project.war" location="${project.build-dir}/${project.name}.war" />
<property name="project.webapp" location="${project.build-dir}/webapp" />