File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Strange behavior for sysdeo on fedora core 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Strange behavior for sysdeo on fedora core 5" Watch "Strange behavior for sysdeo on fedora core 5" New topic
Author

Strange behavior for sysdeo on fedora core 5

Paul Fenerty
Greenhorn

Joined: May 06, 2005
Posts: 23
Hello,

Starting with:

1) Linux 2.6.17-1.2174_FC5 (Fedora Core 5)
2) tomcat5-5.5.15-1jpp_6fc
3) Eclipse SDK Version: 3.1.2
Build id: M20060118-1600 (Fedora Core release 5 (Bordeaux))

all of which came with the FC5 distribution, I added:

4) jdk1.5.0_08

and most recently:

5) SYSDEO Tomcat Plugin 3.1.0

Inbetween (4) & (5) I ran an existing webapp of mine, outside of eclipse, and so much of the infrastructure seemingly works OK.

But then:

New Project -> Tomcat Project

failed with:

Project hohos is missing required library:
'/usr/share/tomcat5/common/lib/jasper-runtime.jar'
Project hohos is missing required library:
'/usr/share/tomcat5/common/lib/jsp-api.jar'
Project hohos is missing required library:
'/usr/share/tomcat5/common/lib/servlet-api.jar'

all of which were absent from the FC5 distribution. So I went to find them, and downloaded copies from apache-tomcat-5.5.17, which was the closest to my tomcat5-5.5.15-1jpp_6fc I could find at the jakarta site.

Now

New Project -> Tomcat Project

finished, and Package Explorer view showed the expected file structure. But when I moved some files into WEB-INF/classes, the 'classes' directory disappeared from Package Explorer view. I can open a file from that directory, in eclipse, but the Package Explorer GUI shows only 'lib' as a subdirectory of WEB-INF. I can move files and subdirectories into WEB-INF, and Package Explorer shows them. If I try to create the 'classes' subdirectory in eclipse, it won't, because there already is one.

Subsequently, I have created new Tomcat Projects, and none of them now display the 'classes' subdirectory of WEB/INF, even at project creation. I get no error messages when I create these projects, and the 'classes' subdirectory is always really there in the filesystem.

Anybody ever seen this before? I've read about some strange problems regarding tomcat on FC5, and I have to wonder why the above mentioned jar files were left out.

Is it likely that Sysdeo 3.1.0 will work here?

Thanks (!)
Paul
Paul Fenerty
Greenhorn

Joined: May 06, 2005
Posts: 23
Just to close the loop on this, it all works great, except that the WEB-INF/classes directory is never visible in the Package Explorer, no matter what, while anything else I stick there is always visible, and far be it from me to complain about any such minor idiosyncracies in an otherwise marvelous tool.

In fact, had that directory not started out perfectly visible, right after first bringing it all up, along with the rest of the typical webapp filesystem structure, and so generating the sort of warm happy glow that comes along when something works just as expected, first time out, then I never would have spent all that time trying to get it back.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30353
    
150

Paul,
Thanks for posting the solution so that others who see this thread in the future can benefit.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Consider Paul's rocket mass heater.
 
subject: Strange behavior for sysdeo on fedora core 5