maven-scm-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt" <zkoppanyl...@intland.com>
Subject RE: How to use scm from Java
Date Tue, 14 Mar 2006 17:25:56 GMT
Thank you Emmanuel,

and how can I add new commands?

For example provider.listFiles...

Zsolt

>-----Original Message-----
>From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
>Sent: Tuesday, March 14, 2006 5:35 PM
>To: scm-users@maven.apache.org
>Subject: Re: How to use scm from Java
>
>I must write a doc about it.
>
>1- Create a manager that extends
>org.apache.maven.scm.manager.AbstractScmManager
>2- ScmProvider provider = manager.getProviderByUrl( scmUrl )
>3- provider.checkout(...)
>
>If you create your own manager, you'll need to add in it all providers, if
>you don't want to do it,
>you can add Plexus ScmManager like we do it in maven-scm-client
>
>Emmanuel
>
>Zsolt a écrit :
>> Hi,
>>
>> how can I use maven-scm from Java.
>>
>> For example I want to checkout something from CVS or Subversion fro my
>Java
>> application instead of starting "cvs" or "svn" via shell.
>>
>> Zsolt
>>
>>
>>
>>
>>
>>
>>


Mime
View raw message