Community
Participate
Working Groups
Build Identifier: WTP 3.2 Using the JavaScript tooling it is possible to get the following error written to the .log file: !ENTRY org.eclipse.wst.validation !MESSAGE JavaScript file name must end with .js !STACK 0 java.lang.IllegalArgumentException: JavaScript file name must end with .js at org.eclipse.wst.jsdt.internal.core.PackageFragment.getClassFile(Unknown Source) at org.eclipse.wst.jsdt.internal.core.util.HandleFactory.createOpenable(Unknown Source) at org.eclipse.wst.jsdt.internal.core.NameLookup.findBindingSearch(Unknown Source) at org.eclipse.wst.jsdt.internal.core.NameLookup.findBinding(Unknown Source) ... The message for the java.lang.IllegalArgumentException is not very helpful as it does not say what file has an invalid javascript extension. Attached is a patch which I believe will improve this. Reproducible: Always
Created attachment 168392 [details] Possible patch
Troy, *please* give us more specific build IDs than that in the future. As strings are frozen, pushing out to 3.3.
Committed to HEAD, thanks, Troy!