4.4. Create the TicketMonster Project
4.4.1. Obtain the Project Source Code
The TicketMonster example source code is provided as a
.zip file on the Red Hat Customer Portal. This procedure guides you through downloading this .zip file and extracting the contents ready for use with JBoss Developer Studio. The TicketMonster source code can also be downloaded from the JBoss Developer website.
Procedure 4.1. Obtain the Project Source Code
- Log into the Red Hat Customer Portal at http://access.redhat.com.
- Locate the downloads for this release version of JBoss Web Framework Kit.
- Download the
.zipfile for Red Hat JBoss Web Framework Kit TicketMonster Demo. - Extract the contents of the downloaded
.zipfile to the location where you want to keep the TicketMonster source code.
4.4.2. Import the Project Source Code
Once the TicketMonster source code is obtained and unpackaged, you must import it into JBoss Developer Studio, as detailed in the procedure below. TicketMonster is a Maven-based project so a specific Import Maven Project wizard is used for the import.
Procedure 4.2. Import the Project Source Code
- Click → to open the Import wizard.
- Expand Maven, select Existing Maven Projects and click .
- In the Root Directory field, enter the path to the TicketMonster source code. Alternatively, click to navigate to the source code location. The Import Maven Project wizard recursively searches the path for a
pom.xmlfile. Thepom.xmlfile identifies the project as a Maven project. The file is listed under Projects once it is found. - Click . When the import process is complete, the project is listed in the Project Explorer view.
