Hi
Hoping someone here may be able to help me.
I'm trying to see if a file exists in my subversion repository before trying
to create a new file and see that there is a java command but I can't seem
to get it to work. I'm not a java user so would be grateful for any help.
The command I've tried is
<command name="urltest">
<macro>
<sequence>
<choice>
<sequence>
<test xmlns:url="java:java.net.URL
"expression="url:exists('http://www.xmlmind.com/xmleditor/index.html') =
true" />
<command name="alert" parameter="Found"/>
</sequence>
<sequence>
<test xmlns:sys="java:java.lang.System"
expression="sys:exists('http://www.xmlmind.com/xmleditor/index.html') =
false" />
<command name="alert" parameter="Doesn't exists"/>
</sequence>
</choice>
</sequence>
</macro>
</command>
Cheers
Steve