How do I upload a new version of my project to SVN (eclipse)?
Asked Answered
A

3

9

I have a Java project in an SVN server. I created a whole new version of it and now I want to "commit" but keep the previous version on the server. I'm not allowed to use branches on this project. So I've changed the new project's name to projectName_improved. I created a new folder for the project on the server. Now I want to upload projectName_improved to the new folder. I'm using eclipse (+SVN plugin). How do I technically do it (without branching)?

EDIT: The plugin I'm using is Subclipse.

Apron answered 25/1, 2011 at 17:15 Comment(0)
A
8
  • In Eclipse, go to the SVN Repositories perspective.

SVN Repositories

  • Right click on the folder in which you want to put the new (improved) project.

right click on the destination folder

  • import (to import a project to the server).

import window

  • Browse...

  • Find the project on your computer. OK. OK. That's it. The new (improved) project is being uploaded to the server. Done.

Apron answered 25/1, 2011 at 19:54 Comment(0)
P
1

Not a Java person myself, but from experience it sounds like you need to either;

A. Create a new repository on the SVN server. or B. Simply ADD the new folder in the existing repository and then in eclipse you should be able to commit.

I don't think there is anything in the eclipse plug-in itself that alows you to ADD new folders, you have to do that from the OS, or using an app like RapidSVN.

When I say ADD i mean that you can right click on the folder in win explorer and under SVN you can click the Add command. I am using tortoisesvn.... it will also add icons to your folders to let you know what needs to be committed.

Prognosticate answered 25/1, 2011 at 17:21 Comment(0)
C
0

Disconnect from the svn first (eclipse -> team menu -> disconnect) which will delete the existing svn info(say yes when it asks) and then again from the team menu share project- > follow on screen guiding into the svn repo (chosing the place you want to put it in. probably trunk). is this not working?

Caty answered 25/1, 2011 at 17:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.