Re: [mevenide-user] How to show "Web Pages" category in Netbeans when running Maven Ide?

Johan Andrén <johan.andren-QSmn85sxxjbV5dz/[email protected]> Fri, 1 Feb 2008 15:01:19 +0100
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
Regarding 1: it looks correct. Have you set the project packaging to  
war?

1 feb 2008 kl. 14.16 skrev viggo:

>
> I'm running Netbeans 6.1 M1 with MavenIde 3.0.10. I have a web  
> project not
> created in Netbeans, with the following structure:
>
> -nbproject
> -src
>  -main
>    -java
>      com
>          bla
>    -resources
>    -webapp
>      -WEB-INF
>        web.xml
>      -jsf
>        page1.xhtml
>        page2.xhtml
>  -test
> pom.xml
>
> When I open this project in Netbeans and look at the Projects tab, I  
> can
> only see the following sub items:
> - Source Packages
> - Test Packages
> - Other Sources
> - Libraries
> - Runtime Libraries
> - Test Libraries
> - Project Files
>
> I'm missing the Web Pages sub items which is normally found when  
> creating a
> web project from Netbeans. I'm therefor not able to see my web pages  
> and web
> configuration from the Projects tab, I have to go to the Files tab  
> to find
> them.
>
> Questions:
> 1. How do I configure things so that I'm able to see also the "Web  
> Pages"
> sub item from the Projects tab?
> 2. Is this the preferred project layout when working on web  
> projects? Could
> I have restructured my project so that Netbeans automatically  
> figured out my
> web pages and configuration and then showed me the "Web Pages"  
> within the
> Projects tab?
>

--

Med vänlig hälsning

Johan Andrén        johan.andren-QSmn85sxxjbV5dz/[email protected]
Databyrån AB        http://www.databyran.se/
Tel:  +46(0) 8 50 65 64 00
Fax: +46(0) 8 50 65 64 30

Databyrån AB är certifierat enligt ISO 9001:2000