Index: lams_tool_wookie/.classpath
===================================================================
diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -rec39d1ee6a4b7b3a709058eb39777c872e1b5c97
--- lams_tool_wookie/.classpath (.../.classpath) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80)
+++ lams_tool_wookie/.classpath (.../.classpath) (revision ec39d1ee6a4b7b3a709058eb39777c872e1b5c97)
@@ -3,10 +3,9 @@
-
-
+
@@ -18,11 +17,12 @@
-
+
+
Fisheye: Tag ec39d1ee6a4b7b3a709058eb39777c872e1b5c97 refers to a dead (removed) revision in file `lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/actions/AuthoringAction.java'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag ec39d1ee6a4b7b3a709058eb39777c872e1b5c97 refers to a dead (removed) revision in file `lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/actions/LearningAction.java'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag ec39d1ee6a4b7b3a709058eb39777c872e1b5c97 refers to a dead (removed) revision in file `lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/actions/MonitoringAction.java'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/AuthoringController.java
===================================================================
diff -u
--- lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/AuthoringController.java (revision 0)
+++ lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/AuthoringController.java (revision ec39d1ee6a4b7b3a709058eb39777c872e1b5c97)
@@ -0,0 +1,37 @@
+/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+/* $$Id$$ */
+
+package org.lamsfoundation.lams.tool.wookie.web.controller;
+
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+@Controller
+@RequestMapping("/authoring")
+public class AuthoringController {
+ @RequestMapping("")
+ protected String unspecified() {
+ return "index";
+ }
+}
\ No newline at end of file
Index: lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/LearningController.java
===================================================================
diff -u
--- lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/LearningController.java (revision 0)
+++ lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/LearningController.java (revision ec39d1ee6a4b7b3a709058eb39777c872e1b5c97)
@@ -0,0 +1,60 @@
+/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+/* $$Id$$ */
+
+package org.lamsfoundation.lams.tool.wookie.web.controller;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpSession;
+
+import org.lamsfoundation.lams.learning.service.ILearnerService;
+import org.lamsfoundation.lams.usermanagement.dto.UserDTO;
+import org.lamsfoundation.lams.util.WebUtil;
+import org.lamsfoundation.lams.web.session.SessionManager;
+import org.lamsfoundation.lams.web.util.AttributeNames;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.context.WebApplicationContext;
+import org.springframework.web.context.support.WebApplicationContextUtils;
+
+@Controller
+@RequestMapping("/learning")
+public class LearningController {
+
+ @Autowired
+ private WebApplicationContext applicationContext;
+
+ @RequestMapping("")
+ public String unspecified(HttpServletRequest request) throws Exception {
+ HttpSession ss = SessionManager.getSession();
+ UserDTO user = (UserDTO) ss.getAttribute(AttributeNames.USER);
+ long toolSessionId = WebUtil.readLongParam(request, AttributeNames.PARAM_TOOL_SESSION_ID);
+
+ WebApplicationContext wac = WebApplicationContextUtils
+ .getRequiredWebApplicationContext(applicationContext.getServletContext());
+ ILearnerService learnerService = (ILearnerService) wac.getBean("learnerService");
+ String finishURL = learnerService.completeToolSession(toolSessionId, user.getUserID().longValue());
+ return "index";
+ }
+}
\ No newline at end of file
Index: lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/MonitoringController.java
===================================================================
diff -u
--- lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/MonitoringController.java (revision 0)
+++ lams_tool_wookie/src/java/org/lamsfoundation/lams/tool/wookie/web/controller/MonitoringController.java (revision ec39d1ee6a4b7b3a709058eb39777c872e1b5c97)
@@ -0,0 +1,38 @@
+/****************************************************************
+ * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
+ * =============================================================
+ * License Information: http://lamsfoundation.org/licensing/lams/2.0/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ *
+ * http://www.gnu.org/licenses/gpl.txt
+ * ****************************************************************
+ */
+/* $$Id$$ */
+
+package org.lamsfoundation.lams.tool.wookie.web.controller;
+
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+@Controller
+@RequestMapping("/monitoring")
+public class MonitoringController {
+
+ @RequestMapping("")
+ public String unspecified() {
+ return "index";
+ }
+}
\ No newline at end of file
Index: lams_tool_wookie/web/WEB-INF/spring-servlet.xml
===================================================================
diff -u
--- lams_tool_wookie/web/WEB-INF/spring-servlet.xml (revision 0)
+++ lams_tool_wookie/web/WEB-INF/spring-servlet.xml (revision ec39d1ee6a4b7b3a709058eb39777c872e1b5c97)
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Fisheye: Tag ec39d1ee6a4b7b3a709058eb39777c872e1b5c97 refers to a dead (removed) revision in file `lams_tool_wookie/web/WEB-INF/struts-config.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_wookie/web/WEB-INF/web.xml
===================================================================
diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -rec39d1ee6a4b7b3a709058eb39777c872e1b5c97
--- lams_tool_wookie/web/WEB-INF/web.xml (.../web.xml) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80)
+++ lams_tool_wookie/web/WEB-INF/web.xml (.../web.xml) (revision ec39d1ee6a4b7b3a709058eb39777c872e1b5c97)
@@ -37,24 +37,15 @@
- action
- org.apache.struts.action.ActionServlet
-
- config
- /WEB-INF/struts-config.xml
-
-
- debug
- 999
-
-
- detail
- 1
-
+ spring
+
+ org.springframework.web.servlet.DispatcherServlet
+
+ 1
- action
+ spring
*.do
Fisheye: Tag ec39d1ee6a4b7b3a709058eb39777c872e1b5c97 refers to a dead (removed) revision in file `lams_tool_wookie/web/index.html'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_tool_wookie/web/index.jsp
===================================================================
diff -u
--- lams_tool_wookie/web/index.jsp (revision 0)
+++ lams_tool_wookie/web/index.jsp (revision ec39d1ee6a4b7b3a709058eb39777c872e1b5c97)
@@ -0,0 +1,5 @@
+
+
+ This tool is not supported anymore.
+
+
\ No newline at end of file