You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Laszlo Kishalmi <la...@gmail.com> on 2019/06/06 13:46:26 UTC

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, j.tosovsky@email.cz 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: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


RE: Editor support for JSPs in not standard location

Posted by Jan Tosovsky <j....@email.cz>.
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 <la...@gmail.com>
> Sent: Thursday, June 6, 2019 3:46 PM
> To: users@netbeans.apache.org
> 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, j.tosovsky@email.cz 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: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists