Jwsc Packaging The Java Files In The War (Doc ID 1492521.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.5 and later
Information in this document applies to any platform.

Symptoms

When running the following jwsc ant task:

If the include statement under FileSet is used it packages all the java files in the resulting war. Java files for the webservice along with some java bean files.If we remove the include, the webservice classes are packaged excluding the java files but the java beans dont get compiled. This happens in few scenarios where the beans are not directly referred in the webservices but are just used in applicationContext.xml to initialize some library class. 


EXPECTED BEHAVIOR
-----------------------
java files included in FileSet are not included in the generated war file, only classes files are required.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms