X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.webapp%2Fconfig.json;h=9ba200ec7ecb317b6de45da8f18a5223e3139561;hb=fcf101ccd5fb0eceb0729bdafedd98406c459210;hp=b08862ce30f40ab3df54bc841666a2dbde53a6a3;hpb=78bd2e8f957d3198f2d6c0482be298f83481328e;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.webapp/config.json b/org.argeo.slc.webapp/config.json index b08862ce3..9ba200ec7 100644 --- a/org.argeo.slc.webapp/config.json +++ b/org.argeo.slc.webapp/config.json @@ -1,27 +1,33 @@ { - "name" : "slc", + "name" : "ria", "include" : [ { - "path" : "G:/dev/qooxdoo-0.8-sdk/tool/data/config/application.json", - "as" : "appconf" - } + "path" : "src/main/webapp/qooxdoo-0.8-sdk/component/apiviewer/api.json", + "as" : "apiconf" + }, + { + "path" : "src/main/webapp/qooxdoo-0.8-sdk/component/testrunner/testrunner.json", + "as" : "testrunner" + } ], "let" : { - "APPLICATION" : "org.argeo.slc.web", - "QOOXDOO_PATH" : "src/main/webapp/qooxdoo", - "QOOXDOO_URI" : "../qooxdoo", + "APPLICATION" : "org.argeo.ria", + "QOOXDOO_PATH" : "src/main/webapp/qooxdoo-0.8-sdk/framework", + "QOOXDOO_URI" : "../qooxdoo-0.8-sdk/framework", "QXTHEME" : "qx.theme.Modern", "QXICONTHEME" : ["Tango"], "API_EXCLUDE" : ["qx.legacy.*"], "LOCALES" : [ "en" ], - "ROOT" : "src/main/webapp/", - "BUILD_PATH" : "src/main/webapp/build", + "ROOT" : "src/main/webapp/argeo-ria-src", + "BUILD_PATH" : "src/main/webapp/argeo-ria", + "RIA_LIB_PATH" : "src/main/webapp/argeo-ria-lib", + "RIA_LIB_URI" : "../argeo-ria-lib", "CACHE" : "cache" , - "CUSTOM_PERSPECTIVE" : "org.argeo.slc.web.custom.Perspective" + "CUSTOM_PERSPECTIVE" : "org.argeo.slc.web.Perspective" }, "jobs" : @@ -34,7 +40,14 @@ "manifest" : "${QOOXDOO_PATH}/Manifest.json", "uri" : "${QOOXDOO_URI}" }, - + { + "manifest" : "${RIA_LIB_PATH}/slc-web/Manifest.json", + "uri" : "${RIA_LIB_URI}/slc-web" + }, + { + "manifest" : "${RIA_LIB_PATH}/slc/Manifest.json", + "uri" : "${RIA_LIB_URI}/slc" + }, { "manifest" : "${ROOT}/Manifest.json", "uri" : ".." @@ -58,7 +71,7 @@ "qx.version" : "${QXVERSION}", "qx.theme" : "${QXTHEME}", "qx.application" : "${APPLICATION}.Application", - "slc.Perspective": "${CUSTOM_PERSPECTIVE}" + "ria.Perspective": "${CUSTOM_PERSPECTIVE}" } }, @@ -70,9 +83,9 @@ "compile-source" : { - "file" : "${ROOT}/source/script/${APPLICATION}.js", + "file" : "${ROOT}/script/${APPLICATION}.js", "locales" : "${LOCALES}", - "root" : "${ROOT}/source" + "root" : "${ROOT}" } }, @@ -130,7 +143,7 @@ [ "index.html" ], - "source" : "${ROOT}/source", + "source" : "${ROOT}", "target" : "${BUILD_PATH}" } }, @@ -147,23 +160,52 @@ "slc-api" : { - "extend" : ["appconf::api"], + "extend" : ["apiconf::build"], "let" : { - "APIVIEWER_ROOT" : "${ROOT}", - "BUILD_PATH" : "./api", - "API_INCLUDE" : ["${APPLICATION}.*"] + "APIVIEWER_ROOT" : "${QOOXDOO_PATH}/../component/apiviewer", + "BUILD_PATH" : "./target/site/argeo-ria-api/", + "API_INCLUDE" : ["${APPLICATION}.*", "${CUSTOM_PERSPECTIVE}"] }, "library" : [ { - "manifest" : "Manifest.json", - "uri" : "" + "manifest" : "${ROOT}/Manifest.json", + "uri" : ".." + }, + { + "manifest" : "${RIA_LIB_PATH}/slc-web/Manifest.json", + "uri" : "${RIA_LIB_URI}/slc-web" + }, + { + "manifest" : "${RIA_LIB_PATH}/slc/Manifest.json", + "uri" : "${RIA_LIB_URI}/slc" + } + ] + }, + + "slc-test" : + { + "extend" : ["testrunner::build"], + + "let" : + { + "TESTRUNNER_ROOT" : "${QOOXDOO_PATH}/../component/testrunner", + "TEST_INCLUDE" : "${APPLICATION}.test.*", + "BUILD_PATH" : "./target/site/argeo-ria-test/" + }, + + "library" : + [ + { + "manifest" : "${ROOT}/Manifest.json", + "uri" : ".." } ] } + } }