Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » SVN "team" support was there yesterday ...today its gone
SVN "team" support was there yesterday ...today its gone [message #491440] Wed, 14 October 2009 15:11 Go to next message
Eclipse UserFriend
Originally posted by: edgue.web.de

He there,

we have a somewhat complicated environment, and I am told
it should work like this:

* create a new directory, lets call it xyz
* do a: svn checkout --depth empty svn:/whatevermybusiness .
* then I have to unzip some archives that contain
source code and pre-compiled stuff we need for java build
....
later on i have to import the whole thing as new project

That worked fine.

I got a SVN tag on my project name ... and I saw SVN tags
on the directories within my project. I could do SVN updates ...
history of files, updates, all fine.

And now; all of a sudden ... when I start eclipse ... the SVN tags
on the sub directories are gone; team->"update" is grayed out.

[the svn tag on the project name is still there, but that
doesnt help, as i cant do an update there (because the folders
are in the wrong place, but that is how this strange build
environment i-dont-own is supposed to work ]

I am running ubuntu 9.04; have eclipse 3.5.1 (got the tar.gz just
last week) ... and installed latest subversion and choose the
polarion svn 1.6 kit stuff.

[ some coworkers using the same setup on a windows machine have
similiar problems]

Any idea what would be causing this?
Re: SVN "team" support was there yesterday ...today its gone [message #491446 is a reply to message #491440] Wed, 14 October 2009 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edgue.web.de

Great,

as I am running out of ideas, i tried to update
the project again on toplevel.


*** Update
svn update "/home/guenthne/builds/xxxxx" -r HEAD --depth infinity
/home/guenthne/builds/xxxxx
At revision 57400
*** Ok (took 16:17.995)

And now the SVN tags on the subdirectories are back.
Great.
Re: SVN "team" support was there yesterday ...today its gone [message #491895 is a reply to message #491440] Fri, 16 October 2009 12:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edgue.web.de

Now I am wondering

a) is this such a special problem
b) is there something wrong with my NNTP setup
c) is this just a damn stupid question

or what exactly is causing "zero responses"?

;-(
Re: SVN "team" support was there yesterday ...today its gone [message #492217 is a reply to message #491895] Mon, 19 October 2009 13:45 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello Ed,

Indeed, I didn't fully understand the problem you have; I just understood
that one day you suddenly were not able to perform svn actions and there
wasn't SVN decoration(you called it tags); but after you make an Update
everything is ok.
Do you still have this problem? If you do, then please provide detailed
steps how to reproduce it. Also did you have any related errors in Error Log
view?

>* create a new directory, lets call it xyz
>* do a: svn checkout --depth empty svn:/whatevermybusiness .
What did you want to achieve by these steps? If you tried to created a new
project, then you could use Share Project action.

> Now I am wondering
>
> a) is this such a special problem
> b) is there something wrong with my NNTP setup
> c) is this just a damn stupid question
>
> or what exactly is causing "zero responses"?
>
> ;-(
Re: SVN "team" support was there yesterday ...today its gone [message #492410 is a reply to message #492217] Tue, 20 October 2009 11:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: edgue.web.de

Hello Igor,

ok, then I will try to summarize what I have figured so far.

Context: i want to use the SVN repository of this other team
on the other side of the ocean ... to add in my Java stuff
within eclipse (actually my whole team is going
to add stuff to this repository).

The normal way would be:
1) use subversive to do a full checkout of their "trunk"
2) enable this checkout as java project ... compile, commit, be happy

Unfortunately ... that aint possible.

Step "1)" is easy ... but "2)" is simply not how "they"
do it over there. You can try that, but it results in
thousands of compile errors.

The only way to really 'build' this project is to invoke
some make scripts on "their" build machines.

Such a remote results in an archive that contains:
a) all the JARs that you need
b) all .java files that went into the compile
c) plus all the .svn directories information

So, my team found this solution:
1) use subversive to do a "root folder" only checkout of "trunk"
2) fetch one of these "build output" archives
3) extract this archive ... and move the folders into the
directory from step 1)
4) setup the .classpath in a special way

Now my windows cowoerks can:
a) click on the root folder and invoke "svn update" ... to update the
source files (because the archive directories included the .svn
information)
b) click on the root folder and "build" the whole project with eclipse
(to compile the java sources they added in)

But, me poor linux user ...
when I go for "a)" the console shows me:

svn update "/home/xxxx/workspace/whatever" -r HEAD --depth infinity

