Hi,
i want to load a property and convert it to upper case like that =
propertyfile contains just one line :
project=bla
<loadproperties srcFile="T:\test\project.txt">
<filterchain>
<scriptfilter language="javascript">
self.setToken(self.getToken().toUpperCase());
</scriptfilter>
</filterchain>
</loadproperties>
<echo>
${project}
</echo>
-> that gives me {project} not set
with
<echo>
${PROJECT}
</echo>
it works. So property and value are converted, but i want only
the value in upper case.
Problem = the property is used behind my snippet with {project}
How to convert only the value of project toUpperCase() with javascript ??
Any ideas, i've used javascript only in connection with html (DOM) so far ?
Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]