You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2008/02/20 13:51:32 UTC
svn commit: r629443 - in
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher:
default.plugin.properties.xml locationmap.xml
Author: thorsten
Date: Wed Feb 20 04:51:30 2008
New Revision: 629443
URL: http://svn.apache.org/viewvc?rev=629443&view=rev
Log:
Introducing a new property to easily rename the extensions of a contract.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml?rev=629443&r1=629442&r2=629443&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml Wed Feb 20 04:51:30 2008
@@ -20,6 +20,7 @@
<property name="dispatcher.fallback.theme" value="common"/>
<property name="dispatcher.theme-ext" value=".fv"/>
<property name="dispatcher.fallback.theme-ext" value=".fv"/>
+ <property name="dispatcher.contract-ext" value=".ft"/>
<property name="dispatcher.themer" value="org.apache.forrest.themes.core"/>
<property name="dispatcher.home" value="org.apache.forrest.plugin.internal.dispatcher"/>
<property name="dispatcher.caching" value="on" />
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml?rev=629443&r1=629442&r2=629443&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml Wed Feb 20 04:51:30 2008
@@ -273,22 +273,22 @@
src="{lm:themer.project.dir}/{properties:dispatcher.theme}/{1}/{2}.ft" />
<!-- project-based default fallback -->
<location
- src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}/{1}/{2}.ft" />
+ src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}/{1}/{2}{properties:dispatcher.contract-ext}" />
<!-- plugin provided contracts -->
<location src="{lm:resolvePluginContract.{1}.{2}}" />
<!-- forrest-application-based theme -->
<location
- src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/{1}/{2}.ft" />
+ src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/{1}/{2}{properties:dispatcher.contract-ext}" />
<location
- src="{properties:forrest.plugins}/org.apache.forrest.themes.core/themes/common/{1}/{2}.ft"
+ src="{properties:forrest.plugins}/org.apache.forrest.themes.core/themes/common/{1}/{2}{properties:dispatcher.contract-ext}"
/>
<!-- forrest-application-based default fallback -->
<location
- src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/{1}/{2}.ft"
+ src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/{1}/{2}{properties:dispatcher.contract-ext}"
/>
<!-- forrest-application-based no found -->
<location
- src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/{1}/noFt.ft"
+ src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/{1}/noFt{properties:dispatcher.contract-ext}"
/>
</select>
</match>