[SOLVED]RE: return Substring from java file

2006-04-17 Thread Uma Maheswar
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 -Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 9:14 AM To: user@ant.apache.org Su

RE: return Substring from java file

2006-04-17 Thread Uma Maheswar
-Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 9:14 AM To: user@ant.apache.org Subject: return Substring from java file Hi, I wanted to do "substring" and get the resultant string in the build.xml file. Thi

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(