[jboss-user] [JBoss Tools] - Copying and Branching a Project

Denis Golovin do-not-reply at jboss.com
Thu Mar 25 17:56:02 EDT 2010


Denis Golovin [http://community.jboss.org/people/dgolovin] replied to the discussion

"Copying and Branching a Project"

To view the discussion, visit: http://community.jboss.org/message/534086#534086

--------------------------------------------------------------
> John Bailo wrote:
> 
> 1. When I run/debug MYPROJECTNEW at the project level, it launches under the old projects url, localhost/MYPROJECTOLD
> 
It can be changed in project properties dialog. Select "Web Project Settings" Category and you'll see 'Context Root' field to define it.

> John Bailo wrote:
>  
> 1. In the development JBoss AS 4.3.2 server, I want to add MYPROJECTNEW to the list of configured projects on the server.   However, I do not see MYPROJECTNEW in the list of projects, only MYPROJECTOLD
> 2. If I try to right click and debug a .jsp file in MYPROJECTNEW, I am told  +The selection is not within a valid module+.   Could this be related to (2
> 
Here is the general approach to fix this in your case.
1. Change filter preferences to see hidden files which name started from .
2. Do file search trough all files for 'MYPROJECTOLD'  and replace to my "MYPROJECTNEW"
3. Close and open project again

> John Bailo wrote:
> 
> 4. When I look at my CVS repositor, it appears that any files I add to MYPROJECTNEW are being added to MYPROJECTOLD.   MYPROJECTNEW does not appear in the repository, even though I right-clicked and selected *Branch* in the Eclipse +Team+ menu.
Delete hidden CVS meta data after you copied project and share project again. Another approach is exporting it before renaming to get just sources without CVS metadata.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/534086#534086]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100325/7bf7869a/attachment.html 


More information about the jboss-user mailing list