Is there an Ant task which will perform dos2unix? [Urgent]
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   yogesh_sahu
Posted On:   Saturday, May 3, 2008 09:28 AM


Hi

can anyone help me please?

I am creating the build on windows.I am transfering the generated zip file to linux using ftp.On linux machine i am extracting my zip file.After that i am running my .sh file,so it is giving me error that i know because of End line chars incompatability.

If i do the same thing using dos2linux a.sh command on linux.everything works fine.



I need to perform this using ant.

Is there an Ant task which will perform dos2unix?operation?

It's urgent?
Thanks in advance.
waiting for reply....

Re: Is there an Ant task which will perform dos2unix? [Urgent]

Posted By:   Anonymous  
Posted On:   Thursday, May 8, 2008 06:08 AM

Re: Is there an Ant task which will perform dos2unix? [Urgent]

Posted By:   Anonymous  
Posted On:   Monday, May 5, 2008 06:15 AM

I am not sure wether we have such kind of ant task. But you can use the exec command which will run any command which your command prompt can run. For more details check this link
About | Sitemap | Contact