Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Problems using publishing...
Problems using publishing... [message #170897] Fri, 09 June 2006 00:38
Eclipse User
Originally posted by: shankarv.earthling.net

I have a EAR project that contains a Dynamic Web Project and a EJB project.
When I publish this to Weblogic, the WAR in the generated EAR has all the
WebContent stuffed under the WEB-INF directory.

The structure of the Dynamic Web project is as follows:

src - this is empty since all java classes are packaged into the EJB jar
itself and is referred in the Manifest of the WAR.
WebContent - Auto generated by the project creation wizard and has META-INF
and WEB-INF
www - linked source folder to all the Web app content - js/html files
build - Default output folder for the project.

The only folder that participates as a Source folder (if you see Java Build
Path) properties is www.

The default output folder is build.

When I "Build Project" the contents of www as well as META-INF and WEB-INF
appear in the build folder.

When I publish to the server, I expect the build output folder to be
packaged in the WAR. Instead it looks like this.

META-INF
WEB-INF
WEB-INF/web.xml
WEB-INF/classes
WEB-INF/classes/<all contents of www>

This basically prevents the app from working. Any clues on what is going
wrong here?
Previous Topic:WebServices using WTP
Next Topic:Running into NPE errors with WTP RC4
Goto Forum:
  


Current Time: Sat Oct 25 15:18:24 GMT 2014

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

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