Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Status

Exercise

Status

Simple 1

Updated to 2.2

Simple 2

Updated to 2.2

Code Changes

The existing simple1 tool has the following files:

No Format
simple1/
	project.xml
	src/
		java/org/sakaiproject/tool/simple/
			SimpleTool.java
		webapp/
			web.xml
			tools/
				sakai.sample.tools.simple.xml

To conform to Sakai 2.2. best practice, this should be:

No Format

simple1/
	simple1-tool
		tool
			project.xml
			src/
				java/org/sakaiproject/simple/tool/
					SimpleTool.java
				webapp/
					web.xml
					tools/
						sakai.sample.tools.simple.xml

The simple2 version would have exactly the same structure. It uses the ActiveToolManager which is now in a different java package. This needs to be changed in SimpleTool.java.