You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by hi...@accenture.com on 2005/09/14 14:22:14 UTC

moving from windows to unix

Hello folks,
We are going to move our system and code from windows to unix, and so are the ant scripts of course.
My question is the following:
-does it take any headaches to do ant script migration from win32 to unix?(i personally don't see a lot of changes but well..).
-If so ,what do u guys advise to pay attention to?

Thanks.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.


Re: moving from windows to unix

Posted by Andrew Goktepe <an...@gmail.com>.
Start with these:
 - all <exec> calls within the build files
- any batch files that are used to setup environment variables and call Ant 
will have to be converted to shell scripts with the appropriate syntax
- watch for backslashes anywhere and change them
- remember that files and directories in UNIX are case-sensitive, while this 
is not true in Windows - any differences between the names as used in the 
build scripts and those on the filesystem will be exposed as soon as you try 
to run on UNIX.
- strip any DOS end-of-line characters out of your scripts (usually just an 
annoyance, but can cause problems)
 I hope this helps.
 -Andrew
 On 9/14/05, hind.lwahhabi@accenture.com <hi...@accenture.com> 
wrote: 
> 
> Hello folks,
> We are going to move our system and code from windows to unix, and so are 
> the ant scripts of course.
> My question is the following:
> -does it take any headaches to do ant script migration from win32 to 
> unix?(i personally don't see a lot of changes but well..).
> -If so ,what do u guys advise to pay attention to?
> 
> Thanks.
> 
> 
> This message is for the designated recipient only and may contain 
> privileged, proprietary, or otherwise private information. If you have 
> received it in error, please notify the sender immediately and delete the 
> original. Any other use of the email by you is prohibited.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>