|Re: Web Project from non WAR structure file system [message #900100 is a reply to message #900097]
||Fri, 03 August 2012 20:40
| David Wegener
Registered: July 2009
On 08/03/2012 06:01 PM, Aaron Robinson wrote:|
> I've inherited a few web apps that have set in stone SVN structures and
> the current devs are using an old Intellij version. Difficult to upgrade
> without cost and therefore sign off pain.
> So I want to create dynamic web projects in Eclispe so that I can hot
> deploy to Tomact. The issue I face is telling the project to take
> different files from different places.
> The Java is easy - I just removed the existing src folder and added a
> new one pointing to the Java folder on the file system.
> Most of the web app content follows the J2EE web app deployment
> structure but some doesn't so I need a way of telling the project where
> to get each file set (JSP, JS) and config files (web.xml, struts.xml)
> and where to put them.
> I can import but this brings the files in my project space - I don't
> want this - I want to update the files in the location they were checked
> out to. I can import virtually but this means that I can't then add
> files or remove them.
> I was hoping to keep the project workspace completely independent of the
> checked out code, so .project, .classpath, class files etc don't end up
> in SVN. I know I can just point a new project at the SVN check out dir
> and that there are options to send the Java classes outside of the
> workspace but this doesn't help me with the other Eclipse files and I
> think I would lose the benefits of the dynamic web project woudln't I if
> things aren't ni the folders the project expects.
> The objective is to leverage the dynamic web project functionality but
> keep Eclipse and the codebase completely independent.
> Is this possible?
You should ask in the Web Tools forum. Dynamic Web projects are part of
the Web Tools not JDT.
Powered by FUDForum
. Page generated in 0.01558 seconds