forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Chalko <>
Subject Re: [Forrest 0.6] Disabled forrest.antproxy.xml --> How to integrate Forrest in Ant build file?
Date Fri, 21 May 2004 05:50:10 GMT

The problem is that forrest uses some pretty common property names which 
might conflict with what a uses already has in his build.xml


A solution I use at work is to create a ant macro for forrest that fork 
a new ant on

I will post a sample macro tomorrow from work.

> Actually if you don't want any of the forrestbot features (getsrc, 
> deploy, notify, etc) you can import instead of the 
> forrestbot.  Then the 'site' target and any other forrest target can 
> be used in your project.  Here's a very small example, let me know if 
> you need more explanation (somebody remind me to put this as a FAQ...)
> <project name="myproject" default="hello">
>     <property environment="env"/>
>     <import file="${env.FORREST_HOME}/"/>
>     <target name="hello">
>     <echo>hello</echo>
>     </target>
>     <!-- site is a target imported from -->
>     <target name="post-build" depends="site">
>       <echo>something here</echo>
>     </target>
> </project>

View raw message