[Hypercontent-users] Not found and not authorized error messages problem with trailing slash
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2007-02-19 05:24:03
|
Hi, In order to get rid of the error message which comes after the build, introduced a custom error message <variable name="href" value="${abs-project-base}/my-screen.html"/> but still it showed the same error, As I wanted the constant error message in project definition in the build url I gave the following <build base-url="http://localhost:8080/hypercontent/testproject/testfolder/buildmessage.html"> − <filesystem-def name="Author" type="local"> <argument index="0" value="/home/test/installations/hypercontent/build"/> </filesystem-def> </build> Well then it looks ok but instead of going to base-url it goes to base-url/ How can I get rid of the last traling "/" from where it get appended. Irrespective of where build or buildAll I want to show the same my-message.html, my build.xml looks as follows <workflow binding="/**/,/**/*.*"> − <event name="build" permissions="build"> <variable name="builder" value="${actor}"/> <render delete="true" destination="/build/" force="false"/> <nq who="${builder}"/> <nq q="building"/> </event> − <event name="build-all" permissions="build"> <variable name="builder" value="${actor}"/> <render delete="true" destination="/build/" force="false" path="/"/> <nq who="${builder}"/> <nq q="building"/> </event> − <event name="view-built" permissions="read"> <redirect location="${abs-project-base}/build/"/> </event> − <q id="building"> − <event name="batch-complete"> <dq/> <nq q="built"/> </event> </q> − <q id="built"> − <event name="batch-reset"> <dq/> <nq q="building"/> </event> − <event name="discard" who="${builder}"> <dq/> <dq who="${builder}"/> </event> </q> </workflow Thanks ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail |