Index: lams_common/db/model/lams_11.clay =================================================================== diff -u -r33ea91d27c610597a8ebc896dddcc289b0405b01 -r1aea7e568e57108a5257a7563d4c14ee4a5ae879 --- lams_common/db/model/lams_11.clay (.../lams_11.clay) (revision 33ea91d27c610597a8ebc896dddcc289b0405b01) +++ lams_common/db/model/lams_11.clay (.../lams_11.clay) (revision 1aea7e568e57108a5257a7563d4c14ee4a5ae879) @@ -1,18 +1,18 @@ - + - + - + - + - + @@ -25,7 +25,7 @@ - + @@ -38,26 +38,26 @@ - + - + - + - + @@ -66,21 +66,21 @@ - + - +
- + - + @@ -93,32 +93,32 @@ - + - + - +
- + - + @@ -131,32 +131,32 @@ - + - + - +
- + - + @@ -169,32 +169,32 @@ - + - + - +
- + - + @@ -207,7 +207,7 @@ - + @@ -220,26 +220,26 @@ - + - + - + - + @@ -252,7 +252,7 @@ - + @@ -265,7 +265,7 @@ - + @@ -278,7 +278,7 @@ - + @@ -291,7 +291,7 @@ - + @@ -304,7 +304,7 @@ - + @@ -317,7 +317,7 @@ - + @@ -330,7 +330,7 @@ - + @@ -343,7 +343,7 @@ - + @@ -356,7 +356,7 @@ - + @@ -369,7 +369,7 @@ - + @@ -382,7 +382,7 @@ - + @@ -395,7 +395,7 @@ - + @@ -408,13 +408,13 @@ - + - + @@ -427,7 +427,7 @@ - + @@ -440,7 +440,7 @@ - + @@ -453,13 +453,13 @@ - + - + @@ -472,7 +472,7 @@ - + @@ -485,7 +485,7 @@ - + @@ -498,7 +498,7 @@ - + @@ -511,7 +511,7 @@ - + @@ -524,7 +524,7 @@ - + @@ -537,7 +537,7 @@ - + @@ -550,26 +550,26 @@ - + - + - + - + @@ -582,7 +582,7 @@ - + @@ -595,7 +595,7 @@ - + @@ -608,14 +608,14 @@ - + - + @@ -629,90 +629,90 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -721,37 +721,37 @@ - + - + - + - + - + - +
- + - + @@ -764,32 +764,32 @@ - + - + - +
- + - + @@ -802,7 +802,7 @@ - + @@ -815,20 +815,20 @@ - + - + - + @@ -841,7 +841,7 @@ - + @@ -854,7 +854,7 @@ - + @@ -867,7 +867,7 @@ - + @@ -880,13 +880,13 @@ - + - + @@ -899,25 +899,25 @@ - + - + - + - + @@ -930,13 +930,13 @@ - + - + @@ -956,7 +956,7 @@ - + @@ -969,7 +969,7 @@ - + @@ -982,7 +982,7 @@ - + @@ -995,54 +995,54 @@ - + - + - + - + - + - + - + - + @@ -1051,29 +1051,29 @@ - + - + - + - +
- + - + @@ -1086,14 +1086,14 @@ - + - + @@ -1106,7 +1106,7 @@ - + @@ -1120,13 +1120,13 @@ - + - + @@ -1135,21 +1135,21 @@ - + - +
- + - + @@ -1162,7 +1162,7 @@ - + @@ -1175,7 +1175,7 @@ - + @@ -1188,7 +1188,7 @@ - + @@ -1201,7 +1201,7 @@ - + @@ -1214,7 +1214,7 @@ - + @@ -1227,7 +1227,7 @@ - + @@ -1241,13 +1241,13 @@ - + - + @@ -1256,21 +1256,21 @@ - + - +
- + - + @@ -1283,20 +1283,20 @@ - + - + - + @@ -1309,31 +1309,31 @@ - + - + - +
- + - + @@ -1346,7 +1346,7 @@ - + @@ -1359,20 +1359,20 @@ - + - + - + @@ -1385,7 +1385,7 @@ - + @@ -1398,7 +1398,7 @@ - + @@ -1411,13 +1411,13 @@ - + - + @@ -1430,7 +1430,7 @@ - + @@ -1444,27 +1444,27 @@ - + - + - + - + @@ -1473,29 +1473,29 @@ - + - + - + - +
- + - + @@ -1508,28 +1508,28 @@ - + - + - + - + @@ -1542,7 +1542,7 @@ - + @@ -1555,13 +1555,13 @@ - + - + @@ -1574,7 +1574,7 @@ - + @@ -1587,7 +1587,7 @@ - + @@ -1600,7 +1600,7 @@ - + @@ -1613,7 +1613,7 @@ - + @@ -1626,7 +1626,7 @@ - + @@ -1639,7 +1639,7 @@ - + @@ -1652,7 +1652,7 @@ - + @@ -1665,48 +1665,48 @@ - + - + - + - + - + - + - + @@ -1715,33 +1715,33 @@ - + - + - + - + - +
- + - + @@ -1754,43 +1754,43 @@ - + - + - + - + - +
- + - + @@ -1803,48 +1803,48 @@ - + - + - + - + - + - +
- + - + @@ -1857,126 +1857,126 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1989,13 +1989,13 @@ - + - + @@ -2008,7 +2008,7 @@ - + @@ -2021,7 +2021,7 @@ - + @@ -2034,7 +2034,7 @@ - + @@ -2047,14 +2047,14 @@ - + - + @@ -2067,7 +2067,7 @@ - + @@ -2080,7 +2080,7 @@ - + @@ -2094,41 +2094,41 @@ - + - + - + - + - + - + @@ -2137,33 +2137,33 @@ - + - + - + - + - +
- + - + @@ -2176,7 +2176,7 @@ - + @@ -2189,7 +2189,7 @@ - + @@ -2203,20 +2203,20 @@ - + - + - + @@ -2225,25 +2225,25 @@ - + - + - +
- + - + @@ -2256,7 +2256,7 @@ - + @@ -2269,7 +2269,7 @@ - + @@ -2283,20 +2283,20 @@ - + - + - + @@ -2305,25 +2305,25 @@ - + - + - +
- + - + @@ -2336,7 +2336,7 @@ - + @@ -2349,7 +2349,7 @@ - + @@ -2362,28 +2362,28 @@ - + - + - + - + @@ -2392,20 +2392,20 @@ - + - +
- + - + @@ -2418,7 +2418,7 @@ - + @@ -2431,14 +2431,14 @@ - + - + @@ -2451,19 +2451,19 @@ - + - + - + @@ -2477,20 +2477,20 @@ - + - + - + @@ -2499,21 +2499,21 @@ - + - +
- + - + @@ -2526,7 +2526,7 @@ - + @@ -2539,7 +2539,7 @@ - + @@ -2552,26 +2552,26 @@ - + - + - + - + @@ -2584,7 +2584,7 @@ - + @@ -2597,7 +2597,7 @@ - + @@ -2610,31 +2610,31 @@ - + - + - + - + - + @@ -2647,7 +2647,7 @@ - + @@ -2661,41 +2661,41 @@ - + - + - + - + - + - + @@ -2705,11 +2705,11 @@
- + - + @@ -2722,7 +2722,7 @@ - + @@ -2735,7 +2735,7 @@ - + @@ -2748,7 +2748,7 @@ - + @@ -2761,7 +2761,7 @@ - + @@ -2774,19 +2774,19 @@ - + - + - + @@ -2799,7 +2799,7 @@ - + @@ -2812,7 +2812,7 @@ - + @@ -2825,7 +2825,7 @@ - + @@ -2839,41 +2839,41 @@ - + - + - + - + - + - + @@ -2882,18 +2882,18 @@ - +
- + - + @@ -2913,21 +2913,21 @@ - + - + - + @@ -2948,7 +2948,7 @@ - + @@ -2961,7 +2961,7 @@ - + @@ -2974,7 +2974,7 @@ - + @@ -2987,7 +2987,7 @@ - + @@ -3000,7 +3000,7 @@ - + @@ -3013,109 +3013,129 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + @@ -3125,11 +3145,11 @@
- + - + @@ -3142,7 +3162,7 @@ - + @@ -3155,7 +3175,7 @@ - + @@ -3168,7 +3188,7 @@ - + @@ -3181,7 +3201,7 @@ - + @@ -3194,13 +3214,13 @@ - + - + @@ -3213,7 +3233,7 @@ - + @@ -3226,61 +3246,61 @@ - + - + - + - + - + - + - + - + - + @@ -3290,11 +3310,11 @@
- + - + @@ -3307,7 +3327,7 @@ - + @@ -3321,21 +3341,21 @@ - + - + - + @@ -3345,11 +3365,11 @@
- + - + @@ -3362,7 +3382,7 @@ - + @@ -3376,21 +3396,21 @@ - + - + - + @@ -3400,11 +3420,11 @@
- + - + @@ -3417,27 +3437,27 @@ - + - +
- + - + @@ -3450,7 +3470,7 @@ - + @@ -3464,21 +3484,21 @@ - + - + - + @@ -3488,11 +3508,11 @@
- + - + @@ -3505,27 +3525,27 @@ - + - +
- + - + @@ -3538,7 +3558,7 @@ - + @@ -3552,13 +3572,13 @@ - + - + @@ -3568,11 +3588,11 @@
- + - + @@ -3585,7 +3605,7 @@ - + @@ -3599,19 +3619,19 @@ - + - + - + @@ -3621,11 +3641,11 @@
- + - + @@ -3638,7 +3658,7 @@ - + @@ -3652,19 +3672,19 @@ - + - + - + @@ -3674,11 +3694,11 @@
- + - + @@ -3691,27 +3711,27 @@ - + - +
- + - + @@ -3724,28 +3744,28 @@ - + - + - + - + @@ -3758,27 +3778,27 @@ - + - +
- + - + @@ -3791,27 +3811,27 @@ - + - +
- + - + @@ -3824,15 +3844,15 @@ - + - + @@ -3847,7 +3867,7 @@ - + @@ -3860,15 +3880,15 @@ - + - + @@ -3882,7 +3902,7 @@ - + @@ -3895,34 +3915,34 @@ - + - + - +
- + - + @@ -3935,7 +3955,7 @@ - + @@ -3948,7 +3968,7 @@ - + @@ -3962,20 +3982,20 @@ - + - + - + @@ -3992,7 +4012,7 @@ - + @@ -4005,7 +4025,7 @@ - + @@ -4018,7 +4038,7 @@ - + @@ -4031,13 +4051,13 @@ - + - + @@ -4051,13 +4071,13 @@ - + - + @@ -4067,11 +4087,11 @@
- + - + @@ -4084,7 +4104,7 @@ - + @@ -4097,21 +4117,21 @@ - + - + - + @@ -4125,13 +4145,13 @@ - + - + @@ -4145,7 +4165,7 @@ - + @@ -4158,7 +4178,7 @@ - + @@ -4171,27 +4191,27 @@ - + - + - + - + @@ -4204,7 +4224,7 @@ - + @@ -4218,13 +4238,13 @@ - + - + @@ -4234,11 +4254,11 @@
- + - + @@ -4251,27 +4271,27 @@ - + - +
- + - + @@ -4284,27 +4304,27 @@ - + - +
- + - + @@ -4317,7 +4337,7 @@ - + @@ -4330,7 +4350,7 @@ - + @@ -4343,13 +4363,13 @@ - + - + @@ -4362,21 +4382,21 @@ - + - + - + @@ -4386,11 +4406,11 @@
- + - + @@ -4403,27 +4423,27 @@ - + - +
- + - + @@ -4436,7 +4456,7 @@ - + @@ -4449,33 +4469,33 @@ - + - + - + - + - + @@ -4488,7 +4508,7 @@ - + @@ -4501,7 +4521,7 @@ - + @@ -4514,41 +4534,41 @@ - + - + - + - + - + - + @@ -4558,11 +4578,11 @@
- + - + @@ -4575,27 +4595,27 @@ - + - +
- + - + @@ -4608,21 +4628,21 @@ - + - + - + @@ -4635,7 +4655,7 @@ - + @@ -4648,21 +4668,21 @@ - + - + - + @@ -4672,11 +4692,11 @@
- + - + @@ -4689,7 +4709,7 @@ - + @@ -4702,28 +4722,28 @@ - + - + - + - + @@ -4737,13 +4757,13 @@ - + - + @@ -4759,7 +4779,7 @@ - + @@ -4772,7 +4792,7 @@ - + @@ -4786,13 +4806,13 @@ - + - + @@ -4806,7 +4826,7 @@ - + @@ -4832,86 +4852,86 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -4925,7 +4945,7 @@ - + @@ -4938,29 +4958,29 @@ - + - + - + - + @@ -4970,7 +4990,7 @@ - + @@ -4983,7 +5003,7 @@ - + @@ -4996,7 +5016,7 @@ - + @@ -5010,20 +5030,20 @@ - + - + - + @@ -5033,11 +5053,11 @@
- + - + @@ -5050,27 +5070,27 @@ - + - +
- + - + @@ -5083,7 +5103,7 @@ - + @@ -5096,7 +5116,7 @@ - + @@ -5110,20 +5130,20 @@ - + - + - + @@ -5133,11 +5153,11 @@
- + - + @@ -5150,48 +5170,48 @@ - + - + - + - + - +
- + - + @@ -5204,22 +5224,22 @@ - + - + - + @@ -5231,22 +5251,22 @@ - + - + - + Index: lams_common/db/sql/create_lams_11_tables.sql =================================================================== diff -u -r33ea91d27c610597a8ebc896dddcc289b0405b01 -r1aea7e568e57108a5257a7563d4c14ee4a5ae879 --- lams_common/db/sql/create_lams_11_tables.sql (.../create_lams_11_tables.sql) (revision 33ea91d27c610597a8ebc896dddcc289b0405b01) +++ lams_common/db/sql/create_lams_11_tables.sql (.../create_lams_11_tables.sql) (revision 1aea7e568e57108a5257a7563d4c14ee4a5ae879) @@ -449,6 +449,9 @@ , help_url TEXT , create_date_time DATETIME NOT NULL , language_file VARCHAR(255) + , modified_date_time DATETIME + , classpath_addition VARCHAR(255) + , context_file VARCHAR(255) , UNIQUE UQ_lams_tool_sig (tool_signature) , UNIQUE UQ_lams_tool_class_name (service_name) , PRIMARY KEY (tool_id) Index: lams_common/db/sql/updatescripts/alter_201_tool.sql =================================================================== diff -u --- lams_common/db/sql/updatescripts/alter_201_tool.sql (revision 0) +++ lams_common/db/sql/updatescripts/alter_201_tool.sql (revision 1aea7e568e57108a5257a7563d4c14ee4a5ae879) @@ -0,0 +1,14 @@ +-- Script to be run for LAMS 2.0.1 release, on LAMS 2.0 tables. +-- We need to record the classpath and xml changes for a tool, so that a monitoringl/learning update doesn't overwrite +-- tools that we don't know about. + +ALTER TABLE lams_tool +ADD COLUMN modified_date_time DATETIME +, ADD COLUMN classpath_addition VARCHAR(255) +, ADD COLUMN context_file VARCHAR(255) + +UPDATE lams_tool +SET modified_date_time = create_date_time +WHERE modified_date_time is null; + +COMMIT; Index: lams_tool_survey/build.properties =================================================================== diff -u -rfa4ec04f25688f5363a60e9d33f99274749f4bd1 -r1aea7e568e57108a5257a7563d4c14ee4a5ae879 --- lams_tool_survey/build.properties (.../build.properties) (revision fa4ec04f25688f5363a60e9d33f99274749f4bd1) +++ lams_tool_survey/build.properties (.../build.properties) (revision 1aea7e568e57108a5257a7563d4c14ee4a5ae879) @@ -12,7 +12,7 @@ project.displayname = lams survey tool # project version -tool.version=20070208 +tool.version=20070220 # hide tool option hideTool=false Index: lams_tool_survey/db/sql/tool_insert.sql =================================================================== diff -u -r658b820953ee6971924d2381cb7891b06f0f4adb -r1aea7e568e57108a5257a7563d4c14ee4a5ae879 --- lams_tool_survey/db/sql/tool_insert.sql (.../tool_insert.sql) (revision 658b820953ee6971924d2381cb7891b06f0f4adb) +++ lams_tool_survey/db/sql/tool_insert.sql (.../tool_insert.sql) (revision 1aea7e568e57108a5257a7563d4c14ee4a5ae879) @@ -27,7 +27,10 @@ moderation_url, help_url, language_file, -create_date_time +classpath_addition, +context_file, +create_date_time, +modified_date_time ) VALUES ( @@ -54,5 +57,8 @@ 'tool/lasurv11/moderate.do', 'http://wiki.lamsfoundation.org/display/lamsdocs/lasurv11', 'org.lamsfoundation.lams.tool.survey.ApplicationResources', -NOW() +'./lams-tool-lasurv11.jar', +'/org/lamsfoundation/lams/tool/survey/surveyApplicationContext.xml', +NOW(), +NOW(), ) Index: lams_tool_survey/db/sql/updatescripts/updateTo20070220.sql =================================================================== diff -u --- lams_tool_survey/db/sql/updatescripts/updateTo20070220.sql (revision 0) +++ lams_tool_survey/db/sql/updatescripts/updateTo20070220.sql (revision 1aea7e568e57108a5257a7563d4c14ee4a5ae879) @@ -0,0 +1,8 @@ +-- Update the Survey tables from version 20070208 to 20070220 +-- This is for the LAMS 2.0.1 release. + +UPDATE lams_tool +set modified_date_time = now() +, classpath_addition = './lams-tool-lasurv11.jar' +, context_file = '/org/lamsfoundation/lams/tool/survey/surveyApplicationContext.xml' +where tool_signature = 'lasurv11';