Sakai App Builder

Sakai App Builder

PAGE IS OUT OF DATE!!!

see the following pages instead:

https://confluence.sakaiproject.org/display/BOOT/Sakai+Wicket+Maven+Archetype
https://confluence.sakaiproject.org/display/BOOT/Sakai+Spring+MVC+Maven+Archetype

 

 

Information

Where do I get it?

The Sakai App Builder can be installed from within Eclipse using the built-in update feature as follows:

  1. Start Eclipse

  2. Under the "Window" menu, select "Preferences"

  3. Expand the "Java" heading on the left side

  4. Expand the "Build Path" subheading

  5. Single-click the "Classpath Variables" subheading

  6. Click the "New" button

  7. For the Name, enter "M2_REPO"

  8. Click the "Folder" button, then navigate to the location of your local maven 2 repository (you want the repository directory: ~/.m2/repository)

  9. Click "OK" to close the folder browsing dialog.

  10. Click "OK" to close the "New Variable Entry" dialog.

  11. Click "OK" to close the preferences window.

  12. Under the "Help" menu, select "Software Updates", then "Find and Install".

  13. Highlight the radio button marked "Search for new features to install", then click "Next".

  14. Click the button marked "New Remote Site".

  15. For the Name, enter "AppBuilder Site"

  16. For the URL, enter http://source.sakaiproject.org/appbuilder/update/

  17. Make sure the checkbox next to the new remote site is checked, then click "Finish"

  18. Check the box next to the latest version of Sakai AppBuilder, then click "Next"

  19. Read the license agreement, select the radio button indicating that you agree to the terms, then click "Finish"

  20. Select an alternate installation path if desired, then click "Finish" again

  21. Click "Install" on the next screen

  • Note: The plugin requires eclipse 3.2 or better

How do I use it? (plugin is installed, now what?)

Follow these steps to create a Sakai webapp starter project in eclipse:

  1. Click on File -> New -> Project -> SakaiProject -> Sakai App Project to start the wizard

  2. Enter a name for your project

  3. Change the directory location for the project if you don't like the default

    • Recommended: Use your local Sakai source root folder if you want your project ready to build, deploy, and run in Sakai (otherwise, you will have to move it and reimport it into Eclipse)

  4. Change the project key if you don't like the autogenerated one

  5. Select a UI display layer technology

  6. Select an implementation

    • Note: The directory structure only option will not produce a funcitonal app

  7. Click Finish to generate the webapp

    • Check the README file in the root of the new project for information on using the new project

Versions

  • 0.5 (Initial Release) - Sept 25, 2006

    • Build a functional tool to use as a basis for Sakai application development

      • Enter a project key and name which are used throughout the generated application

    • Choose from 3 display technologies (RSF, JSF, JSP)

    • Choose from 3 implementations

      1. Full CRUD app - a full 2 screen application which allows for creation, reading, updates, and deletes of items

      2. Hello World - a basic hello world app for those who want to start simple

      3. Directories Only - just the correct directory structure and maven project files for those who want to start with bare bones

  • 0.6 - Oct 12, 2006

    • Added support for Apache Velocity templates

      • Deprecated the old homegrown template system

    • Added an update site for the plugin

  • 0.7 - Nov 14, 2006

    • Corrected but that caused 0.6 to not update correctly

    • Added code to do better Sakai security (using Authz)

      • Add default security permissions demo code

    • Updated to use Generic DAO 0.8

    • Fixed a scope bug in the RSF templates

  • 0.77 - May 18, 2007

    • RSF updated to use 0.7.1 and new features for that version

    • Added ability to choose a package prefix (org.sakaiproject no longer required)

    • Fixed some template bugs

    • Added checking for reserved words in key and package name

    • Added extra comments

  • 0.82 - Aug 24, 2007

    • Added Maven 2 build options

    • Updated version of RSF, generic-dao, and other jars

    • Changed the created file structure to match with the new one at Sakai application (tool) structure

  • 0.9 - ??

    • Possibly add in velocity as a presentation option?

    • RSF OTP tool as an option?