Thanks for that link to the source file. I could fix this issue by defining maven-war-plugin with specified warSourceDirectory. In NetBeans 11 that support works regardless war/jar packaging.
Jan > -----Original Message----- > From: Laszlo Kishalmi <[email protected]> > Sent: Thursday, June 6, 2019 3:46 PM > To: [email protected] > Subject: Re: Editor support for JSPs in not standard location > > Please fill an improvement request in our JIRA: > https://issues.apache.org/jira/ > > Also our sources is available on GitHub: > https://github.com/apache/netbeans > > Check this file: > https://github.com/apache/netbeans/blob/master/enterprise/maven.j2ee/ > src/org/netbeans/modules/maven/j2ee/web/WebProjectWebRootProvider > .java > > It could happen that it is enough to configure your maven project in a > specific way. > > Anyway PRs are welcome! > > > On 6/6/19 6:27 AM, [email protected] wrote: > > I've found JSP pages are well supported only if located in standard > > src/java/webapp/ folder and this maven project is packaged to war. > > > > Is it possible to configure NetBeans to have same JSP support also in > > another location, regardless the packaging type? > > > > I am investigating NetBeans for Liferay component development. In this > > case JSPs are stored in /src/main/resources/META-INF/resources folder > > and the result is packaged to jar. > > > > Example project is here: > > https://github.com/liferay/liferay-blade- > samples/tree/7.1/maven/apps/jsp-portlet > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
