ANT script to telnet to Windows 2008 R2 server.

2012-02-29 Thread Nehal Patel
Hello, I'd like to use telnet and connect to another Windows server; yes TELNET Server is installed on the target server. Here is my task: $ dir > test.txt $ And here is my output: D:\User1>C:\apache-ant-1.7.1\bin\ant -buildfile install-deploy.xml Buildfile: install-deploy.xml main: conne

Re: Update property value in file and retaining format.

2012-01-18 Thread Nehal Patel
gt; replace="\1xxx" > > I haven't tested it but something like that should preserve "test2" and > all the tabs around it, while still replacing the bit you actually want to > change, which is whatever comes after the = sign. > > HTH! > > > ---

Update property value in file and retaining format.

2012-01-13 Thread Nehal Patel
Hello, Having an problem updating the value of in a property file and retaining the format. For example i have the following stuff.properties: test1 =aaa test2 =bbb test3 =ccc I run the following: I get the following: test1 =aaa test2=