ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Salter <marksal...@talktalk.net>
Subject Re: Using Ant Tasks programmatically - SignJar Tasl
Date Wed, 05 Nov 2008 19:47:16 GMT
Daniele Development-ML wrote:

> I am trying to use Ant Task programmatically by invoking the API within my
> Java code.
You need a Project :-

	SignJar sj = new SignJar();
	sj.setProject(new Project());

I surmised this by stepping through the code, but only 'blindly'.
I guess all tasks need a project (it's presence is presumed), but I
would hope this would be stated somewhere - I am going looking now.

-- 
Mark

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


Mime
View raw message