My Oracle Support Banner

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

Last updated on AUGUST 27, 2020

Applies to:

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


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. 

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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.