You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2002/11/03 16:35:55 UTC
cvs commit: xml-forrest/src/resources/forrestbot/samples README.txt bot.xml forrest-site-local.xml forrest-template-cvs.xml forrest-template-local.xml
jefft 2002/11/03 07:35:55
Added: src/resources/forrestbot/samples README.txt bot.xml
forrest-site-local.xml forrest-template-cvs.xml
forrest-template-local.xml
Log:
Forrestbot sample scripts
Revision Changes Path
1.1 xml-forrest/src/resources/forrestbot/samples/README.txt
Index: README.txt
===================================================================
This directory contains sample forrestbot scripts.
As of 2002-11-04, only the following work out the box:
forrest-site-local.xml
forrest-template-cvs.xml
forrest-template-local.xml
To run one of these, type 'forrestbot -Dbot.config=<name>', where <name> is the
script.
1.1 xml-forrest/src/resources/forrestbot/samples/bot.xml
Index: bot.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
<!DOCTYPE forrest-config SYSTEM "forrest-config.dtd">
DTD will be added once the remote build process
has been finished and debugged (SN)
This file contains the configuration for the forrestbot:
- which projects to build
- using which parameters
-->
<forrest-config>
<defaults>
<get-src type="cvs">
<host name="localhost"/>
<root name="/usr/local/src/CVS"/>
<user name="jeff"/>
<!--
<passwd name="..."/>
-->
</get-src>
<deploy type="scp">
<host name="localhost"/>
<root name="/home/jeff"/>
<user name="jeff"/>
</deploy>
</defaults>
<!--
<defaults/>
<defaults>
<get-src type="cvs">
<host name="cvs.apache.org"/>
<root name="/home/cvspublic"/>
<user name="anoncvs"/>
<passwd name="anoncvs"/>
</get-src>
<get-src type="local-copy" >
<project-dir name="." />
</get-src>
<deploy type="scp">
<host name="krysalis.sourceforge.net"/>
<root name="/home/groups/k/kr/krysalis/htdocs"/>
<user name="forrestbot"/>
</deploy>
<generate>
<skin name="forrest-site"/>
<debuglevel name="ERROR" />
</generate>
</defaults>
-->
<project name="forrest-template">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="cvs">
<module name="xml-forrest"/>
<dir name="src/resources/fresh-site"/>
</get-src>
<deploy type="scp">
<dir name="public_html/forrest-site"/>
</deploy>
<!--
<deploy type="local-copy">
<destination name="build/site"/>
</deploy>
-->
</project>
<!--
<project name="incubator-site">
<prepare>
<skin name="forrest-site"/>
</prepare>
<!-
<get-src type="local-copy">
<project-dir name="/home/jeff/apache/incubator-site" />
<content-dir name="src/documentation"/>
</get-src>
->
<get-src type="cvs">
<module name="incubator-site"/>
<dir name=""/>
</get-src>
<deploy type="local-copy">
<destination name="build/site"/>
</deploy>
</project>
<project name="incubator-site-local">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="local-copy">
<project-dir name="/home/jeff/apache/incubator-site" />
<content-dir name="src/documentation"/>
</get-src>
<deploy type="local-copy">
<destination name="build/site"/>
</deploy>
</project>
<project name="xml-forrest-local">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="local-copy">
<project-dir name="/home/jeff/apache/xml/xml-forrest" />
<content-dir name="src/documentation"/>
</get-src>
<deploy type="local-copy">
<destination name="build/site"/>
</deploy>
</project>
<project name="xml-forrest">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="cvs">
<module name="xml-forrest"/>
<dir name=""/>
</get-src>
<!-
<deploy type="scp">
<dir name="forrest"/>
</deploy>
->
<deploy type="local-copy">
<destination name="build/site"/>
</deploy>
</project>
-->
<!-- will not work on other server, depends on local content -->
<!--
<project name="outerthought.net">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="local-copy">
<content-dir name="../outerthought.net"/>
</get-src>
<deploy type="local-copy">
<destination name="/usr/local/apache/htdocs"/>
</deploy>
</project>
-->
</forrest-config>
1.1 xml-forrest/src/resources/forrestbot/samples/forrest-site-local.xml
Index: forrest-site-local.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Forrestbot sample config file.
Copies the Forrest 'template' site (ie, that used by "forrest seed") from the
local hard drive and builds it.
jefft@apache.org
-->
<forrest-config>
<defaults/>
<project name="forrest-site">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="local-copy">
<project-dir name="../../../../" />
<content-dir name="."/>
</get-src>
<deploy type="local-copy">
<destination name="build/forrest-site"/>
</deploy>
</project>
</forrest-config>
1.1 xml-forrest/src/resources/forrestbot/samples/forrest-template-cvs.xml
Index: forrest-template-cvs.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Forrestbot sample config file.
Fetches the Forrest 'template' site (ie, that used by "forrest seed") from CVS
and builds it.
jefft@apache.org
-->
<forrest-config>
<defaults>
<get-src type="cvs">
<host name="cvs.apache.org"/>
<root name="/home/cvspublic"/>
<user name="anoncvs"/>
<passwd name="anoncvs"/>
</get-src>
<!--
<deploy type="scp">
<host name="localhost"/>
<root name="/home/jeff"/>
<user name="jeff"/>
</deploy>
-->
</defaults>
<project name="forrest-template">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="cvs">
<module name="xml-forrest"/>
<dir name="src/resources/fresh-site"/>
</get-src>
<deploy type="local-copy">
<destination name="build/template-site"/>
</deploy>
<!--
<deploy type="scp">
<dir name="public_html/forrest-site"/>
</deploy>
-->
</project>
</forrest-config>
1.1 xml-forrest/src/resources/forrestbot/samples/forrest-template-local.xml
Index: forrest-template-local.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Forrestbot sample config file.
Copies the Forrest 'template' site (ie, that used by "forrest seed") from the
local hard drive and builds it.
jefft@apache.org
-->
<forrest-config>
<defaults/>
<project name="forrest-template">
<prepare>
<skin name="forrest-site"/>
</prepare>
<get-src type="local-copy">
<project-dir name="../../fresh-site" />
<content-dir name="."/>
</get-src>
<deploy type="local-copy">
<destination name="build/site"/>
</deploy>
</project>
</forrest-config>