- This topic has 7 replies, 2 voices, and was last updated 20 years, 9 months ago by
Scott Anderson.
-
AuthorPosts
-
ErezMemberHi,
I want to use VSS plugin, but my question is a bit more general:
1) What should be saved or backed up in J2EE project (1 EJB module, 2 web modules) under MyEclipse 3.0 ?
2) I have everything backed up in VSS, and I want to rebuild a building enviornment, what steps do I need to take? I mean start from fresh?
Do I use the import feature or what?Sorry for being a little vague but this whole issue is a little as such for me right now and I hope you could help me.
Thanks,
Erez
Scott AndersonParticipantErez,
1) What should be saved or backed up in J2EE project (1 EJB module, 2 web modules) under MyEclipse 3.0 ?
.project, .classpath, .my* files. No need to do the .my* temp directory, if it exists
2) I have everything backed up in VSS, and I want to rebuild a building enviornment, what steps do I need to take? I mean start from fresh?
Do I use the import feature or what?I’m not sure exactly what you’re asking but it sounds like you want to move your project from CVS into VSS, is that correct? If so, you can do that easily by simply disconnecting the project from CVS by right-clicking on it and selecting Team > Disconnect… Once the project is disconnected, you can use Team > Share Project… to add the project to VSS.
ErezMemberScott,
Thank you for replying so fast.
1) I am using XDoclet so what do I need there to back up?
2) I am not moving from CVS into VSS, I just go into VSS.
I am trying to find out what steps do I have to do in order to setup a new developement env. for new member in the dev team on a new workstation, once the whole project is inside the VSS.3) What about the workspace env. configuration? are these saved too in the VSS?
Thanks again,
Erez
Scott AndersonParticipant1) I am using XDoclet so what do I need there to back up?
Oh yeah, I forgot about XDoclet. You’ll also need to add .xdoclet to the list of files to add to VSS. You shouldn’t add the xdoclet_build.xml file as it is regenerated each time you look at the XDoclet configuration and click OK or Apply. Adding it to VSS might be problematic since it is regenerated so often and because the paths it uses are currently absolute. As a result, regenerating it on each workstation is the best bet.
I am trying to find out what steps do I have to do in order to setup a new developement env. for new member in the dev team on a new workstation, once the whole project is inside the VSS.
I understand. That set of “dot” files plus all your development artifacts (Java, JSPs, HTML, etc) should be all that’s needed to get a project off the ground on a new machine.
3) What about the workspace env. configuration? are these saved too in the VSS?
Not automatically. However, you could always export all the preferences at Window > Preferences > Export… into an export file and then add the file to VSS somewhere. Then, on each new workstation you set up the user will just need to retrieve that export file and import it into their preference setup. That way you’ll be using the same tab settings, formatting options, etc.
ErezMemberOne more thing,
On my current machine the entire project (consisting of several project in fact) are in a dedicated workspace.
On the new machine, what do I need to do in order to get the project up from the VSS ? Do I create a new workspace, retrieve the files from the VSS, and use the import?Thanks again,
Erez
Scott AndersonParticipantOn the new machine, what do I need to do in order to get the project up from the VSS ? Do I create a new workspace, retrieve the files from the VSS, and use the import?
I imagine it’s similar to the way CVS works. You’d create a new workspace, connect to VSS just as you did to save your project in it, and then pull all the projects from the repository. So basically, “yes” to you question, although you shouldn’t need to use import for the projects, just the preference settings.
ErezMemberBy the way,
Don’t you need first a project to be able to connect it to VSS? If so, then it means that for every project in the workspace I’ll have to create a project in the new workspace on the new machine and link it to VSS and retrieve everything. A J2EE application contains 3 or more projects. Is this true? I hope I am missing something..
Erez
Scott AndersonParticipantErez,
For CVS that’s definately not the case. However, I’m too rusty on VSS to answer the question definitively for that version control system. Does anyone else know?
By the way, I assume you’re using VSS rather than CVS because it’s some sort of a corporate standard and not by choice, correct? The reason I ask is that if you have a choice I’d recommend that you run away from VSS as it is both quirky in operation and slow in execution.
-
AuthorPosts