aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes SVN with Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "SVN with Eclipse" Watch "SVN with Eclipse" New topic
Author

SVN with Eclipse

Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
I am using Eclipse3.5 installed SVN Plugin(Subeclipse) I have created a local repository . When I am trying to access that repository from Eclipse after giving the new URL()file:///D:/MySVNRepository) eclipsedisappeared suddenly.
Any one faced this issue ? Please suggest
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
The name of the plugin is Subclipse.

I am working with local repositories and don't have any problems. I assume you tested different repos to rule out a defect there (even if Eclipse should react different then...). And it certainly works with remote repositories?

You could try to use a different SVN implementation. There is a pure Java implementation, JavaHL. You can change the implementation in the SVN preferences; please see the Subclipse page for installation hints. Check for the right version! It should match the version of the Subversion tool that created the repo (Tortoise, I assume?).

Or try Subversive.

Why are you using an old Eclipse version (3.5)?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30919
    
158

I used both Eclipse plugins in both Eclipse 3.5 and 3.6. I used an http:// URL rather than a file:// one though.

One place to look is in <your workspace>/.metadata/.log to see if there is anything relevant as to why Eclipse is crashing.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Thanks both for quick reply. Jeanne I will check the log and get back to this.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16228
    
  21

I don't know what the repository access mechanism is for Subclipse. The "file:" protocol isn't available just any old way. In fact, there's an Apache project specifically designed to get around that issue.

In short, you have have to use an HTTP(S) server as your repository. Not only that, but it would have to support WebDAV.


Customer surveys are for companies who didn't pay proper attention to begin with.
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
Tim Holloway wrote:I don't know what the repository access mechanism is for Subclipse. The "file:" protocol isn't available just any old way. In fact, there's an Apache project specifically designed to get around that issue.

In short, you have have to use an HTTP(S) server as your repository. Not only that, but it would have to support WebDAV.


I am not sure I understand what you want to tell. The file url is a perfectly valid and working way to access local subversion repositories (see e.g. here). You should watch out for the usual gotchas (like Windows drive letters) but then it can be quite useful.

(Oh, and, blushing, I have to admit Jeanne's approach of reading error messages before trying something completeley different might be a good idea.)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16228
    
  21

Hauke Ingmar Schmidt wrote:
Tim Holloway wrote:I don't know what the repository access mechanism is for Subclipse. The "file:" protocol isn't available just any old way. In fact, there's an Apache project specifically designed to get around that issue.

In short, you have have to use an HTTP(S) server as your repository. Not only that, but it would have to support WebDAV.


I am not sure I understand what you want to tell. The file url is a perfectly valid and working way to access local subversion repositories (see e.g. here). You should watch out for the usual gotchas (like Windows drive letters) but then it can be quite useful.

(Oh, and, blushing, I have to admit Jeanne's approach of reading error messages before trying something completeley different might be a good idea.)


What you can do from the command line and what you can do in a plugin aren't necessarily the same. The limitation on "file:" as a URL protocol depends on which Java data access mechanism is being used in the plugin, not on Subversion itself. All I was saying is that it may or may not work, and to know for certain, I'd have to do something tedious like RTFM.
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
Tim Holloway wrote:What you can do from the command line and what you can do in a plugin aren't necessarily the same. The limitation on "file:" as a URL protocol depends on which Java data access mechanism is being used in the plugin, not on Subversion itself. All I was saying is that it may or may not work, and to know for certain, I'd have to do something tedious like RTFM.


That would mean that there are Subversion plugins that support only a subset of the functionality of Subversion. Would be a "blocker" ticket at once, for me. In fact, Subversion per se does not know about http(s) or Webdav, it has its own svnserve protocol. You can put it behind an Apache, and this is handy. But it is not a must.

Subclipse supports it on both Windows and Linux.
Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Just check Eclipse error log at eclipse/hs_err_pid1292 and saw below error
Posting some snippet from log file:



#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at =0x388c804c, pid=1292, tid=3872


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5842
    
    7

The JVM is crashing. Try installing and using the latest JVM. It would have also helped if you provided more that the few lines you did - the lines that follow usually help to pinpoint the shared library that caused the crash.


JBoss In Action
Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
I tried but forum doesn't except any kind abbrevtations , so I have delete that
I will try to post the exact error code if possbile
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30919
    
158

Anand Bhatt wrote:I tried but forum doesn't except any kind abbrevtations , so I have delete that
I will try to post the exact error code if possbile

Putting it in [ code] [ /code] tags will turn that off.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SVN with Eclipse