Reply To: Rewrite & Weblogic, useful info and bugfix

Splash Forums Rewrite Users Rewrite & Weblogic, useful info and bugfix Reply To: Rewrite & Weblogic, useful info and bugfix

#25832

0swald
Participant

No quite. Rewrite wont work at all if SCAN_LIB_DIRECTORY isn’t set to true, but, in addition to SCAN_LIB_DIRECTORY = true, the bug should be fixed, WebClassesFinder dies with an IllegalStateException when /WEB-INF/classes/ is empty.

Now what WL does. It takes all the client classes, leaving /WEB-INF/classes/ completely empty, and packages them into the /WEB-INF/lib/_wl_cls_gen.jar, to be exact.
Google says many frameworks are suffering from such behavior, but this is not the case with Rewrite – just make WebClassesFinder skip empty classes folder, let users know that SCAN_LIB_DIRECTORY should be activated for WL, and we’re all happy))