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

RE: Trying to connect to existing repository module does nothing

From: Johnson, Graham <gjohnson_at_alpineaccess.com>
Date: 2003-11-21 00:46:48 CET

Looking at the code, I am wondering if the reason this does nothing is
because the following large and important-looking chunk of code in
SharingWizard.java is commented out?

// if (doSync[0]) {
// // Sync of the project
// IWorkbenchPage activePage = null; /* not
sure how to get the active page */
// SyncView view =
SyncView.findViewInActivePage(activePage);
// if (view != null) {
// SVNSyncCompareInput input;
// if (projectExists[0]) {
// try {
// String
moduleName = getModuleName();
// SVNTag tag;
// if
(autoconnectPage == null) {
//
TagSelectionDialog dialog = new TagSelectionDialog(getShell(),
//
new ISVNFolder[] {(ISVNFolder)getLocation().getRemoteFolder(moduleName,
null)},
//
Policy.bind("SharingWizard.selectTagTitle"), //$NON-NLS-1$
//
Policy.bind("SharingWizard.selectTag"), //$NON-NLS-1$
//
TagSelectionDialog.INCLUDE_HEAD_TAG |
TagSelectionDialog.INCLUDE_BRANCHES,
//
false, /*don't show recurse option*/
//
IHelpContextIds.SHARE_WITH_EXISTING_TAG_SELETION_DIALOG);
//
dialog.setBlockOnOpen(true);
// if
(dialog.open() == Dialog.CANCEL) {
//
return false;
// }
// tag =
dialog.getResult();
// } else {
// tag =
autoconnectPage.getSharing().getTag();
// }
// input = new
SVNSyncCompareUnsharedInput(project, getLocation(), moduleName, tag);
// } catch (TeamException
e) {
// throw new
InvocationTargetException(e);
// }
// } else {
// input = new
SVNSyncCompareInput(new IResource[] {project});
// }
// view.showSync(input,
activePage);
// }
// }

--
Graham Johnson
gjohnson@alpineaccess.com
-----Original Message-----
From: Johnson, Graham 
Sent: Friday, November 14, 2003 12:26 PM
To: users@subclipse.tigris.org
Subject: RE: Trying to connect to existing repository module does
nothing
Some more info:
I tried connecting an empty test project to a couple of public
repositories (including http://svn.collab.net/repos/svn/) and had the
same problem.  That seems to rule out a problem with my repository or
svn server and suggest the problem is with the plug-in.
Also, I doubt this is related, but are the DLLs for the plug-in
(libdb40.dll, etc.) supposed to be accessed by Eclipse from the
.../eclipse/plugins/org.tigris.subversion.subclipse.native.win32_0.8.1
directory?  I assume so since that is how they come, but if I leave them
there, Eclipse doesn't find them.  I have to copy them to .../eclipse.
--
Graham Johnson
gjohnson@alpineaccess.com
-----Original Message-----
From: Johnson, Graham 
Sent: Friday, November 14, 2003 10:38 AM
To: users@subclipse.tigris.org
Subject: RE: Re: Trying to connect to existing repository module does
nothing
Switching to the alternate 0.8.1 build had no effect on either of these
problems.  
To answer your questions:
1.  I have tried this several ways, including:
	- checking out entire project on Linux command line, then trying
to get project (accessed from Linux machine via Samba mapped drive)
connected to the repository.
	- creating an empty test project on Win2K drive with the same
name as a repository project and connecting it to the repository without
doing any checkout beforehand.
Both of these do same thing (Share Project dialog closes without doing
anything).
2.  Here is the simplest set of steps that I have tried:
a.  Create a new empty repository on Linux command line with svnadmin
(in place where running Apache server is set up to find it).
b.  Check out that repository to a working directory on Linux command
line.
c.  Create/add/check in an empty "test" directory at the root of the
repository on Linux command line.
d.  Create a simple project named "test" in Eclipse.
e.  Attempt to share project in Eclipse.  Doesn't do anything or give
any errors (reproducing my first problem).
With these steps, I don't reproduce my second problem (PROPFIND error)
by checking in a simple test file on Linux command line and opening it
from Eclipse SVN Repository view.  Apparently the repository has to be
more complex for that to happen.  I should mention that the repository
that I get the PROPFIND error on is a very large one created with
cvs2svn.
3.  The Linux machine is running 0.32.1, built from the latest source a
couple of days ago, running through Apache httpd 2.0.48.
4.  No errors in Error Log view or in SVN Console.
5.  JNI mode.
Presumably, when I click "Yes" to that dialog, it actually does
something and fails without reporting what it is doing or why, as
opposed to not trying to do anything.  If so, can it be made more
verbose?
--
Graham Johnson
gjohnson@alpineaccess.com
-----Original Message-----
From: McClain Looney [mailto:m@loonsoft.com] 
Sent: Thursday, November 13, 2003 9:00 PM
To: users@subclipse.tigris.org
Subject: Re: Trying to connect to existing repository module does
nothing
I have thus far had no problems sharing existing projects on linux.  
Mark Proctor built the build you are using, and may be able to assist  
you further/verify this bug.  For now, try to provide more detail which
may help us reproduce your problem:
1. how did you check it out originally (commandline i assume)
2. exactly what steps in what order can be taken to reproduce this  
problem
3. exactly what version of subversion is on your local system?
4. any output from the "errors" view (window->open view->other->pdt  
runtime->errors)
5. are you using the commandline wrapper mode or the jni mode?
p.s. there's another windows build at  
http://www.markproctor.com/subclipse-306.zip
---
McClain Looney
m@loonsoft.com
On Nov 13, 2003, at 5:52 PM, Johnson, Graham wrote:
> I am running into problems with Subclipse preventing me from getting
> anywhere with it.  This is a 0.32.1 svn repository running on Linux
via
> Apache, Eclipse 3.0M4 running on Win2K, and Subclipse 0.8.1 (Windows
> build for M4 downloaded from McClain at http://www.loonsoft.com/).
>
> I am trying to connect my Eclipse project to an existing repository.
> When I try to share my project, I get as far as the dialog "Module
> '[module name]' already exists remotely.  Would you like to
synchronize
> your local project with the existing remote module?".  When I click
> "Yes", the dialog closes immediately with nothing appearing to happen.
> The project is still not shared, there is no error in the error log,  
> and
> the only output in the SVN Console is what was output when it detected
> that the module "already exists remotely":
>
> list -r HEAD http://[url]/svn/repos/trunk
> ***
> list -r HEAD http://[url]/svn/repos/trunk/[module name]
>
>
> I am also having another problem that may or may not be related:
>
> In the SVN Repository view, I can browse the directories of the
> repository location I have set up, but when I try to open a file, I
get
> output like this:
>
>   HTTP Path Not Found
> svn: PROPFIND request failed on
> '/svn/repos/!svn/bc/74/trunk/test/db/stored_procedures/ 
> accepting_apps_sa
> ve.sql'
> svn:
> '/svn/repos/!svn/bc/74/trunk/test/db/stored_procedures/ 
> accepting_apps_sa
> ve.sql' path not found
>
> I'm not sure exactly what it is trying to do, because it doesn't list
a
> command line it is trying.  If I go to the linux machine and do an
> proplist with the equivalent (I think) path:
>
> svn proplist
> http://[url]/svn/repos/\!svn/bc/74/trunk/test/db/stored_procedures/ 
> accep
> ting_apps_save.sql
>
> it doesn't give any errors.
>
>
> Any ideas on what is going on?
>
> --
> Graham Johnson
> gjohnson[at]alpineaccess.com
> Java Software Engineer
> Alpine Access, Golden, CO
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Nov 21 10:46:48 2003

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.