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:
Start Eclipse
Under the "Window" menu, select "Preferences"
Expand the "Java" heading on the left side
Expand the "Build Path" subheading
Single-click the "Classpath Variables" subheading
Click the "New" button
For the Name, enter "M2_REPO"
Click the "Folder" button, then navigate to the location of your local maven 2 repository (you want the repository directory: ~/.m2/repository)
Click "OK" to close the folder browsing dialog.
Click "OK" to close the "New Variable Entry" dialog.
Click "OK" to close the preferences window.
Under the "Help" menu, select "Software Updates", then "Find and Install".
Highlight the radio button marked "Search for new features to install", then click "Next".
Click the button marked "New Remote Site".
For the Name, enter "AppBuilder Site"
For the URL, enter http://source.sakaiproject.org/appbuilder/update/
Make sure the checkbox next to the new remote site is checked, then click "Finish"
Check the box next to the latest version of Sakai AppBuilder, then click "Next"
Read the license agreement, select the radio button indicating that you agree to the terms, then click "Finish"
Select an alternate installation path if desired, then click "Finish" again
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:
Click on File -> New -> Project -> SakaiProject -> Sakai App Project to start the wizard
Enter a name for your project
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)
Change the project key if you don't like the autogenerated one
Select a UI display layer technology
Select an implementation
Note: The directory structure only option will not produce a funcitonal app
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
Full CRUD app - a full 2 screen application which allows for creation, reading, updates, and deletes of items
Hello World - a basic hello world app for those who want to start simple
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?