Problems creating my own ant task

2010-11-04 Thread abridgel
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

Re: Problems creating my own ant task

2010-11-04 Thread abridgel
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

Re: Problems creating my own ant task

2010-11-04 Thread Alexey N. Solofnenko
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

Re: Problems creating my own ant task

2010-11-04 Thread abridgel
)- 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

Re: Problems creating my own ant task

2010-11-04 Thread Alexey N. Solofnenko
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

Re: Problems creating my own ant task

2010-11-04 Thread Dominique Devienne
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