forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angeshwar Deepak <angesh...@yahoo.com>
Subject How to pass values to the site.xml file
Date Mon, 09 Aug 2004 11:35:14 GMT
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 

Mime
View raw message