[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[jcvs] Code Examples  XML
Forum Index » JCVS Mailing List
Author Message
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>Hello,

I'm quite new to jCVS and would like to implement it into some kind of
setup-tool for remedy's AR-Server. Each Server-Object exists as single
text-file in CVS (passed via jalindi igloo SCC-API), an application built
with AR-Server consists of about 1000 objects/files. All files a release
consists of are tagged in CVS. Now I'd like to implement jCVS to select a
specific version and export all files of it to a temp-directory from which
another program (or module) imports them into the AR-Server.
It would be a lot of help if you could post some links to code-examples,
especially regarding the following topics:

- starting a session with a remote CVS-Server
- getting a list of all available projects
- getting a list of all tags/releases of a project
- getting all files of a specific tag

thanks a lot,
Matthias Minich

</pre>

jCVS Maoiling List arvhive.
[WWW]
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>Hi Matthias,

First, if I understand your needs, I would like to suggest that the simplest
solution for you might be to use JavaScript. There is a directory in the source,
com/ice/jcvsii/javascript, that contains some example scripts. In there, you
will find export.js, a JavaScript that does what you want.

Otherwise, for code samples, I recommend jCVS II, ProjectFrame and the
ExportPanel.

As for your topics, there is no "way" to get the list of available projects. You
can list them in a file, but it is not dynamic. There are ways around this, but
they are not elegant (i.e. perform recursive status commands). The list of all
tags and releases, again, is performed by brute force status commands, and
getting all files of a specific tag is just a qualified checkout or export.

Tim.

> Hello,
>
> I'm quite new to jCVS and would like to implement it into some kind of
> setup-tool for remedy's AR-Server. Each Server-Object exists as single
> text-file in CVS (passed via jalindi igloo SCC-API), an application built
> with AR-Server consists of about 1000 objects/files. All files a release
> consists of are tagged in CVS. Now I'd like to implement jCVS to select a
> specific version and export all files of it to a temp-directory from which
> another program (or module) imports them into the AR-Server.
> It would be a lot of help if you could post some links to code-examples,
> especially regarding the following topics:
>
> - starting a session with a remote CVS-Server
> - getting a list of all available projects
> - getting a list of all tags/releases of a project
> - getting all files of a specific tag
>
> thanks a lot,
> Matthias Minich

</pre>

jCVS Maoiling List arvhive.
[WWW]
 
Forum Index » JCVS Mailing List
Go to:   
Powered by JForum 2.1.9 © JForum Team