Hello
How can I install the SVN plugin for Servoy? I’ve been looking around for a while…
It might be good to have detailed instructions for setting up possible options (subversive, subclipse…) on 1 place -here
Regards
Hello
How can I install the SVN plugin for Servoy? I’ve been looking around for a while…
It might be good to have detailed instructions for setting up possible options (subversive, subclipse…) on 1 place -here
Regards
These are Eclipse plugins, they have sites of their own with instructions, for example:
http://www.eclipse.org/subversive/docum … nstall.php
http://subclipse.tigris.org/servlets/Pr … eID=p4wYuA
Servoy 5 is based on Eclipse 3.5 (Galileo)
For more information have a look here: http://forum.servoy.com/viewtopic.php?f=38&t=11052
Paul, I would’tn recommend that topic, for example, Johan disagrees, using subversive…
I’m not recommending any particular SVN client, I’m just providing a pointer to more information.
Paul
Our detailed Mac subversive instructions. Took us awhile to track down all the little details. The basic usage notes are our original thoughts, with Johan’s input we’ve changed things around quite a bit (another thread somewhere):
INSTALL SUBVERSION FOR SERVOY 5 ON A MAC
1. Requirements
Make sure the directory and Developer are named "Servoy". In other words, don't rename anything after installing Servoy!
You need an SVN server someplace. Options:
setup your own
we're currently using http://www.beanstalkapp.com
a bazillion other ones out there for reasonable monthly fees (and even free)
2. Install SVN for Mac
Download the latest Mac OS X binary package from openCollabNet
http://www.open.collab.net/downloads/community/
Install the file and follow the steps
Once installed, run the command export PATH=/opt/subversion/bin:$PATH to set the proper path
3. Install subversive in Servoy Eclipse
Help > Install New Software...
Add the following 2 URL's (press the "Add" button to add them in)
http://download.eclipse.org/technology/subversive/0.7/update-site/
http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/
Choose which connector to install
select "--All Available Sites--" from "Work with:" filter
expand "Subversive SVN Connectors" and select:
- Subversive SVN Connector Connectors (required)
- SVNKit 1.3.0 Implementation (need for subversion v1.6x)
- Native JavaHL 1.6 Implementation (need for subversion v1.6x)
expand "Subversive SVN Team Provider Plugin" and select:
- Subversive SVN JDT Ignore Extensions
- Subversive SVN Team Provider
- Subversive SVN Team Provider Localization (don't need if just using english) click "next" until installed
4. Configure subversive
Go to preferences for subversive (Team > SVN)
make sure under "SVN Connector" tab that the native JavaHL is selected
rest of the defaults are ok
Open SVN perspective
Window menu > Open perspective... > Other... > SVN Repository Exploring
Add an SVN repository and connect it to your SVN server
"SVN Repositories" view > "New Repository Location" (small yellow button at top of view)
enter URL to SVN server
enter user/password credentials (or SSL key under SSL settings)
recommend clicking "Save password"
note that capitalization may be important
(optional) use a custom label to name this repository
5. Basic usage notes
The basic things you can do:
Share
Synchronize
Commit
Update
Share: creates initial link from workspace to repository (only need to do once)
right-click a solution in Servoy's Solution Explorer
choose "Team > Share Project..."
select type of team sharing. in this case "SVN"
choose your newly created repository
click "Next" and optionally enter a comment in the next pane
note "Launch the Commit Dialog for the shared resources"
this does two additional steps: synchronize and commit. this is a good thing
you get the option to enter comments on the commit
at this point you get an error dialog "Developer started repsoitory"
the short version is click "Change setting / restart"
sharing is done
switch to SVN perspective and you should see your newly shared, synchronized and committed files
Synchronize: compare what's in your workspace to what is on the SVN server
right-click a solution in Servoy's Solution Explorer
choose "Team > Synchronize with repository..."
will pop you into Synchronize perspective
double-click and object to see differences
note: a right arrow next to an object name denotes that you have new change in the workspace
an asterisk denotes the repository has a new change
Commit: push workspace changes to repository
you can do from Solution Explorer or SVN perspective
Update: pull repository changes to workspace
this overwrites files in your workspace
you can do from Solution Explorer or SVN perspective
5. Finish up
Subversive is cool in that it generally tells you when you need to commit as you're working. Just look for the ">" in front of your objects in the Solution Explorer.
Numbers to the right of objects in the Solution Explorer/SVN Repositories denote the revision you are working on.
At this point you can rename the servoy directory and developer file if you'd like.
david:
Our detailed Mac subversive instructions. Took us awhile to track down all the little details. The basic usage notes are our original thoughts, with Johan’s input we’ve changed things around quite a bit (another thread somewhere):
…
Great summary David, thanks for sharing!
I needed to know this. Thanks!
Just to extend this nicely rounded thread to troubleshooting issues, I’ve encountered a problem after running the update process to Servoy 5.1.3.
The Servoy update itself was quite uneventful but upon restart I was immediately presented with a dialog that asked if the repository could be updated, but before I could answer that another, larger, modal dialog appeared asking me to select SVN Connectors: [attachment=2]SVN connector dialog.png[/attachment]
Frankly I have no idea which connector to choose. I’m running Mac OSX Snow Leopard and it recently updated itself to Java 1.6.x so I selected those connectors. I also have Servoy running on a host setup with Java 1.5.2 and so I selected those connectors as well. I’ve run the installer a number of times and each time I get an error at this point: [attachment=1]java installer error.png[/attachment]
Warning
“Native JavaHL 1.5 Implementation (Optional)” will be ignored because a newer version is already installed.
“Native JavaHL 1.6 Implementation (Optional)” will be ignored because a newer version is already installed.
“Subversive SVN Connectors” will be ignored because a newer version is already installed.
“SVN Team Provider Connectors Sources (Optional)” will be ignored because a newer version is already installed.
“SVNKit 1.2.2 Implementation (Optional)” will be ignored because a newer version is already installed.
“SVNKit 1.3.0 Implementation (Optional)” will be ignored because a newer version is already installed.eclipse.buildId=I20090611-1540
java.version=1.6.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/me/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/me/.eclipse_keyring -consoleLog -showlocation
I checked in Preferences/Team/SVN/SVN Connectors and found that there was no connector that could be selected in the popup, i.e. it was empty
[attachment=0]SVN Connectors preferences.png[/attachment]
So at this stage I can’t use the connectors that are supposedly available because they don’t list and I can’t update them because apparently they are more recent than anything I can download via Servoy/eclipse!
I also checked the Mac Java preferences and noted that the 64 bit versions of each are preferred, but could be swapped for 32 bit versions if that was more compatible.
I’m out of inspiration at this point, but I’m sure any answers will be useful to many others as well as me. As it is whenever I restart Servoy I’m re-presented with the SVN Connector dialog, presumably because there is no Connector selected in preferences, and of course the installer fails because it detects the installed connectors but is dumb about whether they are functional.
Well, I would still like to know what I did wrong during the update process, but in the meantime I’ve reinstalled the connectors and I have access again, so the immediate concern is over.
that is something of the subversive plugin.
Doesnt have anything to do with our update process, it just a coincidence that it happened at the same time.