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

Re: Trouble getting subclipse to recognise files under version control

From: Richard Meade <richard.meade_at_shenick.com>
Date: 2005-06-09 10:53:56 CEST

Hi,

I didn't see any replies to this, but then
I realised that I hadn't mentioned that the problem
is on a Win2K box, if that helps...

In summary:
I can use subclipse to check out a java project, but
then eclipse doesn't recognise that the files are under version
control - either it shows "?" decorations or no decorations
and under the Team-> submenu it either enables only the "Add"
type options or else only shows the Share/ApplyPatch options
(although the .svn dirs are all there & TSVN does recognise them).

Thanks in advance,
Richard.

On Thu, 02 Jun 2005 12:08:59 +0100, Richard Meade <richard.meade@shenick.com> wrote:

>
> Hi all,
>
> Sorry for the length of this message, but I wanted to
> provide as much info as possible, since I have no idea
> of what is going on...
>
> I have been using svn command-line to setup & test our repos
> but now that we are about to start rolling it out I am using
> subclipse more. I had tried subclipse during initial testing
> and it worked fine; however now I am running into a bizarre
> problem - I can use subclipse to check out a java project, but
> then eclipse doesn't recognise that the files are under version
> control - either it shows "?" decorations or no decorations
> and under the Team-> submenu it either enables only the "Add"
> type options or else only shows the Share/ApplyPatch options
> (although the .svn dirs are all there & TSVN does recognise them).
>
> Yesterday I installed a fresh copy of Eclipse 3.0.1 (Build id: 200409161125)
> and used the "Software Updates" to install site.0.9.31.zip locally
> (I had the same problems using 0.9.30, so I don't think it is
> to do with the change from subversion 1.1.4 to 1.2).
>
> I have tried a number of ways to co a project from subversion 1.1.4:
>
> 1) From SVN Repos view, choose the folder/module and "co as ... java proj"
> "The resource already exists in the workspace and will be deleted. Proceed?"
> OK -> Files co, .svn created, TSVN recognises, eclipse says "?"/"Add",
> project title shows "title []" (nothing between square brackets)
> .svn dir appears in Eclipse resource view
> 2) svn co from cmd-line into a tmp dir and then import from filesystem into proj
> Files copied with .svn, TSVN recognises folders but not files, Team->ApplyPatch
> project title shows "title" (NO square brackets even)
> .svn dir appears in Eclipse resource view
> 3) svn co from cmd-line into workspace and then create a proj with same name
> then choose ShareProject which says "Module already exists remotely.
> Would you like to sync local proj with existing remote module?"
> Choose "Yes" which then says "No changes found"
> 4) "svn co" (i.e. without bringing up dlg to choose type/name/etc.)
> a) one exception in workspace/.metadata/.log when I pressed cancel btn:
> !ENTRY org.eclipse.core.runtime 4 2 Jun 02, 2005 11:30:13.04
> !MESSAGE An internal error occurred during: "SVN Checkout".
> !STACK 0
> java.lang.NullPointerException
> at org.tigris.subversion.subclipse.ui.operations.CheckoutAsProjectOperation.execute(CheckoutAsProjectOperation.java:28)
> at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
> at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:159)
> at org.eclipse.team.internal.ui.actions.JobRunnableContext$3.runInWorkspace(JobRunnableContext.java:179)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
> b) another (different) exception when I didn't cancel...
> !ENTRY org.tigris.subversion.subclipse.core 4 4 Jun 02, 2005 11:49:48.715
> !MESSAGE Project {0} does not contain SVN folder meta-information.
>
> !ENTRY org.tigris.subversion.subclipse.core 4 -6 Jun 02, 2005 11:49:49.326
> !MESSAGE The SVN synchronization information for {0} has become corrupt or does not exist.
>
> !ENTRY org.eclipse.team.core 4 4 Jun 02, 2005 11:49:58.218
> !MESSAGE Errors have occured while calculating the synchronization state for SVNStatusSubscriber.
> !SUBENTRY 1 org.eclipse.team.core 4 0 Jun 02, 2005 11:49:58.218
> !MESSAGE An internal error occurred processing subscriber events.
> !STACK 0
> java.lang.NullPointerException
> at org.tigris.subversion.subclipse.core.resources.LocalResource.getUrl(LocalResource.java:219)
> at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo.createResourceVariant(SVNStatusSyncInfo.java:135)
> at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo.createLatestResourceVariant(SVNStatusSyncInfo.java:118)
> at org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo.<init>(SVNStatusSyncInfo.java:30)
> at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.getSyncInfo(SVNWorkspaceSubscriber.java:192)
> at org.eclipse.team.internal.core.subscribers.SubscriberEventHandler.collect(SubscriberEventHandler.java:247)
> at org.eclipse.team.internal.core.subscribers.SubscriberEventHandler.processEvent(SubscriberEventHandler.java:401)
> at org.eclipse.team.internal.core.BackgroundEventHandler.processEvents(BackgroundEventHandler.java:283)
> at org.eclipse.team.internal.core.BackgroundEventHandler$1.run(BackgroundEventHandler.java:140)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
>
> The only other thing I see in workspace/.metadata/.log is (the second msg
> "cannot find path" is repeated every couple of seconds
> - I think it only arises from the "import from filesystem" case):
>
> !ENTRY org.tigris.subversion.subclipse.core 4 4 Jun 02, 2005 10:32:24.507
> !MESSAGE Project {0} does not contain SVN folder meta-information.
>
> !ENTRY org.tigris.subversion.subclipse.ui 1 0 Jun 02, 2005 10:42:17.329
> !MESSAGE org.tigris.subversion.javahl.ClientException: The system cannot find the path specified.
> svn: Can't open 'C:\Richard\eclipse\workspace\shenix3\grub\.svn\tmp\menu.lst.tmp': The system cannot find the path specified.
>
>
> Sorry for going on so long, but we are just about to roll this out,
> so if anyone has any suggestions on what may be wrong or where
> I could continue investigations I would be very grateful.
>
> Thanks in advance,
> Richard.
>
>
>

-- 
Richard Meade
Shenick Network Systems
Received on Thu Jun 9 18:53:56 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.