and then it just sits there. Sometimes it needs almost 20 minutes
to come back to me. Well, if you do that once in a while, I could
live with it, but:

every time when I restart eclipse ... I really have to do this.
If I start eclipse and skip the SVN update on my project root ...
eclipse seems to forget that all the directories in there are SVN
controlled. [ this is my real problem ... i need a SVN update
in order for eclipse to recognize the fact that all my subfolders
are part of an SVN repository ]

I really would like to know what eclipse/subversive is doing during
this 20 minutes of "update" - but I couldnt figure a way to print
out what exactly is happening.

Does that make more sense now?

ed,
Re: SVN "team" support was there yesterday ...today its gone [message #492636 is a reply to message #492410] Wed, 21 October 2009 08:05 Go to previous message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello Ed,


> So, my team found this solution:
> 1) use subversive to do a "root folder" only checkout of "trunk"
> 2) fetch one of these "build output" archives
> 3) extract this archive ... and move the folders into the
> directory from step 1)
> 4) setup the .classpath in a special way
Probably this solution works on Windows, but anyway it's not a good/correct
way to mix SVN meta information (.svn folders) as you did and so there may
be problems in some environments (as you have in Linux). If it's possible,
try the following: unpack archive, add it into Eclipse as Java project and
then call Team/Share Project; as project already contains .svn folders,
Subversive will recognize it and will mark your project as SVN project and
you will work with it witout any problems. For more clarity here's an
example:
You have an archive:
archive.zip/
Foo-Project/
.svn
src/
..
jars/
..
.project
.classpath

unpack archive.zip, so you'll have 'Foo-Project' folder (which contains .svn
folder) and which is your project root; Import it to Eclipse and call
Team/Share Project action on 'Foo-Project' folder; then in wizard select
'Use project settings' option (which should be enabled by default).

> I really would like to know what eclipse/subversive is doing during this
> 20 minutes of "update" - but I couldnt figure a way to print out what
> exactly is happening.
You can open Progress view and see what it's happening.


> Hello Igor,
>
> ok, then I will try to summarize what I have figured so far.
>
> Context: i want to use the SVN repository of this other team
> on the other side of the ocean ... to add in my Java stuff
> within eclipse (actually my whole team is going
> to add stuff to this repository).
>
> The normal way would be:
> 1) use subversive to do a full checkout of their "trunk"
> 2) enable this checkout as java project ... compile, commit, be happy
>
> Unfortunately ... that aint possible.
>
> Step "1)" is easy ... but "2)" is simply not how "they"
> do it over there. You can try that, but it results in
> thousands of compile errors.
>
> The only way to really 'build' this project is to invoke
> some make scripts on "their" build machines.
>
> Such a remote results in an archive that contains:
> a) all the JARs that you need
> b) all .java files that went into the compile
> c) plus all the .svn directories information
>
> So, my team found this solution:
> 1) use subversive to do a "root folder" only checkout of "trunk"
> 2) fetch one of these "build output" archives
> 3) extract this archive ... and move the folders into the
> directory from step 1)
> 4) setup the .classpath in a special way
>
> Now my windows cowoerks can:
> a) click on the root folder and invoke "svn update" ... to update the
> source files (because the archive directories included the .svn
> information)
> b) click on the root folder and "build" the whole project with eclipse
> (to compile the java sources they added in)
>
> But, me poor linux user ...
> when I go for "a)" the console shows me:
>
> svn update "/home/xxxx/workspace/whatever" -r HEAD --depth infinity
>
> and then it just sits there. Sometimes it needs almost 20 minutes
> to come back to me. Well, if you do that once in a while, I could
> live with it, but:
>
> every time when I restart eclipse ... I really have to do this.
> If I start eclipse and skip the SVN update on my project root ...
> eclipse seems to forget that all the directories in there are SVN
> controlled. [ this is my real problem ... i need a SVN update
> in order for eclipse to recognize the fact that all my subfolders
> are part of an SVN repository ]
>
> I really would like to know what eclipse/subversive is doing during
> this 20 minutes of "update" - but I couldnt figure a way to print
> out what exactly is happening.
>
> Does that make more sense now?
>
> ed,
>
>
Previous Topic:Commit says dir is not part of commit, but it is
Next Topic:Can't update/download files from other users
Goto Forum:
  


Current Time: Fri Apr 19 09:08:29 GMT 2024

Powered by FUDForum. Page generated in 0.02358 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top