Re: [wtp-dev] Re: CVS Problmes?
1. In the meantime (your Sunday morning time) pserver miraculously started to work again. I don't like it because I don't understand what the problem was (I wonder if there was any planed maintenance under way? Maybe I have to subscribe to some other mailing lists....?)
2. By trial and error I also discovered that extssh and my commiter account are working on all projects (I assumed that in read-only mode). The problem was that both the ant task and in the PDE build script are calling the installed cvs on my machine and not the one in eclipse. And this said (well known problem on Windows) that extssh is not a valid method.
3. Thanks a lot for pointing me to the build resources which are very helpful in learning by example and reusing parts of it.
On Sun, Apr 18, 2010 at 5:58 PM, David M Williams <david_williams@xxxxxxxxxx>
Thanks for letting us know, Gabriel,
and opening the bug. In the mean time, I can offer two tips that might
help, now, and even routinely.
1) I recently learned you can use ext
(extssh) with your committer id even for projects where you are not a committer.
You can't write to them (of course) but you can still read from them. (Sort
of makes sense, once I was told .... ssh is for the whole host).
2) in wtp builds, I added a task to
"rewrite map files". I call this after the normal "fetch"
or "check out map files" task. I added this a few months ago
when they started providing a "mirrored" version of pserver to
requests outside of build.eclipse.org (for performance reasons). Normally
the pserver mirror is "in synch" with the correct contents within
minutes, but on rare occasions might not be in synch for hours, hence I
often want to use "ext" (extssh) then running a remote build,
when accuracy of contents is important. In otherwords, you might want to
do this anyway, even when pserver is working fine (or, at least have the
ability to) since extssh will ensure you always get the exact, current
contents. At the same time, the task is not "hardcoded", but
is setup so a build on 'build.eclipse.org' still uses anonymous pserver,
but on build.eclipse.org, they have it setup so pserver requests still
go to the "live" version of cvs (not a mirror). The rewrite
of the map files is all controlled by the presence or absence of the 'rewriteMapsLine'
variable, so on build.eclispe.org I do not provide this value, and map
files are used "as is", but on my local machine, I can provide
this value and the map files are tweaked after being checked out. In
our webtools build, the original chechout of the map files was already
handled by my own, provided id and extssh since we normally "tag"
those as part of a build (i.e. do need write authority), but that's all
just part of our own ant files, so nothing to "rewrite" there.
This ant task, and other "map file
utilities" are located in our webtools repo at
While it wouldn't be trivial to incorporate,
you might want to anyway so you don't have to rely on "mirrored"
tasks changes the "standard" eclipse map protocol,
host name Since this should not be required (or used)
builds, and since machine and user specific, a
to define the value, rewriteMapsLine, is in
exists, it is assume it is desired to rewrite,
value of rewriteMapsLine will be used. It must be a
replacement for :pserver:anonymous@xxxxxxxxxxxxxxx:
<!-- we have to check for existence, since in some builds, such
we check out all maps, but
not all maps have been branched. -->
<!-- we have to check for existence, since in some
builds, such as maintenance,
we check out all maps, but not
all maps have been branched. -->
I have created https://bugs.eclipse.org/bugs/show_bug.cgi?id=309590
On Sun, Apr 18, 2010 at 9:52 AM, Gabriel Petrovay
> (CC'd to wtp-dev list)
> I have been trying for the last 2 days to access resources from CVS
> but when I use pserver, I constantly get:
> "Could not connect to :pserver:anonymous@xxxxxxxxxxxxxxx:/cvsroot/webtools"
> Socket exception: Connection reset.
> With my committer account it works but I want to get resources that
> are also in other projects. Moreover I want to put this in a build
> script, so I will not use my credentials there, but pserver.
> The following happens in Eclipse.
> When I run it from a PDE build script (I have a map file with the
> line: email@example.com=CVS,tag=HEAD,cvsRoot=:pserver:anonymous@xxxxxxxxxxxxxxx:/cvsroot/webtools,path=incubator/sourceediting/features/org.eclipse.wst.xquery.feature
> I get the error:
> Could not retrieve feature.xml or build.properties for feature
> In debug mode it also tells me that te cvs command exited with value
> Is there anything happening with the pserver CVS access?
> MSc Gabriel Petrovay
> Mobile: +41(0)787978034
MSc Gabriel Petrovay
wtp-dev mailing list
wtp-dev mailing list
MSc Gabriel Petrovay