hudson,
hi,

My script should work both in Unix and winddows, I don't know how to handle
slash (\) in ANT script in this case. Could some one please help me.

For example, how to make below path as a valid path both in windows and
unix, which has both back slash & forward slash
C:\Release\work/src/server/

Please help me.
"C:\Release" will not work under *nix. you could build the release in a project folder like below:
<project>
   |_ build.xml
   |_ src
      |_ main
      |_ test
   |_ build (or release) // this folder will be used for your release :-)

after, if you want to move the build on the server, you can use a build property to set
the root dit where to move this build.

hope this help

S.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to