I'd recommend to use the default settings provided by Maven, i.e., keep using the target folder.
Also, keep the mailing list in your response mails otherwise I'll be the only one seeing them. Gj On Tue, Feb 19, 2019 at 7:24 PM Bob Senkewicz <[email protected]> wrote: > OK. First, thanks for the guidance. I am groping around reading a whole > lot of material here. I see the option to create a Maven / Web Application > and stepped through to create my new "myapp2". I am also reading the link > you passed along and see the reference to "target" as the final location > for what is built. I found how to tell the Maven build to use the > 'application root as the target. Again, thanks. > > Should the build also move all the JSP, HTML, etc files to that root > folder (or sub folder structure) when executing the build? When I run a > build/test of the default app I am not seeing the base INDEX.HTML file > moved to the root folder. > > Thanks again! > > Bob > On 2/19/2019 11:38 AM, Geertjan Wielenga wrote: > > Recommend you start with Maven | Web Application, i.e., that you have a > Maven based application instead of Ant based as you have now. In the > upcoming release, it will be clearer that that is the preferred starting > point. > > When you build, you'll then have a 'target' folder as in any Maven project: > > > https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html > > Gj > > > > On Tue, Feb 19, 2019 at 5:24 PM Bob Senkewicz <[email protected]> wrote: > >> My New Project selection options were... >> >> Panel 1 >> >> Category : Java Web >> >> Project : Web Application >> >> Panel 2 >> >> Project name : "myapp" >> >> Project Location : \\serverwebroot >> >> Project Folder : \\serverwebroot\myapp >> >> Panel 3 >> >> Server : Apache Tomcat 8.0.27.0 >> >> Java EE Version : Java EE 7 Web >> >> Context Path : /myapp >> >> If you need any more please let me know and MANY MANY THANKS! >> >> Bob >> >> >> On 2/19/2019 11:07 AM, Geertjan Wielenga wrote: >> >> Which type of project are we talking about? I.e., which project did you >> use in the New Project dialog at the start? >> >> Gj >> >> On Tue, Feb 19, 2019 at 4:53 PM Bob Senkewicz <[email protected]> wrote: >> >>> Trying to set up and deploy first sites. >>> >>> NetBeans 8.2, JDK 8.0.181, Tomcat 8.0, IIS 8 >>> >>> I know this is basic stuff but here goes... >>> >>> Defined Application on web server as "myapp" (names changed to protect >>> the innocent). Netbeans creates a folder "Web" and places all source in >>> this folder. Pages are coded and I run a test. Netbeans then builds a >>> folder "Build" and places the built source there. I was expecting it to >>> place the code to run in the root of "myapp" so the server can resolve >>> it without further specifying the "Build" folder in my URL. >>> >>> What have I missed in the application configuration to have the built / >>> verified application in the root folder? Or am I supposed to move it >>> manually? Or is there come other logistic to the configuration I have >>> missed? >>> >>> Thanks for any guidance. >>> >>> Bob Senkewicz >>> >>> >>> --------------------------------------------------------------------- >>> 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 >>> >>>
