You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Angeshwar Deepak <an...@yahoo.com> on 2004/08/09 13:35:14 UTC

How to pass values to the site.xml file

Hi,

I need to pass the value of parameter to the site.xml.

For example I have the following in my
forrest.build.xml file.

<property name="project.home" value="setup" />
<property name="project.name" value="default" />

<echo>
******** Project home: ${project.home}
</echo>


${project.home} holds the absolute path to some
index.html file.


I want the parameter ${project.home} to be passed to
site.xml in such a way that

......
......
<level2 label="${project.name}"
href="${project.home}/">
	<checkstyle label="Checkstyle Report"
href="checkstylereport/checkstylereport.html" 
		description="Checkstyle Report"/>
......
......

The absolute path is replaced at the place of href
and label name.

How can this be done? Any help reg this will be great.

bye,
with regards,
Deepak.




		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail