Community
Participate
Working Groups
Set the project-level JS generation directory to "generatedJavaScript", then for one of the packages containing RUIHandlers override the JS generation directory to "genJS2". When you deploy the files in "genJS2" will not get copied and the application cannot run. Now disable the JS generator at the project level, but leave it on at the package containing the RUIHandlers, try to deploy, and get an NPE inside Util.combineArray().
Hi Justin, I can not recreate your first issue (js files in genJS2 are not copied). the NPE has been fixed. For a RUI project, the project-level compile must have Javascript, otherwize no js files will be copied, even if the sub-folders hasve Javascript compiler. Thanks.
Sorry, reopen it, waiting for your reply. Thanks.
Something must have been out of whack on my debug environment, I'm no longer able to recreate the issue about overrided generators being excluded. As for the first issue where you need the JS generator enabled at the project level to support deploying RUI applications, I do not agree with this restriction. If we're smart enough to copy the alternate directories, why are we not smart enough to know about them when the project level has no JS generator? This isn't critical for 0.7 and should be deferred, but we shouldn't resolve this defect until it gets fixed in a future release.
Lower down the priority to normal. Thanks.
Fixed. Thanks.
Verified.