Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-1916 fix tool deployer to remove patch table entry when cleaning tool db entries

  1. … 1 more file in changeset.
LDEV-1916 making toolDBVersionScriptPath value optional for tool deployer for better compatibility with existing tools, since it isn't critical for tool deployment or operation

  1. … 1 more file in changeset.
LDEV-1916 adding autopatch to tools, including db_version_insert.sql script to tool deployer

  1. … 69 more files in changeset.
Updatated UpdatToolContextPath to allow for fionas new improvements to the tool deployer for 2.1

LI-161: Replacing / in windows paths to \ to make all the paths consistent.

  1. … 1 more file in changeset.
LI-161: Generate special version of deploy.xml for tools that has a generic parameter in the place of the drive paths. This is turned on in common.properties (generate for installer) in lams_build. Only use this option if you are writing an installer/updater.

  1. … 1 more file in changeset.
LI-161: Generate special version of deploy.xml for tools that has a generic parameter in the place of the drive paths. This is turned on in common.properties (generate for installer) in lams_build. Only use this option if you are writing an installer/updater.

  1. … 16 more files in changeset.
For the 2.1 updaters

This copies adds any exisitng non defualt tool contexts from the database to the web.xmls of central monitoring and learning. It also updates the application.xml if the tool web project is not listed

For 2.1 Updater

Code for adding a non-web module to the application.xml, in this case to add the commons-io-1.4.jar module

Change to tool deployer so that scribe is hidden correctly when it is updated. Ie its valid flag is set in lams_tool and disabled in lams_learning_library

  1. … 1 more file in changeset.
Added functionality to be used for the installer/updater, it now correctly updates teh web.xml and manifests in the lams_learning, lams-central and lams-monitoring wars. it also updates the application.xml

[LI-57] Added in an extra class to deploy UpdateToolContextPath.jave, if you call its main method with the path to a tool's deploy.xml, it will update the manifests and web.xmls for lams-central.war, lams-learning.war and lams-monitoring.war instead of replacing them with new ones

    • -0
    • +105
    ./org/lamsfoundation/lams/tool/deploy/UpdateToolContextPath.java
  1. … 1 more file in changeset.
Small change to correct a bug that gave the wrong value for the server version in the database

Tool deployer now finds and runs the update script

Checks the minimum compatible version of the tool from deploy.xml with the existing version in the lams_configuration table, failes if the tool is not compatible

Adds a min server version number to deploy.xml, to check if the tool to be installed is compatible

Closes [LI-53] and nearly closes [LI-50] There is now an option in every tool's build.xml called hideTool, if set to true, the tool's valid flag will be set to 1 or 0 if false when the tool is deployed

  1. … 2 more files in changeset.
Added option to hide the tool in deploy.xml, hideTool (boolean), now to hide a tool (for instance scribe), you can put a flag in the tool's build.properties hideTool

Also, added a tool update script path, which defaults to "${build.deploy}/sql/updateTo${tool.version}.sql

These will be generated when you do create-deploy-tool ant task

Now the deploy-tool update Copies jars and wars and language files and updates the lams_tool table with the tool_version, the only thing left to do is allow for an update script to be written by a tool developer

Tool-deployer upgrade, checks the db for tool_signature and tool_version, stops if current tool is up to date, installs entire tool if the signature is not present in the db

TODO: update db and jar and war files if tool exists, but is not the newest version

  1. … 1 more file in changeset.
Skeleton for a new ToolDBUpdater class

It will:

* Check if the tool exists in the db

* Check if the tool to be installed is newer than the current

* Update the db with the current tool information

    • -0
    • +93
    ./org/lamsfoundation/lams/tool/deploy/ToolDBUpdater.java
lams-tool_deploy generates a tool_version entry for a tool's deploy.xml

  1. … 2 more files in changeset.
Updated address of FSF in copyright statement

  1. … 1378 more files in changeset.
Update wars either expanded or zipped.

Implemented the addition of a tool's jar to the classpath.

    • -0
    • +499
    ./org/lamsfoundation/lams/tool/deploy/UpdateWarTask.java
  1. … 1 more file in changeset.
Implemented the extraction and re-zipping of the war files. Tested with unit tests. Next step to integrate with the deployment script.

  1. … 1 more file in changeset.
Implemented remove application context entry.

  1. … 1 more file in changeset.
Tweak to try to stop it readding an existing context file.

Added a tool's applicationContext entry to the web.xml files for monitoring, learning and central

    • -0
    • +326
    ./org/lamsfoundation/lams/tool/deploy/UpdateWebXmlTask.java
  1. … 1 more file in changeset.
Updated copyright statement - only support GPL v 2.0

    • -19
    • +22
    ./org/lamsfoundation/lams/tool/deploy/FilesTask.java
    • -19
    • +21
    ./org/lamsfoundation/lams/tool/deploy/Task.java
  1. … 172 more files in changeset.