[SOLVED]RE: return Substring from java file

2006-04-17 Thread Uma Maheswar
Hi Ben, I have solved the problem. I have changed this line and it works. Thanks for your help. Regards, Uma -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 6:59 PM To: Ant Users List Subject: RE: return Substring from java file

RE: return Substring from java file

2006-04-17 Thread Uma Maheswar
in [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 6:59 PM To: Ant Users List Subject: RE: return Substring from java file Firstly, this seems best suited in a macrodef that can set a property rather than in a custom task. Secondly, doesn't this already do what you want? : Ben

RE: return Substring from java file

2006-04-17 Thread Burgess, Benjamin
e.org Subject: return Substring from java file Hi, I wanted to do "substring" and get the resultant string in the build.xml file. This is my java code import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import java.io.File; public class AntHelper extends Task

return Substring from java file

2006-04-17 Thread Uma Maheswar
Hi, I wanted to do "substring" and get the resultant string in the build.xml file. This is my java code import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import java.io.File; public class AntHelper extends Task { private String message; public void execute(