ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abridgel <Andy.Bridge...@gmail.com>
Subject Re: Problems creating my own ant task
Date Thu, 04 Nov 2010 20:09:51 GMT

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 it is complainning with the above error -
here is my code (for the task)- 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-task-tp3248855p3250792.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message