You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2006/01/13 17:07:18 UTC
svn commit: r368765 - in /forrest/trunk/plugins: build.xml
pluginTemplate/build.xml
Author: rgardler
Date: Fri Jan 13 08:07:11 2006
New Revision: 368765
URL: http://svn.apache.org/viewcvs?rev=368765&view=rev
Log:
add a couple of new properties - starting to make way for using the plugin framework for themes as well
Modified:
forrest/trunk/plugins/build.xml
forrest/trunk/plugins/pluginTemplate/build.xml
Modified: forrest/trunk/plugins/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/build.xml?rev=368765&r1=368764&r2=368765&view=diff
==============================================================================
--- forrest/trunk/plugins/build.xml (original)
+++ forrest/trunk/plugins/build.xml Fri Jan 13 08:07:11 2006
@@ -38,6 +38,10 @@
<property name="plugin.lib.dir" value="lib"/>
<property name="plugin.resources.dir" value="resources"/>
<property name="plugin.stylesheets.dir" value="${plugin.resources.dir}/stylesheets"/>
+ <property name="plugin.docServer" value="http://localhost:8888"/>
+ <property name="plugin.docPath" value="docs/plugins"/>
+ <property name="plugin.downloadServer" value="http://localhost:8888"/>
+ <property name="plugin.downloadPath" value="plugins"/>
<property name="deploy.svn.user" value=""/>
<property name="deploy.svn.password" value=""/>
@@ -369,7 +373,7 @@
<input message="Provide a brief description of what the plugin does"
addproperty="plugin-desc"/>
<input message="What type of plugin do you wish to create? "
- validargs="input,output,internal"
+ validargs="input,output,internal,theme"
addproperty="plugin-type"/>
<mkdir dir="${plugin-name}"/>
<mkdir dir="${plugin-name}/${plugin.src.dir}"/>
@@ -383,6 +387,10 @@
<filter token="plugin-name" value="${plugin-name}"/>
<filter token="plugin-type" value="${plugin-type}"/>
<filter token="plugin-desc" value="${plugin-desc}"/>
+ <filter token="plugin-docServer" value="${plugin.docServer}"/>
+ <filter token="plugin-docPath" value="${plugin.docPath}"/>
+ <filter token="plugin-downloadServer" value="${plugin.downloadServer}"/>
+ <filter token="plugin-downloadPath" value="${plugin.downloadPath}"/>
</filterset>
</copy>
Modified: forrest/trunk/plugins/pluginTemplate/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/pluginTemplate/build.xml?rev=368765&r1=368764&r2=368765&view=diff
==============================================================================
--- forrest/trunk/plugins/pluginTemplate/build.xml (original)
+++ forrest/trunk/plugins/pluginTemplate/build.xml Fri Jan 13 08:07:11 2006
@@ -22,8 +22,8 @@
<property name="plugin-version" value="0.1-dev"/>
<property name="description" value="@plugin-desc@"/>
<property name="author" value="Apache Forrest Project"/>
- <property name="websiteURL" value="http://forrest.apache.org/docs/plugins/@plugin-name@"/>
- <property name="downloadURL" value="http://forrest.apache.org/plugins/"/>
+ <property name="websiteURL" value="@plugin-docServer@/@plugin-docPath@/@plugin-name@"/>
+ <property name="downloadURL" value="@plugin-downloadServer@/@plugin-downloadPath@/"/>
<import file="../build.xml"/>