|
|
|
Re: dynamic web project [message #225748 is a reply to message #225709] |
Mon, 29 December 2008 12:49 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Anna,
could you explain your use case? Why does the default output directory not work?
As it is your first web project, the defaults should be fine ;-).
Best regards
Wolfgang
Anna schrieb:
> Hi!
>
> This is my first web project.
> When creating a dynamic web project there is no /classes subfolder under
> /web-inf folder. My .Java source files are under /src. After compiling
> them .classes files get placed into build/classes folder. And this is
> the problem, because the system is looking for them in /web-inf/classes
> folder that does not exist.
|
|
|
Re: dynamic web project [message #225780 is a reply to message #225709] |
Mon, 29 December 2008 16:45 |
|
Anna wrote:
> Hi!
>
> This is my first web project.
> When creating a dynamic web project there is no /classes subfolder under
> /web-inf folder. My .Java source files are under /src. After compiling
> them .classes files get placed into build/classes folder. And this is
> the problem, because the system is looking for them in /web-inf/classes
> folder that does not exist.
> Is there some type of Eclipse configuration I can change to make it work
> properly?
> I'll really appreciate your help.
>
Anna,
I'm no expert, but when you run with a Tomcat server within Eclipse
(setting up a server with the project), the deployment works just fine.
However, on my projects, we do force the class files to the
WEB-INF/classes subdirectory. This is to correct formal deployment later on.
We still use Europa, so be warned about what I'm saying here.
We have to create the classes subdirectory. Then, right-click on WEB-INF
in your project, choose New->Folder, type in "classes" as the name, then
click Advanced and Link to Folder in the file system, navigate to the
classes folder you created and click OK.
Russ Bateman
|
|
|
|
Re: dynamic web project - off topic: why still on Europa? [message #225824 is a reply to message #225817] |
Thu, 01 January 2009 20:52 |
|
David Williams wrote:
> Windofkeltia wrote:
>>
>> We still use Europa, ....
> Just curious about the big picture of WTP and Eclipse ... why stay on
> Europa? I assume it's some other tools or add-ins that are only on Europa?
>
I am the sort of person to move to and keep up with the latest thing.
However, my work colleagues are still on Europa (I started my present
employment on 1 August this year only) and I had some trouble getting
our stuff going on Ganymede (although, I think it was more a problem of
openSuSE 11 64-bit and the JRE than Eclipse). So I'm running openSuSE
10.3 32-bit and Europa. My colleagues are all Windoz users.
Anyway, I'm also the sort of person to spend more time in productive
work than hacking and experimenting, so Europa suits me because it
works great.
In another month, we're moving some of our code from Java 1.4 to 1.5/6.
Perhaps this will be the moment to attempt the leap again.
Best to all and to all a happy, productive and EMPLOYED new year!
Russ
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04034 seconds