Index: lams_build/build_tools_base.xml =================================================================== RCS file: /usr/local/cvsroot/lams_build/build_tools_base.xml,v diff -u -r1.8.2.5 -r1.8.2.6 --- lams_build/build_tools_base.xml 27 Apr 2016 13:23:05 -0000 1.8.2.5 +++ lams_build/build_tools_base.xml 28 Feb 2017 04:40:41 -0000 1.8.2.6 @@ -26,7 +26,6 @@ - clean-db --> Removes DB tables and entries build-db --> Creates database tables and entries deploy-tool --> Deploys all Tool content @@ -35,15 +34,7 @@ - - - ${ant.project.name}: Dropping Tool database tables - - - - - ${ant.project.name}: Creating Tool database tables @@ -79,7 +70,6 @@ ${ant.project.name}: Copying Tool SQL files - @@ -141,7 +131,6 @@ hideTool="${tool.hide}" minServerVersionNumber="${min.server.version.number}" toolTablesScriptPath="${basedir}/build/deploy/sql/${tool.build.sql.create}" - toolTablesDeleteScriptPath="${basedir}/build/deploy/sql/${tool.build.sql.drop}" toolActivityInsertScriptPath="${basedir}/build/deploy/sql/activity_insert.sql" toolLibraryInsertScriptPath="${basedir}/build/deploy/sql/library_insert.sql" toolInsertScriptPath="${basedir}/build/deploy/sql/tool_insert.sql" Index: lams_build/common.properties =================================================================== RCS file: /usr/local/cvsroot/lams_build/common.properties,v diff -u -r1.44.2.10 -r1.44.2.11 --- lams_build/common.properties 14 Jun 2016 07:19:03 -0000 1.44.2.10 +++ lams_build/common.properties 28 Feb 2017 04:40:41 -0000 1.44.2.11 @@ -48,7 +48,6 @@ # Tool SQL files tool.build.sql.create=create_lams_tool_${tool.short.name}.sql -tool.build.sql.drop=drop_lams_tool_${tool.short.name}.sql #======== END TOOL PROPERTIES ========= Index: lams_build/deploy-tool/lib/lams-tool-deploy.jar =================================================================== RCS file: /usr/local/cvsroot/lams_build/deploy-tool/lib/lams-tool-deploy.jar,v diff -u -r1.32.2.4 -r1.32.2.5 Binary files differ Fisheye: Tag 1.1.10.2 refers to a dead (removed) revision in file `lams_tool_assessment/db/sql/drop_lams_tool_assessment.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.4.3 refers to a dead (removed) revision in file `lams_tool_bbb/db/sql/drop_lams_tool_bbb.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3.12.3 refers to a dead (removed) revision in file `lams_tool_chat/db/sql/drop_lams_tool_chat.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.4.2.2 refers to a dead (removed) revision in file `lams_tool_daco/db/sql/drop_lams_tool_daco.sql'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Deploy.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Deploy.java,v diff -u -r1.25.2.2 -r1.25.2.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Deploy.java 11 May 2016 07:15:23 -0000 1.25.2.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Deploy.java 28 Feb 2017 04:37:19 -0000 1.25.2.3 @@ -32,8 +32,7 @@ * Command Line Parameters: properties_file_path: mandatory forcedb: optional, defaults to false. if true, deletes any * old entries in db. * - * Only use forceDB for development - not designed for production. If forceDB is set, then toolSignature and - * toolTablesDeleteScriptPath are needed. + * Only use forceDB for development - not designed for production. If forceDB is set, then toolSignature is needed. * * @author Chris Perfect, modifications by Fiona Malikoff, Luke Foxton */ @@ -133,18 +132,6 @@ // Do nothing, continue with full install } - if (forceDB.booleanValue()) { - System.out.println("Removing old tool entries from database"); - ToolDBRemoveToolEntriesTask dbRemoveTask = new ToolDBRemoveToolEntriesTask(); - dbRemoveTask.setDbUsername(config.getDbUsername()); - dbRemoveTask.setDbPassword(config.getDbPassword()); - dbRemoveTask.setDbDriverClass(config.getDbDriverClass()); - dbRemoveTask.setDbDriverUrl(config.getDbDriverUrl()); - dbRemoveTask.setToolSignature(config.getToolSignature()); - dbRemoveTask.setToolTablesDeleteScriptPath(config.getToolTablesDeleteScriptPath()); - dbRemoveTask.execute(); - } - System.out.println("Running Tool DB Deploy"); ToolDBDeployTask dbDeployTask = new ToolDBDeployTask(); dbDeployTask.setDbUsername(config.getDbUsername()); Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployToolConfig.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployToolConfig.java,v diff -u -r1.20.2.2 -r1.20.2.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployToolConfig.java 11 May 2016 07:15:24 -0000 1.20.2.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployToolConfig.java 28 Feb 2017 04:37:19 -0000 1.20.2.3 @@ -21,7 +21,6 @@ * **************************************************************** */ - package org.lamsfoundation.lams.tool.deploy; import java.io.IOException; @@ -53,7 +52,6 @@ private static final String TOOL_INSERT_SCRIPT_PATH = "toolInsertScriptPath"; private static final String TOOL_LIBRARY_INSERT_SCRIPT_PATH = "toolLibraryInsertScriptPath"; private static final String TOOL_TABLES_SCRIPT_PATH = "toolTablesScriptPath"; - private static final String TOOL_TABLES_DELETE_SCRIPT_PATH = "toolTablesDeleteScriptPath"; private static final String TOOL_DB_VERSION_SCRIPT_PATH = "toolDBVersionScriptPath"; private static final String TOOL_APP_CONTEXT_FILE_PATH = "toolApplicationContextPath"; private static final String TOOL_JAR_FILE_NAME = "toolJarFileName"; @@ -112,18 +110,10 @@ private String toolTablesScriptPath; /** - * Holds value of property toolTablesDeleteScriptPath. - */ - private String toolTablesDeleteScriptPath; - - /** * Holds value of property toolDBVersionScriptPath. */ private String toolDBVersionScriptPath; - /** - * Holds value of property toolTablesDeleteScriptPath. - */ private String toolApplicationContextPath; /** @@ -157,7 +147,7 @@ /** * Creates an instance of DeployToolConfig object, with the values * of its properties, set to that specified by the Xml configuration file - * + * * @param configurationFilePath * - only needed when generating the initial deploy.xml * @throws ParserConfigurationException @@ -237,10 +227,6 @@ toolTablesScriptPath = value; } - if (key.equalsIgnoreCase(TOOL_TABLES_DELETE_SCRIPT_PATH)) { - toolTablesDeleteScriptPath = value; - } - if (key.equalsIgnoreCase(TOOL_DB_VERSION_SCRIPT_PATH)) { toolDBVersionScriptPath = value; } @@ -281,7 +267,7 @@ /** * Converts a String to a List. Entries should be comma separated. - * + * * @param Input * string containing entries. * @return List of (String) properties, null if not found. @@ -331,7 +317,7 @@ * Upon deserialisation of the xml string, a new object will be created. * The properties of this object will be copied to the calling object. * Only copy properties if the properties are not null - * + * * @param config */ protected void copyProperties(DeployToolConfig config) { @@ -361,9 +347,6 @@ if (config.getToolTablesScriptPath() != null) { this.toolTablesScriptPath = config.getToolTablesScriptPath(); } - if (config.getToolTablesDeleteScriptPath() != null) { - this.toolTablesDeleteScriptPath = config.getToolTablesDeleteScriptPath(); - } if (config.getToolDBVersionScriptPath() != null) { this.toolDBVersionScriptPath = config.getToolDBVersionScriptPath(); } @@ -398,7 +381,6 @@ System.out.println("ToolLibraryInsertScriptPath: " + this.toolLibraryInsertScriptPath); System.out.println("ToolActivityInsertScriptPath: " + this.toolActivityInsertScriptPath); System.out.println("ToolTableScriptPath: " + this.toolTablesScriptPath); - System.out.println("ToolTableDeleteScriptPath: " + this.toolTablesDeleteScriptPath); System.out.println("ToolDBVersionScriptPath: " + this.toolDBVersionScriptPath); System.out.println("ToolApplicationContextPath: " + this.toolApplicationContextPath); System.out.println("ToolJarFileName: " + this.toolJarFileName); @@ -541,21 +523,6 @@ } /** - * @return Returns the toolTablesDeleteScriptPath. - */ - public String getToolTablesDeleteScriptPath() { - return toolTablesDeleteScriptPath; - } - - /** - * @param toolTablesDeleteScriptPath - * The toolTablesDeleteScriptPath to set. - */ - public void setToolTablesDeleteScriptPath(String toolTablesDeleteScriptPath) { - this.toolTablesDeleteScriptPath = toolTablesDeleteScriptPath; - } - - /** * @return Returns the toolTablesScriptPath. */ public String getToolTablesScriptPath() { @@ -641,7 +608,6 @@ toolLibraryInsertScriptPath = stripPath(toolLibraryInsertScriptPath, outputPath, lengthOfPath); toolActivityInsertScriptPath = stripPath(toolActivityInsertScriptPath, outputPath, lengthOfPath); toolTablesScriptPath = stripPath(toolTablesScriptPath, outputPath, lengthOfPath); - toolTablesDeleteScriptPath = stripPath(toolTablesDeleteScriptPath, outputPath, lengthOfPath); if (toolDBVersionScriptPath != null && toolDBVersionScriptPath.trim().length() > 0) { toolDBVersionScriptPath = stripPath(toolDBVersionScriptPath, outputPath, lengthOfPath); } Fisheye: Tag 1.9.12.3 refers to a dead (removed) revision in file `lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBRemoveToolEntriesTask.java'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/templateDeployTool.xml =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/templateDeployTool.xml,v diff -u -r1.2 -r1.2.12.1 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/templateDeployTool.xml 14 Apr 2006 06:09:18 -0000 1.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/templateDeployTool.xml 28 Feb 2017 04:37:19 -0000 1.2.12.1 @@ -11,7 +11,6 @@ test/file/sql/library_insert.sql test/file/sql/activity_insert.sql test/file/sql/create_tool_tables.sql - Fisheye: Tag 1.12.10.3 refers to a dead (removed) revision in file `lams_tool_forum/db/sql/drop_lams_tool_forum.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.12.3 refers to a dead (removed) revision in file `lams_tool_gmap/db/sql/drop_lams_tool_gmap.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.2.2 refers to a dead (removed) revision in file `lams_tool_images/db/sql/drop_lams_tool_imageGallery.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.2.2 refers to a dead (removed) revision in file `lams_tool_imscc/db/sql/drop_lams_tool_commonCartridge.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.2.3 refers to a dead (removed) revision in file `lams_tool_kaltura/db/sql/drop_lams_tool_kaltura.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.4.18.3 refers to a dead (removed) revision in file `lams_tool_lamc/db/sql/drop_lams_tool_mc.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.15.2.3 refers to a dead (removed) revision in file `lams_tool_laqa/db/sql/drop_lams_tool_qa.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.4.4.2 refers to a dead (removed) revision in file `lams_tool_larsrc/db/sql/drop_lams_tool_rsrc.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.2.3 refers to a dead (removed) revision in file `lams_tool_leader/db/sql/drop_lams_tool_leaderselection.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.8.3 refers to a dead (removed) revision in file `lams_tool_mindmap/db/sql/drop_lams_tool_mindmap.sql'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_nb/build.properties =================================================================== RCS file: /usr/local/cvsroot/lams_tool_nb/build.properties,v diff -u -r1.25.2.1 -r1.25.2.2 --- lams_tool_nb/build.properties 27 Feb 2017 14:00:33 -0000 1.25.2.1 +++ lams_tool_nb/build.properties 28 Feb 2017 04:37:17 -0000 1.25.2.2 @@ -11,7 +11,6 @@ # Tool SQL files tool.build.sql.create=create_lams_tool_nb.sql -tool.build.sql.drop=drop_lams_tool_nb.sql ## Test toolContentID test.contentid=355 \ No newline at end of file Fisheye: Tag 1.9.14.3 refers to a dead (removed) revision in file `lams_tool_nb/db/sql/drop_lams_tool_nb.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.12.3 refers to a dead (removed) revision in file `lams_tool_notebook/db/sql/drop_lams_tool_notebook.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.10.3 refers to a dead (removed) revision in file `lams_tool_pixlr/db/sql/drop_lams_tool_pixlr.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.2.2 refers to a dead (removed) revision in file `lams_tool_preview/db/sql/drop_lams_tool_peerreview.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.5.14.3 refers to a dead (removed) revision in file `lams_tool_sbmt/db/sql/drop_lams_tool_sbmt.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.4.2 refers to a dead (removed) revision in file `lams_tool_scratchie/db/sql/drop_lams_tool_scratchie.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.14.3 refers to a dead (removed) revision in file `lams_tool_scribe/db/sql/drop_lams_tool_scribe.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.12.2 refers to a dead (removed) revision in file `lams_tool_spreadsheet/db/sql/drop_lams_tool_spreadsheet.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2.12.2 refers to a dead (removed) revision in file `lams_tool_survey/db/sql/drop_lams_tool_survey.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3.2.2 refers to a dead (removed) revision in file `lams_tool_task/db/sql/drop_lams_tool_taskList.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.3.2.2 refers to a dead (removed) revision in file `lams_tool_videorecorder/db/sql/drop_lams_tool_videoRecorder.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.12.3 refers to a dead (removed) revision in file `lams_tool_wiki/db/sql/drop_lams_tool_wiki.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.1.2.2 refers to a dead (removed) revision in file `lams_tool_wookie/db/sql/drop_lams_tool_wookie.sql'. Fisheye: No comparison available. Pass `N' to diff?