Index: lams_common/master-build.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/Attic/master-build.xml,v diff -u -r1.3 -r1.4 --- lams_common/master-build.xml 30 Mar 2005 02:18:53 -0000 1.3 +++ lams_common/master-build.xml 13 Apr 2005 03:05:26 -0000 1.4 @@ -2,7 +2,7 @@ - + Index: lams_common/conf/j2ee/application.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/j2ee/Attic/application.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/j2ee/application.xml 29 Mar 2005 04:40:18 -0000 1.1 +++ lams_common/conf/j2ee/application.xml 13 Apr 2005 03:05:26 -0000 1.2 @@ -7,16 +7,8 @@ - lasm_central.war + lams_central.war /lams - lams_admin.war - /lams/admin - lams_authoring.war - /lams/authoring - lams_learning.war - /lams/learning - lams_monitoring.war - /lams/monitoring \ No newline at end of file Index: lams_tool_deploy/build.xml =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/build.xml,v diff -u -r1.5 -r1.6 --- lams_tool_deploy/build.xml 8 Apr 2005 01:41:02 -0000 1.5 +++ lams_tool_deploy/build.xml 13 Apr 2005 03:03:10 -0000 1.6 @@ -29,7 +29,7 @@ - + Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/AddWebAppToApplicationXmlTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/AddWebAppToApplicationXmlTask.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/AddWebAppToApplicationXmlTask.java 5 Apr 2005 06:00:47 -0000 1.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/AddWebAppToApplicationXmlTask.java 13 Apr 2005 03:03:10 -0000 1.3 @@ -41,9 +41,14 @@ /** * Add the web uri and context root elements ot the Application xml */ - protected void updateApplicationXml(Document doc, Element webElement) throws DeployException + protected void updateApplicationXml(Document doc) throws DeployException { + + //create new module + Element moduleElement = doc.createElement("module"); + Element webElement = doc.createElement("web"); + moduleElement.appendChild(webElement); //create new web-uri element in the web element Element webUriElement = doc.createElement("web-uri"); webUriElement.appendChild(doc.createTextNode(webUri)); @@ -54,6 +59,8 @@ contextRootElement.appendChild(doc.createTextNode(contextRoot)); webElement.appendChild(contextRootElement); + doc.getDocumentElement().appendChild(moduleElement); + } } Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DBTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DBTask.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DBTask.java 6 Apr 2005 06:23:05 -0000 1.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DBTask.java 13 Apr 2005 03:03:10 -0000 1.3 @@ -1,7 +1,22 @@ /* - * DBTask.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 29 March 2005, 17:02 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; 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.3 -r1.4 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Deploy.java 8 Apr 2005 01:41:02 -0000 1.3 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Deploy.java 13 Apr 2005 03:03:10 -0000 1.4 @@ -1,7 +1,22 @@ /* - * Deploy.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 04 April 2005, 10:36 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployConfig.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployConfig.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployConfig.java 6 Apr 2005 06:23:05 -0000 1.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployConfig.java 13 Apr 2005 03:03:10 -0000 1.3 @@ -1,7 +1,22 @@ /* - * DeployConfig.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 04 April 2005 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployFilesTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployFilesTask.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployFilesTask.java 6 Apr 2005 06:23:05 -0000 1.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/DeployFilesTask.java 13 Apr 2005 03:03:10 -0000 1.3 @@ -1,7 +1,22 @@ /* - * DeployWarTask.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 29 March 2005, 16:57 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/FileTokenReplacer.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/FileTokenReplacer.java,v diff -u -r1.3 -r1.4 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/FileTokenReplacer.java 7 Apr 2005 06:22:14 -0000 1.3 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/FileTokenReplacer.java 13 Apr 2005 03:03:10 -0000 1.4 @@ -1,7 +1,22 @@ /* - * FileTokenReplacer.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 30 March 2005, 13:06 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/FilesTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/FilesTask.java,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/FilesTask.java 13 Apr 2005 03:03:10 -0000 1.1 @@ -0,0 +1,71 @@ +/* + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + * + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt + */ + +package org.lamsfoundation.lams.tool.deploy; +import java.util.List; +import java.io.File; +import java.io.IOException; +import org.apache.commons.io.FileUtils; + +/** + * Copies the required file to the lams ear directory. + * @author chris + */ +public abstract class FilesTask implements Task +{ + + /** + * Holds value of property lamsEarPath. + */ + protected String lamsEarPath; + + /** + * Holds value of property deployFiles. + */ + protected List deployFiles; + + /** Creates a new instance of DeployWarTask */ + public FilesTask() + { + } + + /** + * Setter for property lamsEarPath. + * @param lamsEarPath New value of property lamsEarPath. + */ + public void setLamsEarPath(String lamsEarPath) + { + + this.lamsEarPath = lamsEarPath; + } + + /** + * Setter for property deployFiles. + * @param deployFiles New value of property deployFiles. + */ + public void setDeployFiles(List deployFiles) + { + + this.deployFiles = deployFiles; + } + + +} Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/RemoveWebAppFromApplicationXmlTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/RemoveWebAppFromApplicationXmlTask.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/RemoveWebAppFromApplicationXmlTask.java 5 Apr 2005 06:00:47 -0000 1.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/RemoveWebAppFromApplicationXmlTask.java 13 Apr 2005 03:03:10 -0000 1.3 @@ -41,19 +41,17 @@ /** * Removes the web uri adn context root from the application xml */ - protected void updateApplicationXml(Document doc, Element webElement) throws DeployException + protected void updateApplicationXml(Document doc) throws DeployException { //find & remove web uri element - NodeList webUriNodeList = webElement.getElementsByTagName("web-uri"); + NodeList webUriNodeList = doc.getElementsByTagName("web-uri"); Element matchingWebUriElement = findElementWithMatchingText(webUri, webUriNodeList); - webElement.removeChild(matchingWebUriElement); + Element moduleElement = (Element) matchingWebUriElement.getParentNode().getParentNode(); + doc.getDocumentElement().removeChild(moduleElement); - //find & remove context root element - NodeList contextRootNodeList = webElement.getElementsByTagName("context-root"); - Element matchingContextRootElement = findElementWithMatchingText(contextRoot, contextRootNodeList); - webElement.removeChild(matchingContextRootElement); + } } Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ScriptRunner.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ScriptRunner.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ScriptRunner.java 7 Apr 2005 06:22:14 -0000 1.2 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ScriptRunner.java 13 Apr 2005 03:03:10 -0000 1.3 @@ -1,7 +1,22 @@ /* - * ScriptRunner.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 06 April 2005, 12:55 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Task.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Task.java,v diff -u -r1.1 -r1.2 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Task.java 31 Mar 2005 06:41:03 -0000 1.1 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/Task.java 13 Apr 2005 03:03:10 -0000 1.2 @@ -1,7 +1,22 @@ /* - * Task.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 29 March 2005, 17:07 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBActivateTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBActivateTask.java,v diff -u -r1.4 -r1.5 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBActivateTask.java 7 Apr 2005 06:22:14 -0000 1.4 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBActivateTask.java 13 Apr 2005 03:03:10 -0000 1.5 @@ -1,7 +1,22 @@ /* - * InsertToolDBRecordsTask.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 24 March 2005, 11:01 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBDeployTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBDeployTask.java,v diff -u -r1.6 -r1.7 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBDeployTask.java 8 Apr 2005 01:41:02 -0000 1.6 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/ToolDBDeployTask.java 13 Apr 2005 03:03:10 -0000 1.7 @@ -1,7 +1,22 @@ /* - * ToolDBActivateTask.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 24 March 2005, 15:04 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/UpdateApplicationXmlTask.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/UpdateApplicationXmlTask.java,v diff -u -r1.3 -r1.4 --- lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/UpdateApplicationXmlTask.java 8 Apr 2005 01:41:02 -0000 1.3 +++ lams_tool_deploy/src/java/org/lamsfoundation/lams/tool/deploy/UpdateApplicationXmlTask.java 13 Apr 2005 03:03:10 -0000 1.4 @@ -108,10 +108,8 @@ { Document doc = parseApplicationXml(); - Element webElement = findWebElement(doc); + updateApplicationXml(doc); - updateApplicationXml(doc, webElement); - writeApplicationXml(doc); } @@ -245,11 +243,9 @@ /** * Modifies the application Xml in the required manner. * Abstract method to be implmented by subclasses. - * @param doc the DOM Document to modify - * @param webElement The web Element in the document to modify * @throws org.apache.tools.ant.DeployException in case of errors */ - protected abstract void updateApplicationXml(Document doc, Element webElement) throws DeployException; + protected abstract void updateApplicationXml(Document doc) throws DeployException; } Index: lams_tool_deploy/test/file/application.xml =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/file/Attic/application.xml,v diff -u -r1.3 -r1.4 --- lams_tool_deploy/test/file/application.xml 7 Apr 2005 06:22:14 -0000 1.3 +++ lams_tool_deploy/test/file/application.xml 13 Apr 2005 03:03:11 -0000 1.4 @@ -30,14 +30,7 @@ lasm_central.war /lams - lams_admin.war - /lams/admin - lams_authoring.war - /lams/authoring - lams_learning.war - /lams/learning - lams_monitoring.war - /lams/monitoring + \ No newline at end of file Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DBConnector.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/DBConnector.java,v diff -u -r1.1 -r1.2 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DBConnector.java 6 Apr 2005 06:23:05 -0000 1.1 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DBConnector.java 13 Apr 2005 03:03:11 -0000 1.2 @@ -1,7 +1,22 @@ /* - * DBConnector.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 06 April 2005, 13:39 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployConfigTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/DeployConfigTest.java,v diff -u -r1.3 -r1.4 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployConfigTest.java 8 Apr 2005 01:41:02 -0000 1.3 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployConfigTest.java 13 Apr 2005 03:03:11 -0000 1.4 @@ -1,8 +1,22 @@ /* - * DeployConfigTest.java - * JUnit based test + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 05 April 2005, 11:33 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployFilesTaskTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/DeployFilesTaskTest.java,v diff -u -r1.1 -r1.2 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployFilesTaskTest.java 5 Apr 2005 05:43:09 -0000 1.1 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployFilesTaskTest.java 13 Apr 2005 03:03:11 -0000 1.2 @@ -1,8 +1,22 @@ /* - * DeployFilesTaskTest.java - * JUnit based test + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 05 April 2005, 15:21 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/DeployTest.java,v diff -u -r1.1 -r1.2 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployTest.java 8 Apr 2005 01:41:02 -0000 1.1 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/DeployTest.java 13 Apr 2005 03:03:11 -0000 1.2 @@ -1,8 +1,22 @@ /* - * DeployTest.java - * JUnit based test + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 08 April 2005, 10:55 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/FileTokenReplacerTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/FileTokenReplacerTest.java,v diff -u -r1.3 -r1.4 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/FileTokenReplacerTest.java 7 Apr 2005 06:22:14 -0000 1.3 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/FileTokenReplacerTest.java 13 Apr 2005 03:03:11 -0000 1.4 @@ -1,8 +1,22 @@ /* - * FileTokenReplacerTest.java - * JUnit based test + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 30 March 2005, 14:50 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ScriptRunnerTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/ScriptRunnerTest.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ScriptRunnerTest.java 7 Apr 2005 06:22:14 -0000 1.2 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ScriptRunnerTest.java 13 Apr 2005 03:03:11 -0000 1.3 @@ -1,8 +1,22 @@ /* - * ScriptRunnerTest.java - * JUnit based test + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 06 April 2005, 13:36 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBActivateTaskTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/ToolDBActivateTaskTest.java,v diff -u -r1.1 -r1.2 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBActivateTaskTest.java 7 Apr 2005 06:22:14 -0000 1.1 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBActivateTaskTest.java 13 Apr 2005 03:03:11 -0000 1.2 @@ -1,8 +1,22 @@ /* - * ToolDBActivateTaskTest.java - * JUnit based test + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 07 April 2005, 16:06 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBDeployTaskTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/ToolDBDeployTaskTest.java,v diff -u -r1.2 -r1.3 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBDeployTaskTest.java 8 Apr 2005 01:41:02 -0000 1.2 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBDeployTaskTest.java 13 Apr 2005 03:03:11 -0000 1.3 @@ -1,8 +1,22 @@ /* - * ToolDBDeployTaskTest.java - * JUnit based test + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 07 April 2005, 11:21 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy; Index: lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBTest.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/Attic/ToolDBTest.java,v diff -u -r1.1 -r1.2 --- lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBTest.java 7 Apr 2005 06:22:14 -0000 1.1 +++ lams_tool_deploy/test/java/org/lamsfoundation/lams/tool/deploy/ToolDBTest.java 13 Apr 2005 03:03:11 -0000 1.2 @@ -1,7 +1,22 @@ /* - * ToolDBTest.java + *Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * - * Created on 07 April 2005, 16:03 + *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; either version 2 of the License, or + *(at your option) any later version. + * + *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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + *USA + * + *http://www.gnu.org/licenses/gpl.txt */ package org.lamsfoundation.lams.tool.deploy;