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
-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
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(