Index: win_installer/build.xml =================================================================== RCS file: /usr/local/cvsroot/win_installer/build.xml,v diff -u -r1.1 -r1.2 --- win_installer/build.xml 29 Sep 2006 08:20:39 -0000 1.1 +++ win_installer/build.xml 6 Jun 2007 00:35:55 -0000 1.2 @@ -18,7 +18,7 @@ - + \ No newline at end of file Index: win_installer/license.txt =================================================================== RCS file: /usr/local/cvsroot/win_installer/Attic/license.txt,v diff -u -r1.12 -r1.13 --- win_installer/license.txt 20 Mar 2007 00:27:54 -0000 1.12 +++ win_installer/license.txt 6 Jun 2007 00:35:54 -0000 1.13 @@ -1,4 +1,4 @@ -LAMS 2.0.2 is released under the GPL license detailed below. This package +LAMS 2.0.3 is released under the GPL license detailed below. This package also includes other libraries/packages, whose respective licenses are detailed below. Index: win_installer/readme.txt =================================================================== RCS file: /usr/local/cvsroot/win_installer/Attic/readme.txt,v diff -u -r1.5 -r1.6 --- win_installer/readme.txt 20 Mar 2007 01:10:55 -0000 1.5 +++ win_installer/readme.txt 6 Jun 2007 00:35:55 -0000 1.6 @@ -1,7 +1,7 @@ -LAMS 2.0.2 - Learning Activity Management System +LAMS 2.0.3 - Learning Activity Management System ---------------------------------------------- -This is a pre-packaged copy of LAMS 2.0.2 for Windows 2000, XP, or 2003. +This is a pre-packaged copy of LAMS 2.0.3 for Windows 2000, XP, or 2003. For the source code, please see the 'Building LAMS' wiki at http://wiki.lamsfoundation.org/display/lams/Building+LAMS @@ -21,6 +21,7 @@ To stop LAMS 2, use the 'Stop LAMS' shortcut in the LAMSv2 Start Menu folder. + 2. Server Configuration ======================= For single user installations (i.e., personal use on your own desktop), please @@ -42,9 +43,9 @@ For Sun JDK versions before 1.5.0_07, the default is 64m. If your Sun JDK version is 1.5.0_07 or later, the default is 256m. + 3. Web Resources ================ - Windows Installer Help wiki (includes download links) http://wiki.lamsfoundation.org/display/lamsdocs/Windows+Installer+Help Index: win_installer/src/Functions.nsh =================================================================== RCS file: /usr/local/cvsroot/win_installer/src/Attic/Functions.nsh,v diff -u -r1.5 -r1.6 --- win_installer/src/Functions.nsh 8 Mar 2007 07:25:10 -0000 1.5 +++ win_installer/src/Functions.nsh 6 Jun 2007 00:35:55 -0000 1.6 @@ -531,3 +531,118 @@ Exch 6 FunctionEnd + +/* +Push hello #text to be replaced +Push blah #replace with +Push all #replace all occurrences +Push all #replace all occurrences +Push C:\temp1.bat #file to replace in +Call AdvReplaceInFile +*/ +Function AdvReplaceInFile +Exch $0 ;file to replace in +Exch +Exch $1 ;number to replace after +Exch +Exch 2 +Exch $2 ;replace and onwards +Exch 2 +Exch 3 +Exch $3 ;replace with +Exch 3 +Exch 4 +Exch $4 ;to replace +Exch 4 +Push $5 ;minus count +Push $6 ;universal +Push $7 ;end string +Push $8 ;left string +Push $9 ;right string +Push $R0 ;file1 +Push $R1 ;file2 +Push $R2 ;read +Push $R3 ;universal +Push $R4 ;count (onwards) +Push $R5 ;count (after) +Push $R6 ;temp file name + + GetTempFileName $R6 + FileOpen $R1 $0 r ;file to search in + FileOpen $R0 $R6 w ;temp file + StrLen $R3 $4 + StrCpy $R4 -1 + StrCpy $R5 -1 + +loop_read: + ClearErrors + FileRead $R1 $R2 ;read line + IfErrors exit + + StrCpy $5 0 + StrCpy $7 $R2 + +loop_filter: + IntOp $5 $5 - 1 + StrCpy $6 $7 $R3 $5 ;search + StrCmp $6 "" file_write2 + StrCmp $6 $4 0 loop_filter + +StrCpy $8 $7 $5 ;left part +IntOp $6 $5 + $R3 +IntCmp $6 0 is0 not0 +is0: +StrCpy $9 "" +Goto done +not0: +StrCpy $9 $7 "" $6 ;right part +done: +StrCpy $7 $8$3$9 ;re-join + +IntOp $R4 $R4 + 1 +StrCmp $2 all file_write1 +StrCmp $R4 $2 0 file_write2 +IntOp $R4 $R4 - 1 + +IntOp $R5 $R5 + 1 +StrCmp $1 all file_write1 +StrCmp $R5 $1 0 file_write1 +IntOp $R5 $R5 - 1 +Goto file_write2 + +file_write1: + FileWrite $R0 $7 ;write modified line +Goto loop_read + +file_write2: + FileWrite $R0 $R2 ;write unmodified line +Goto loop_read + +exit: + FileClose $R0 + FileClose $R1 + + SetDetailsPrint none + Delete $0 + Rename $R6 $0 + Delete $R6 + SetDetailsPrint both + +Pop $R6 +Pop $R5 +Pop $R4 +Pop $R3 +Pop $R2 +Pop $R1 +Pop $R0 +Pop $9 +Pop $8 +Pop $7 +Pop $6 +Pop $5 +Pop $0 +Pop $1 +Pop $2 +Pop $3 +Pop $4 +FunctionEnd Index: win_installer/src/GetLlidFolderNames.java =================================================================== RCS file: /usr/local/cvsroot/win_installer/src/Attic/GetLlidFolderNames.java,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ win_installer/src/GetLlidFolderNames.java 6 Jun 2007 00:35:55 -0000 1.1 @@ -0,0 +1,110 @@ +import java.io.File; +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.Properties; + + +public class GetLlidFolderNames { + + private String title; + private String dbDriverClass; + private String dbDriverUrl; + private String dbUsername; + private String dbPassword; + + /** + * Dump out a list of all the nodes in the content repository, with their type and expected paths + * @throws Exception + */ + public static void main(String[] args) throws Exception { + GetLlidFolderNames me = new GetLlidFolderNames(); + + if (args.length < 4) + { + System.out.println("Usage: Java GetLlidFolderNames title dbDriverUrl dbUsername dbPassword"); + System.exit(1); + } + + String title = args[0]; + String dbDriverUrl = args[1]; + String dbUsername = args[2]; + String dbPassword = args[3]; + me.execute(title, dbDriverUrl, dbUsername, dbPassword); + } + + public void execute(String title, String dbDriverUrl, String dbUsername, String dbPassword) throws Exception + { + + + this.dbDriverClass = "com.mysql.jdbc.Driver"; + this.dbDriverUrl = dbDriverUrl; + this.dbUsername = dbUsername; + this.dbPassword = dbPassword; + this.title = title; + + String getLlid = "SELECT learning_library_id FROM lams_learning_library WHERE title = \'" + title +"\'"; + // SELECT learning_library_id FROM lams_learning_library WHERE title = $\'Chat and Scribe$\';" + + + + + + + Class.forName(dbDriverClass); + Connection conn = DriverManager.getConnection(dbDriverUrl, dbUsername, dbPassword); + conn.setAutoCommit(false); + PreparedStatement stmt = conn.prepareStatement(getLlid); + ResultSet results = stmt.executeQuery(); + + if (results.first()) + { + System.out.print(results.getString("learning_library_id")); + } + else + { + System.out.println("Could not find llid for:" + title); + System.exit(1); + } + /* + while (results.next()) + { + Long uid = results.getLong("uid"); + Boolean room_created = results.getBoolean("room_created"); + String jabber_room = results.getString("jabber_room"); + + String set_jabber_room; + Boolean set_room_created; + // checking if jabber_room is null + if (results.wasNull()) { + // tool session was created by the room doesnt exist on the jabber server + // generating a unique jabber room name + set_room_created = false; + set_jabber_room = (String) idGenerator.generate(null, null) + "@" + XMPPConference; + + } else { + // jabber has already been created + set_room_created = true; + set_jabber_room = jabber_room; + } + + stmtUpdate.setBoolean(1, set_room_created); + stmtUpdate.setString(2, set_jabber_room); + stmtUpdate.setLong(3, uid); + stmtUpdate.addBatch(); + + System.out.print(uid + "\t"); + System.out.print(room_created + "\t"); + System.out.print(jabber_room + "\n"); + + } + int[] upCount = stmtUpdate.executeBatch(); + */ + + + conn.commit(); + conn.close(); + } + +} \ No newline at end of file Index: win_installer/src/LanguagePack.xml =================================================================== RCS file: /usr/local/cvsroot/win_installer/src/Attic/LanguagePack.xml,v diff -u -r1.2 -r1.3 --- win_installer/src/LanguagePack.xml 20 Dec 2006 04:42:16 -0000 1.2 +++ win_installer/src/LanguagePack.xml 6 Jun 2007 00:35:55 -0000 1.3 @@ -7,7 +7,7 @@ -

© 2002-2006 LAMS Foundation.

+

© 2002-2007 LAMS Foundation.

Fisheye: Tag 1.3 refers to a dead (removed) revision in file `win_installer/templates/news.html'. Fisheye: No comparison available. Pass `N' to diff? Index: win_installer/templates/update-core-database.xml =================================================================== RCS file: /usr/local/cvsroot/win_installer/templates/Attic/update-core-database.xml,v diff -u -r1.1 -r1.2 --- win_installer/templates/update-core-database.xml 8 Mar 2007 07:25:10 -0000 1.1 +++ win_installer/templates/update-core-database.xml 6 Jun 2007 00:35:54 -0000 1.2 @@ -8,16 +8,16 @@ - - - - - + + + + + \ No newline at end of file Index: win_installer/templates/update-deploy-tools.xml =================================================================== RCS file: /usr/local/cvsroot/win_installer/templates/Attic/update-deploy-tools.xml,v diff -u -r1.4 -r1.5 --- win_installer/templates/update-deploy-tools.xml 8 Mar 2007 07:25:10 -0000 1.4 +++ win_installer/templates/update-deploy-tools.xml 6 Jun 2007 00:35:54 -0000 1.5 @@ -178,5 +178,4 @@
- \ No newline at end of file