You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Gene Margolin <gm...@FUTURESOURCE.COM> on 2000/08/25 22:03:47 UTC

cvs java client inside ant

Now ant uses exec function to call cvs. Sometimes it does not work properly.
Is it a good idea to insert ant's own cvs java client instead of calling
Runtime.exec(cvs)?
Many cvs java clients are already implemented.
Gene.




Re: cvs java client inside ant

Posted by Patrick Beard <be...@netscape.com>.
At 3:03 PM -0500 8/25/00, Gene Margolin wrote:
>Now ant uses exec function to call cvs. Sometimes it does not work properly.
>Is it a good idea to insert ant's own cvs java client instead of calling
>Runtime.exec(cvs)?

Yes, it's a great idea. I've been working on one, but would be happy 
to know if there are better ones out there. The protocol is kind of 
weird. I've used jCVS before, but have had a few problems with it. 
Obviously, for ant, we'd just want a non-UI based CVS client.

- Patrick
-- 

// Patrick C. Beard
// Java Runtime Enthusiast -- "Will invoke interfaces for food."
// mailto:beard@netscape.com

Re: cvs java client inside ant

Posted by Jesse Glick <Je...@netbeans.com>.
Peter Donald wrote:
> 
> At 03:03  25/8/00 -0500, you wrote:
> >Now ant uses exec function to call cvs. Sometimes it does not work properly.
> >Is it a good idea to insert ant's own cvs java client instead of calling
> >Runtime.exec(cvs)?
> >Many cvs java clients are already implemented.
> 
> Unfortunately they are GPL which is an incompatble license with Apache
> licensing schem  - the onluy possibility is the one over at netbeans but no
> one has stepped up to base afaik

FYI: yes, http://javacvs.netbeans.org/ hosts an in-progress
Java-implemented CVS client which may be license-compatible with Ant (I
don't know for sure). It is in active development and is improving, so
anyone interested in it should check up on it periodically (or better,
offer to contribute); I am sure its authors would welcome the extra
stress-testing from use in a different environment.

-Jesse

-- 
Jesse Glick   <ma...@netbeans.com>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR

Re: cvs java client inside ant

Posted by Peter Donald <do...@mad.scientist.com>.
At 03:03  25/8/00 -0500, you wrote:
>Now ant uses exec function to call cvs. Sometimes it does not work properly.
>Is it a good idea to insert ant's own cvs java client instead of calling
>Runtime.exec(cvs)?
>Many cvs java clients are already implemented.

Unfortunately they are GPL which is an incompatble license with Apache
licensing schem  - the onluy possibility is the one over at netbeans but no
one has stepped up to base afaik
Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

RE: cvs java client inside ant

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

The issue to date has been the licensing arrangements of those java CVS
clients. Many use the GPL which is incompatible with ant's Apache licence.

Conor


> -----Original Message-----
> From: Gene Margolin [mailto:gmargolin@FUTURESOURCE.COM]
> Sent: Saturday, 26 August 2000 6:04
> To: ant-dev@jakarta.apache.org
> Subject: cvs java client inside ant
>
>
> Now ant uses exec function to call cvs. Sometimes it does not
> work properly.
> Is it a good idea to insert ant's own cvs java client instead of calling
> Runtime.exec(cvs)?
> Many cvs java clients are already implemented.
> Gene.
>
>
>