[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Newbie questions

From: Buday Gergely István <gergely.buday_at_siemens.com>
Date: 2005-02-24 17:59:35 CET

Hi,
 
I`m using Subclipse 0.9.27 as the "Product Configuration" says (downloaded
the newest version some days ago via Eclipse->help->software updates). Also
using eclipse 3.0.1 on an ubuntu linux. I have some strange error messages
and some questions.Let me share my user experience with subclipse. Our
repository lives at http://localhost/repos/ourproject
<http://localhost/repos/ourproject> .
 
First I've created a project, and compiled it. I clicked on Team->Share
Project..., then chose SVN. As Url, I gave
http://localhost/repos/ourproject/developers/budayg/java/abc/trunk
<http://localhost/repos/ourproject/developers/budayg/java/abc/trunk>
thinking that my project "abc" should live there. As Root url, I set
http://localhost/repos/ourproject <http://localhost/repos/ourproject> . Then
came the question of specifying module name. I wondered why should I give
one. I gave the place as the Url, and I don't want to create extra
directories under it. Am I thinking wrong?
 
But OK, let's give a module name, "abc". Then clicking on Finish, Subclipse
said

---
Error while creating module
 
org.tigris.subversion.svnclientadapter.commandline.CmdLineException: svn:
PROPFIND request failed on
'/repos/ourproject/developers/budayg/java/abc/trunk'
 
svn: '/repos/ourproject/developers/budayg/java/abc/trunk' path not found
---
 
As an obvious hack, I've created abc and trunk subdirectories. My comment to
this is: yes, I can create these directories manually, but wouldn't it be
nice if Subclipse did it automatically?
 
Now I got 
---
Problems reported while synchronizing SVNStatusSubscriber. 0 of 1 resources
were synchronized.
  An error occurred synchronizing /abc: Error getting status for resource
P/abc
org.eclipse.team.core.TeamException: Error getting status for resource P/abc
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.findChanges
(SVNWorkspaceSubscriber.java:292)
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.refresh(SVN
WorkspaceSubscriber.java:229)
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.refresh(SVN
WorkspaceSubscriber.java:210)
org.eclipse.team.internal.ui.synchronize.RefreshSubscriberJob.run(RefreshSub
scriberJob.java:290)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
---
 
In spite of the error messages, it created the "abc" directory that is to
store the module:
 
$ svn update
A  abc/trunk/abc
Updated to revision 38.
Did it miss something important?
 
Then I used Team->Add to Version Control on
com/ourcompany/ourproject/Main.java without further ado.
 
Upon trying Team->Commit on com/ourcompany/ourproject/Main.java, I got
 
---
An internal error occurred during: "SVN Commit".
java.lang.NullPointerException
org.tigris.subversion.subclipse.core.client.OperationManager.endOperation(Op
erationManager.java:95)
org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand$1.run(
CheckinResourcesCommand.java:98)
org.tigris.subversion.subclipse.core.SVNProviderPlugin$5.run(SVNProviderPlug
in.java:392)
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin
.java:387)
org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand.run(Ch
eckinResourcesCommand.java:83)
org.tigris.subversion.subclipse.core.SVNTeamProvider.checkin(SVNTeamProvider
.java:105)
org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(Commit
Operation.java:63)
org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.
java:90)
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableConte
xt.java:159)
org.eclipse.team.internal.ui.actions.JobRunnableContext$3.runInWorkspace(Job
RunnableContext.java:179)
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspa
ceJob.java:38)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
---
 
In spite of this error message, command-line subversion said:
 
budayg@pc:~/projects/ourproject/developers/budayg/java
<mailto:budayg@pc:~/projects/ourproject/developers/budayg/java>  $ svn
update
A  abc/trunk/abc/com
A  abc/trunk/abc/com/ourcompany
A  abc/trunk/abc/com/ourcompany/ourproject
A  abc/trunk/abc/com/ourcompany/ourproject/Main.java
Updated to revision 39.
So the commit _did_ happen. What did _not_ happen the error message refers
to?
 
I accept that Subclipse is very much under development, but I'm a bit
reluctant to rely on it in my job in the face of these errors. Am I wrong?
 
- Greg
Received on Fri Feb 25 03:59:35 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.