|
|
Re: Ho to create a SVN repository location [message #1704921 is a reply to message #1704223] |
Mon, 10 August 2015 18:32 |
Claudio Weiler Messages: 31 Registered: August 2015 Location: Brazil |
Member |
|
|
I managed to create a SVN repository by preference task, but it needs to be created previously:
1. On an installed Eclipse, create your SVN repository location;
2. Export > Preferences > SVN Repositories > save to file...;
3. Generated preference will be something like this:
/instance/org.eclipse.team.svn.core/repositories/b0e9b8f3072000151709b8c389885bcc=b0e9b8f3072000151709b8c389885bcc;https://server.com/migracao;migracao@server.com;branches;tags;trunk;true;b5c5bdf7-d22c-4644-85fd-b1f39391dfcf;https://server.com/migracao;;false;;;0;
4. Create a preference tasks with this info.
It worked with clean install, and in previous installations it created the location on startup.
Remarks
a. It refers to Subversive plugin;
b. The value "b0e9b8f3072000151709b8c389885bcc" is used internally to get access credentials from Eclipse secure storage, it could be changed, but do it with care on the 2 occurrences, I don't know the consequences!!!
c. The value "b5c5bdf7-d22c-4644-85fd-b1f39391dfcf" is used internally by the subversive plugin as repository UUID, do not change this!!!
d. I you already have credentials to this server saved in Eclipse secure storage it will use them, even with different value mentioned in b remark.
I'm still trying to understand the relation between SVN repository locations and Eclipse secure storage, but this usage seems to be fine...
Regards!!!
|
|
|
Re: Ho to create a SVN repository location - Easier Solution [message #1783027 is a reply to message #1704921] |
Tue, 06 March 2018 20:34 |
Mark Crocker Messages: 1 Registered: May 2013 |
Junior Member |
|
|
Actually, I found that if one just copies the text of the epf file obtained by using the export described in the last task and pastes it into the top level node in a Project setup editor, that it generates a resource create task that does what we need, plus has a few extra preferences thrown in for good measure :-)
One caveat is that it will not overwrite an existing file, which seems like a good safety feature, but it also can be a little confusing when testing on an existing project that just has a stub file in place.
Another surprise is that the secure storage hashes, which caused me a lot of problems when trying to copy the file manually, did not cause any problems when used on another system with or without secure storage setup, though, naturally one needs to re-enter username/password on the new system to get things to work correctly, but that's exactly the behavior we want when creating a project setup for others to use.
|
|
|
Powered by
FUDForum. Page generated in 0.03386 seconds