export files to disk
Hello,
I would like to export all sources from a stream to disk. Is there a simple way doing it without creating a repository workspace and load? Thanks, Yaron |
13 answers
Hello, Hi Yaron Have you considered using the commandline interface for this? Grabbing the source could then be scripted so this becomes a single batch file. anthony |
Hi Anthony,
It might be an option. The thing is that the users want it to be like in SVN: right click and export. Do you thing that there is solution that will be by like that behavior? Something like right click on the stream - export? Thanks, Yaron |
Hi Anthony, Well - if you are in any of the RTC clients - the files are already on the disk. You can just grab the files from the your Eclipse workspace or Visual Studio solution directory. Which UI are you using with SVN to do the Export you describe? anthony |
Hi,
The users showed me that it every level at the directory structure, you may right click on a directory and then export. It "dumps" the files to disk. |
Ralph Schoon (63.3k●3●36●46)
| answered Jun 29 '10, 3:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
I am not aware of such a functionality today. Can you give us a bit more details about what the rationale behind this request is? To be honest, I don't get the point why one would want to do what is requested, except maybe to create some deliverable for a build. Essentially some of the source is effectively copied out of source control and it is impossible to track changes to the source. But maybe this is a reasonable request in which case it would be good to understand its background. Ralph Hi, |
Hi,
The users need to take the source environment from time to time with them. for example for customer site without the need using the source control. They also need to take it without any "source control" dirs - such as jazz5, and also without the compiled "derived" files. What do you suggest? They currently have this function using right click with SVN. |
Hi, OK - I hope I understand your requirement now. As they should be keeping files under version control, they do need a repository and local workspace and they can make sure they really have the right code. At the point they want to take the code elsewhere - they can use the standard Eclipse functionality (Export, General->Archive file is your best bet). Send or take the zip file this action produces. When they get back, they can Import into the original local workspace, Refresh (to make sure RTC picks up the changes made - if any) and carry on using RTC as per normal. Do a File->Import, General->Existing Projects into Workspace and you can pull in the archive file. This should also avoid bringing in the jazz specific files and the export process allows you to choose what files you want to take. regards anthony |
Ralph Schoon (63.3k●3●36●46)
| answered Jun 29 '10, 11:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Yaron,
the users can work offline if there is no connection to RTC. On reconnect they can still check changes in as usual, create change sets and all the other things that makes RTC SCM so good. Loading the Repository workspace into a sandbox (different from the eclipse workspace dir) which can be selected in "Advanced" options in the last page of the load wizard would give you all files without out generated/compiled objects. It still gives you the .jazz5 directory and files though. I am sure they feel the need (the what) to do it the way you describe since they have a SVN history and are used to do it that way. I am just not sure I understand the why. What is the deeper reason behind this story? What are they doing with the export, why is the .jazz5 not wanted? What are the side effects they fear, don't want etc. Please help us to understand the compelling reasons behind the request. Maybe there is none except maybe the "we need to do it since we always worked that way" reason 8-). If there is, we might be able to come up with a suggestion. Thanks, Ralph Hi, |
Ralph Schoon (63.3k●3●36●46)
| answered Jun 29 '10, 11:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
WRT to Anthony,
if the export is to be able to work in a customer environment Anthony's suggestion is probably the way to go. I am still not sure I got the requirement right. Ralph |
Geoffrey Clemm (30.1k●3●30●35)
| answered Jun 29 '10, 12:00 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In order to load your sources to disk, you do need to first create a
repository workspace on that stream, and then load from that repository workspace onto disk. But creating a repository workspace is a very lightweight operation ... why do you want to avoid creating one? Cheers, Geoff On 6/27/2010 5:53 AM, yaron wrote: Hello, |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.