Quickstart Cheat Sheet Contributing Guide

Purpose of the Cheat Sheets

Basic Steps to Create a Cheat Sheet

You can create a cheat sheet using the Eclipse Wizard or you can copy and modify an existing cheat sheet from another quickstart. This section describes how to create a cheat sheet using the Eclipse wizard.

Note: Be sure your project folder is located outside of the Eclipse workspace before you begin this process.

  1. Import your quickstart into JBoss Developer Studio (JDBS) .
    1. From the menu, choose File –> Import –> Maven –> Existing Maven Projects, then click Next.
    2. Navigate to your quickstart, select it, then click OK.
    3. Click Finish.
  2. Create the cheat sheet.
    1. From the menu, choose File –> New –> Other –> User Assistance –> Cheat Sheet, then click Next.
    2. Select the quickstart folder, give it a name ‘cheatsheet.xml’, and choose Simple Cheat Sheet.
    3. Click Finish.
  3. Populate the cheatsheet with useful information to help a user understand the quickstart.
    1. Modify the title, for example: helloworld
    2. Add an introduction, for example: This quickstart demonstrates the use of CDI 1.0 and Servlet 3.0. It is a simple application that can be used to verify the JBoss EAP server is configured and running correctly.
    3. Add an item for each file or class you want to describe.
      • This is dependent on the quickstart features you plan to demonstrate.
      • Provide a good description.
      • Add subitems to describe code sections and provide the line numbers that are referenced.
  4. Test your cheat sheet by opening it in JDBS.
    1. Go through each step and make sure the descriptions are valid.
    2. Click on each link to make sure it opens the file and highlights the correct lines of code.
  5. When you finish testing the cheat sheet, rename the file from cheatsheet.xml to .cheatsheet.xml and make sure it is located in the root directory of the quickstart.

General Guidelines

Find Help

You can find additional help at the following locations: