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 parameter values to the site.xml file
Date Mon, 02 Aug 2004 08:50:29 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" />
<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="logging" href="${project.home}/">
	<checkstyle label="Checkstyle Report"
href="checkstylereport/checkstylereport.html" 
		description="Checkstyle Report"/>
......
......

The absolute path is replaced at the href place.

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

bye,
with regards,
Deepak.


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

Mime
View raw message