Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Dynamic Web Project with old project structure
Dynamic Web Project with old project structure [message #171454] Fri, 16 June 2006 07:59
Eclipse UserFriend
Originally posted by:

I'm using WTP 1.5RC4
I have in CVS such structure:
\lib - here are .jar libraries
\src - here are java sources
\web.xml - here is application web.xml file

Of course classes aren't in CVS, it's only empty directory which should
contain classes. Java sources are in \WEB-INF\src and all other jsp are
in main directory
How should I reconfigure Dynamic Web Project to match my tree?

How I create project:
new project -> checkout form CVS -> new project wizard ->Dynamic Web Project
Then i have a choice:
Dynamic Web Module 2.2/2.3 (is it JSP version or what?), anyway i leave
defaults here
Then i have:
Context root - I use defult
Content directory - I don't know what to use here, maybe "/"?
Java source directory - i write here WEB-INF/src
After this wizard Eclipse wants to switch to J2EE and downloads sources
form CVS
Next i change Java Build Path - I include all .jar as libraries and
change output folder from myproject-wtp/build/classes to
myproject-wtp/WEB-INF/classes - it works, classes compile ok and are in
ouput folder.
Now i'm starting server - it's publishing something and it starts ok, it
even see my context, but i don't see any jsp file.
I stop server and then start it again - but I can't:
"Server Tomcat v4.1 Server @ localhost failed to start"
In log:
An exception stack trace is not available.
Session data:
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Command-line arguments: -os win32 -ws win32 -arch x86

Previous Topic:WTP don't compile change
Next Topic:AMD64 and sqlpage
Goto Forum:

Current Time: Sun Jun 24 03:40:45 GMT 2018

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

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

Back to the top