LDSTechForumProjects

Pet Store Getting Started Guide (NetBeans IDE)

« Back to LDS Java Stack

IDE Setup

See Getting Started with NetBeans IDE

Pet Store Setup

  1. Checkout the Pet Store Project.
    • Browse the Java Stack subversion repository.
      • From the IDE main menu select Team > Subversion > Checkout...

      Netbeans-petstore-checkout-step1.png

    • Select the Stack Petstore project for checkout.

      Netbeans-petstore-checkout-step2.png

      • Under "Repository Folder(s)", expand modules/pet-store
      • Select the tags/<version> you want or trunk and click OK.
      • Enter the location where you want your project files downloaded.

    • After checkout is complete, open the project Stack Petstore and all of its required projects.
    • In the Projects explorer, right-click on the Stack Petstore project and choose Build.

  2. Install Oracle VM

  3. Run Petstore Migration
    • Create a custom Maven execution on the stack-pet-store-db project.
      • In the Projects explorer, right-click on the stack-pet-store-db project and select Custom > Goals...

      Netbeans-petstore-setup-step1.png

      • In the Goals field, enter: stack-db:migrate
      • Check the box Remember As, and give it the name Migrate Database, then click OK to run the goal

      Netbeans-petstore-setup-step2.png

      • Note: Custom Maven executions may be edited in the Project Properties dialog
        • In the Projects explorer, right-click the project node
        • Choose Actions and select your custom action from the list.

  4. Start WAM Emulator
    • Create a custom Maven execution on the stack-pet-store-wam project.
      • In the Projects explorer, right-click on the stack-pet-store-wam project and select Custom > Goals...
      • In the Goals field enter: stack-wam:run
      • In the Properties field enter: wamSkip=false
      • Check the box Remember As, and give it the name Run WAM Emulator, then click OK to run the goal

      Netbeans-petstore-setup-step3.png

  5. Create LDSTech Server for stack-pet-store-admin
    • Create a custom Maven execution on the stack-pet-store-admin-deploy project.
    • Point the stack-pet-store-admin-web project to the new LDSTech Server
    • Register the new LDSTech Server with the IDE
  6. Create LDSTech Server for stack-pet-store-ui
    • Create a custom Maven execution on the stack-pet-store-ui-deploy project.
    • Register the new LDSTech Server with the IDE
    • Point the stack-pet-store-ui-web project to the new LDSTech Server
  7. Create LDSTech Server for stack-pet-store-ws
    • Create a custom Maven execution on the stack-pet-store-ws-deploy project.
    • Register the new LDSTech Server with the IDE
    • Point the stack-pet-store-ws-web project to the new LDSTech Server


**See Robert Thornton on the Java Stack Team for any additional help or tips on maximizing your productivity using NetBeans.

« Back to LDS Java Stack

This page was last modified on 14 February 2013, at 12:53.

Note: Content found in this wiki may not always reflect official Church information. See Terms of Use.