comp.lang.ada
 help / color / mirror / Atom feed
* Configuring CVS or SVN in GPS
@ 2009-07-24 18:00 Pablo
  2009-07-24 18:38 ` Chrono
  2009-07-24 18:53 ` vlc
  0 siblings, 2 replies; 6+ messages in thread
From: Pablo @ 2009-07-24 18:00 UTC (permalink / raw)


Hi people,
I need to configure an remote CVS repository and (in other project...)
a remote Subversion repository in GPS. Do you know how to do it?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuring CVS or SVN in GPS
  2009-07-24 18:00 Configuring CVS or SVN in GPS Pablo
@ 2009-07-24 18:38 ` Chrono
  2009-07-24 18:53 ` vlc
  1 sibling, 0 replies; 6+ messages in thread
From: Chrono @ 2009-07-24 18:38 UTC (permalink / raw)


On 24 jul, 15:00, Pablo <pablit...@gmail.com> wrote:
> Hi people,
> I need to configure an remote CVS repository and (in other project...)
> a remote Subversion repository in GPS. Do you know how to do it?

People?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuring CVS or SVN in GPS
  2009-07-24 18:00 Configuring CVS or SVN in GPS Pablo
  2009-07-24 18:38 ` Chrono
@ 2009-07-24 18:53 ` vlc
  2009-07-24 19:35   ` Chrono
  1 sibling, 1 reply; 6+ messages in thread
From: vlc @ 2009-07-24 18:53 UTC (permalink / raw)


On Jul 24, 8:00 pm, Pablo <pablit...@gmail.com> wrote:
> Hi people,
> I need to configure an remote CVS repository and (in other project...)
> a remote Subversion repository in GPS. Do you know how to do it?

For Subversion:

Project -> Edit Project Properties
Select tab VCS
In the "System" drop-down combo box select "Subversion"
In the "Repository" entry field put the complete URL of the
repository, e.g. http://svn.collab.net/repos/svn/trunk/

As far as I know, there is no way to download the repository into a
working directory from GPS. So you have to run the check-out command
in the project's base directory, e.g.

svn co http://svn.collab.net/repos/svn/trunk/ .

Make sure to use the same URL in GPS as well as in the check-out
command.

CVS:
Never used with GPS.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuring CVS or SVN in GPS
  2009-07-24 18:53 ` vlc
@ 2009-07-24 19:35   ` Chrono
  2009-07-25 16:10     ` vlc
  0 siblings, 1 reply; 6+ messages in thread
From: Chrono @ 2009-07-24 19:35 UTC (permalink / raw)


On 24 jul, 15:53, vlc <just.another.spam.acco...@googlemail.com>
wrote:
> On Jul 24, 8:00 pm, Pablo <pablit...@gmail.com> wrote:
>
> > Hi people,
> > I need to configure an remote CVS repository and (in other project...)
> > a remote Subversion repository in GPS. Do you know how to do it?
>
> For Subversion:
>
> Project -> Edit Project Properties
> Select tab VCS
> In the "System" drop-down combo box select "Subversion"
> In the "Repository" entry field put the complete URL of the
> repository, e.g.http://svn.collab.net/repos/svn/trunk/
>
> As far as I know, there is no way to download the repository into a
> working directory from GPS. So you have to run the check-out command
> in the project's base directory, e.g.
>
> svn cohttp://svn.collab.net/repos/svn/trunk/.
>
> Make sure to use the same URL in GPS as well as in the check-out
> command.
>
> CVS:
> Never used with GPS.

I tried that but I got the message (with System and Repository
configured correctly):

Querying status for files in C:\sandbox\trunk\
SVN error:
svn: 'main.adb' is not a working copy

in which main.adb is my main file.
any idea?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuring CVS or SVN in GPS
  2009-07-24 19:35   ` Chrono
@ 2009-07-25 16:10     ` vlc
  2009-07-28 12:58       ` Chrono
  0 siblings, 1 reply; 6+ messages in thread
From: vlc @ 2009-07-25 16:10 UTC (permalink / raw)


On Jul 24, 9:35 pm, Chrono <pablit...@gmail.com> wrote:
> I tried that but I got the message (with System and Repository
> configured correctly):
>
> Querying status for files in C:\sandbox\trunk\
> SVN error:
> svn: 'main.adb' is not a working copy
>
> in which main.adb is my main file.
> any idea?

It seems that SVN tries to use main.adb as a directory and this
directory is not under version control.

Are you sure that your sources are checked in?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Configuring CVS or SVN in GPS
  2009-07-25 16:10     ` vlc
@ 2009-07-28 12:58       ` Chrono
  0 siblings, 0 replies; 6+ messages in thread
From: Chrono @ 2009-07-28 12:58 UTC (permalink / raw)


On 25 jul, 13:10, vlc <just.another.spam.acco...@googlemail.com>
wrote:
> On Jul 24, 9:35 pm, Chrono <pablit...@gmail.com> wrote:
>
> > I tried that but I got the message (with System and Repository
> > configured correctly):
>
> > Querying status for files in C:\sandbox\trunk\
> > SVN error:
> > svn: 'main.adb' is not a working copy
>
> > in which main.adb is my main file.
> > any idea?
>
> It seems that SVN tries to use main.adb as a directory and this
> directory is not under version control.
>
> Are you sure that your sources are checked in?

I found out the problem. I was using a GPS version which did not give
support for windows subversion, so I had to install subversion module
at cygwin. For using with a newer GPS version, simply install a local
subversion bin files and point PATH environment variable to it.

For CVS, you have to configure authentication modules for remote
sandbox, or you can map cvs root on samba and point it into CVSROOT
environment variable using
CVSROOT=:pserver:login@domain:path_to_cvsroot.

Thanks guys.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-28 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-24 18:00 Configuring CVS or SVN in GPS Pablo
2009-07-24 18:38 ` Chrono
2009-07-24 18:53 ` vlc
2009-07-24 19:35   ` Chrono
2009-07-25 16:10     ` vlc
2009-07-28 12:58       ` Chrono

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox