Folder structure in workspace differs from structure in SVN [message #11036] |
Thu, 29 November 2007 03:14 |
Eclipse User |
|
|
|
Originally posted by: jgliniecki.gmail.com
I started to work with a team that has a web application already in SVN.
The folder structure is as follows:
\application
\index.jsp
\module1
\test1.jsp
\WEB-INF
\web.xml
I would like to use a Dynamic Web Project in Eclipse WTP, but this
requires all web content to be in its own folder (with the default name of
WebContent). Thus my workspace would need to look like this:
\application
\WebContent
\index.jsp
\module1
\test1.jsp
\WEB-INF
\web.xml
When I use the Find/Check Out As Wizard, using the "Check out as
Project.." options, gives the same folder structure as in SVN.
When I use the "Check out as a folder into existing project" option, I get
the following warning: "Destination project is detached from the source
control. So please take into consideration that the plug-in won't provide
any SVN actions for these resources."
My question is: Is there any way to map from SVN to a different folder
structure in your workspace and still have SVN actions?
Thanks,
Joe
|
|
|
Re: Folder structure in workspace differs from structure in SVN [message #11048 is a reply to message #11036] |
Thu, 29 November 2007 12:05 |
Eclipse User |
|
|
|
Originally posted by: alexander.gurov.polarion.org
Hi,
In order to solve the problem please share the project with structure:
\application
\WebContent
to separate repository or to separate location on the same repository.
Then simply checkout the original project into this container and commit
SVN property changes made by plug-in on WebContent folder. So, now you
have the project with required structure which links original sources
using svn:externals property and you have all Team actions enabled.
|
|
|
Powered by
FUDForum. Page generated in 0.02880 seconds