Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web Project Composed of various svn resources
Web Project Composed of various svn resources [message #535331] Sat, 22 May 2010 13:01 Go to next message
Dmitri Sidelnikov is currently offline Dmitri SidelnikovFriend
Messages: 3
Registered: July 2009
Junior Member
Hi all.

Out web project has completely different layout in SVN than Eclipse suppose. So I can not just checkout project from SVN. I need to compose Eclipse Dynamic Web Project of various SVN resources (web content folders, java code folders, web static resource folders etc.)

Is it possible?

Best regards,
Dmitri
Re: Web Project Composed of various svn resources [message #535554 is a reply to message #535331] Mon, 24 May 2010 12:46 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 5/22/2010 7:02 AM, Dmitri Sidelnikov wrote:
> Hi all.
>
> Out web project has completely different layout in SVN than Eclipse
> suppose. So I can not just checkout project from SVN. I need to compose
> Eclipse Dynamic Web Project of various SVN resources (web content
> folders, java code folders, web static resource folders etc.)
>
> Is it possible?
>
> Best regards,
> Dmitri


You should be able to create a new Dynamic Web Project and change to
getting the source from wherever you have checked it out from Subversion.

When you use that wizard to create the proejct, you'll want to rename
WebContent to be whatever your existing code uses.

Your Java code should be in paths dominated by 'src' but if not, you can
right-click on the project after creation and add the folders you do
have as Source Folders.

Hope this helps,

Russ Bateman
Re: Web Project Composed of various svn resources [message #536648 is a reply to message #535331] Sat, 29 May 2010 09:41 Go to previous message
Dmitri Sidelnikov is currently offline Dmitri SidelnikovFriend
Messages: 3
Registered: July 2009
Junior Member
Russell, thanks for your reply.

I can change WebContent name, but I can not find how to change the place where the WebContent sources getting from. Should I use import from file system and overwrite WebContent?

Also I can add java sources to project, and that sources are from SVN (.svn directories are present), but Project Team capabilities are turned off (except "Share..." and "Apply patch"). It seems that project does not "know" that I use SVN for some resources in project.

This is completely unusable. I used to work with IntelliJ IDEA and IDEA lets developer compose project structure from file system sources freely. In IDEA Project description files (.iml etc.) and resources (java files, web content etc.) are completely separated. Now a have to use Eclipse and this killing me.

The main point is that we does not store project special(service) files (.iml, .project, .classpath) in SVN, just resources (jars, java code, web resources).

Can anybody help with this? Is it possible or not?

Best regards,
Dmitri
Previous Topic:Eclipse is trying to access port 80 when before compile
Next Topic:Eclipse Java EE with JOnAS web app tutorial?
Goto Forum:
  


Current Time: Fri Apr 26 13:11:44 GMT 2024

Powered by FUDForum. Page generated in 0.03038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top