morning.
--
View this message in context:
http://ant.1045680.n5.nabble.com/Problems-creating-my-own-ant-task-tp3248855p3248855.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user
I'm desperate can anybody help?
--
View this message in context:
http://ant.1045680.n5.nabble.com/Problems-creating-my-own-ant-task-tp3248855p3250761.html
Sent from the Ant - Users mailing list archive at Nabble.com
With scriptdef it is now rare that you need to write a task in Java.
Have you tried it? Maybe also in conjunction with macrodef.
- Alexey.
On 11/4/2010 12:53 PM, abridgel wrote:
I'm desperate can anybody help?
===
Notice: This e-mail message, together with any attachments, contains
)- its very simple.
import java.io.*;
import java.util.*;
import org.apache.tools.ant.Task;
public class Diff extends Task{
public void execute() {
System.out.println(Hello);
}
}
--
View this message in context:
http://ant.1045680.n5.nabble.com/Problems-creating-my-own-ant
Well, I am still adding custom tasks the old way:
taskdef resource=net/sf/antcontrib/antcontrib.properties
classpath
pathelement location=lib/build/antcontrib/ant-contrib.jar/
/classpath
/taskdef
- Alexey.
On 11/4/2010 1:09 PM, abridgel wrote:
We need to write our own tasks because of
On Thu, Nov 4, 2010 at 3:09 PM, abridgel andy.bridge...@gmail.com wrote:
We need to write our own tasks because of portability issues. So I need to be
able to source in the task somehow
I created the jar and put the classes and antlib.xml in the same directory
however when I try to pull it in