All project classes being copied to WEB-INF/classes (build 2136)

I have 3 modules: core, desktop, and web. In the project settings, I have core as a dependency in the web module. Also core is set to "Copy module output to" to WEB-INF/classes.

However I get all my classes from the desktop module as well including my hibernate configuration, which is for the desktop client, not the web server. Desktop is not selected as a dependency, nor is it configured to copy anything (best I can tell).

This DOES NOT happend if I set the Packaging Method to "JAR module output and copy file to".

3 comments
Comment actions Permalink

Is anyone else having this problem?

0
Comment actions Permalink

This has gotten worse in build 2140. I selected my Library classes to be packaged as a jar and copied. It jared one of the two libraries with the name "classes" (no jar extension), and the other never showed up.

Setting a depend module to copy files to WEB-INF/classes copies classes from ALL the modules.

Sorry - gotta witch back to 4.0x for now.

0
Comment actions Permalink

This might not matter anymore. Apparently this is only a problem when you try to use existing project files. I created them (again) from scratch, and it works.

0

Please sign in to leave a comment.