You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "William G. Thompson, Jr." <wg...@softcom.com> on 2000/08/02 21:33:15 UTC

How to contribute new Task?

Folks,

Hi, I'm hoping someone can help me out or point in the right direction. 
I've read the Guildlines and it talks about how to submit a patch, but
not new code.  Are you excepting additional optional Tasks?  I have one
coded up for XMLC from the Enhydra.org project.  XMLC compiles XML
documents to Java DOMs implementing the W3C Java bindings.  The Task is
modeled after the one for Javac and will keep your XML and .class files
in sync.

Do I just post the code? as an attachment?

Thanks,
Bill
-- 
Bill Thompson | geek
"I'd rather write programs to write programs than write programs" 
bill@softcom.com | t: 732 283 5900 | f: 732 283 5757
http://www.softcom.com | Making Video Interactive

Re: new XMLC Taskdef

Posted by "William G. Thompson, Jr." <wg...@softcom.com>.
Conor MacNeill wrote:
> 
> Bill,
> 
> Probably best not to mail a 1 Meg file to everyone on the ant-dev list :-)
duly noted.

> 
> What are your expectations for the xmlc.jar file that you included? What
> licence is it covered by? I notice some gnu classes in it, so I presume it
> has some form of GNU licence.
I provided xmlc.jar as a convience.  The Task calls XMLC, but I had to
tweak that code to make it work.  I am hoping that the Enhydra folks
will add the changes to the main distribution so that people can just
get it from them.

> I see that you directly invoke the enhydra classes. IANAL, but there may be
> licensing issues involved which would prevent this code being included in
> the ant source tree. Can anyone else comment on this?
IANALE, but I don't believe there is a licensing issue.  No GPL code is
in there.
XMLC is covered under EPL a variation of the MPL.
http://www.enhydra.org/software/license/index.html

gnu.regexp.*; is LGPL 

Does this sound right?

Bill

RE: new XMLC Taskdef

Posted by Conor MacNeill <co...@m64.com>.
Bill,

Probably best not to mail a 1 Meg file to everyone on the ant-dev list :-)

What are your expectations for the xmlc.jar file that you included? What
licence is it covered by? I notice some gnu classes in it, so I presume it
has some form of GNU licence.

I see that you directly invoke the enhydra classes. IANAL, but there may be
licensing issues involved which would prevent this code being included in
the ant source tree. Can anyone else comment on this?

Cheers
Conor


> -----Original Message-----
> From: wgthom@post.softcom.com [mailto:wgthom@post.softcom.com]On Behalf
> Of William G. Thompson, Jr.
> Sent: Friday, 4 August 2000 0:15
> To: ant-dev@jakarta.apache.org; markd@lurtis.com
> Subject: new XMLC Taskdef
>
>
> Folks,
>
> Attached is an XMLC Task for Ant.  XMLC is the XML compiler from
> Enhydra.org that converts XML(and HTML) documents to Java classes
> implementing the W3C Java DOM.
> I had to slightly tweak XMLC to get it to play nice with Ant.  I'm
> hoping the XMLC folks will add the change to the main tree.
>
> Attached is:
> xmlctask.jar
> - contains task source, api docs, README, xmlc.jar, xmlctask.jar
>
> XMLC.java
> - the source
>
> We have found the xmlc task useful, I hope you do as well.
> Cheers,
> Bill


new XMLC Taskdef

Posted by "William G. Thompson, Jr." <wg...@softcom.com>.
Folks,

Attached is an XMLC Task for Ant.  XMLC is the XML compiler from
Enhydra.org that converts XML(and HTML) documents to Java classes
implementing the W3C Java DOM.  
I had to slightly tweak XMLC to get it to play nice with Ant.  I'm
hoping the XMLC folks will add the change to the main tree.

Attached is:
xmlctask.jar 
- contains task source, api docs, README, xmlc.jar, xmlctask.jar

XMLC.java 
- the source

We have found the xmlc task useful, I hope you do as well.
Cheers,
Bill

Re: How to contribute new Task?

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "WGT" == William G Thompson, <wg...@softcom.com> writes:

 WGT> Are you excepting additional optional Tasks?

Yes. Ant will need a new interface to work with extension tasks and
we'll probably need to restructure the build process and directory
layout of the repository sooner or later. But definitively yes.

 WGT> Do I just post the code? as an attachment?

Probably yes - even if it only was for others who'd be interested in
it. 

And please don't expect it to get added to the repository within a few
hours.

Stefan