Hello,
I mean like this
http://manual.qooxdoo.org/1.3/pages/development/profiling.html
Thanksfor Fritz Zauker!
How do i set up this?
/custom.Application.js:
/* ************************************************************************
#asset(custom/*)
#asset(custom/MainWindow.js)
************************************************************************ */
/**
* This is the main application class of your custom application "custom"
*/
qx.Class.define("custom.Application",
{
extend : qx.application.Standalone,
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
members :
{
/**
* This method contains the initial application code and gets called
* during startup of the application
*
* @return {void}
*/
main : function()
{
// Call super class
this.base(arguments);
// Enable logging in debug variant
if (qx.core.Variant.isSet("qx.debug", "on"))
{
// support native logging capabilities, e.g. Firebug for Firefox
qx.log.appender.Native;
// support additional cross-browser console. Press F7 to toggle
visibility
qx.log.appender.Console;
}
/*
Load from resource
*/
var mLoader = new qx.profile.Start("mLoader");
mLoader.top = 10;
mLoader.bottom = 10;
mLoader.left = 10;
mLoader.right = 10;
}
}
});
And /resources/custom/MainWindow.js
qx.Class.define("custom.MainWindow",
{
extend : qx.ui.window.Window,
construct : function()
{
this.base(arguments, "Test Window")
}
});
And config.json:
{
"name" : "custom",
"include" :
[
{
"path" : "${QOOXDOO_PATH}/tool/data/config/application.json"
}
],
"default-job" : "source",
"let" :
{
"APPLICATION" : "custom",
"QOOXDOO_PATH" : "../qooxdoo-1.3-sdk",
"QXTHEME" : "custom.theme.Theme",
"API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*",
"${APPLICATION}.test.*", "${APPLICATION}.simulation.*"],
"LOCALES" : [ "en", "de", "fr", "es", "it", "cs", "ro", "ja", "tr"
],
"CACHE" : "${TMPDIR}/cache",
"ROOT" : "."
},
"jobs" :
{
"additional-js" : {
"add-script" : [ { "uris" : "resource/custom/MainWindow.js" } ]
},
"source-script" : { "extend" : ["additional-js"] },
"build-script" : { "extend" : ["additional-js"] },
"common" :
{
"settings" :
{
"qx.nativeScrollBars" : true
},
"compile-options" :
{
"paths" : { "scripts-add-hash" : true },
"uris" : { "add-nocache-param": true }
},
"packages" :
{
"loader-with-boot" : false,
"i18n-with-boot" : false,
/*"parts" :
{
"boot":
{
"include" : ["${QXTHEME}", "custom.Application"]
},
"settings":
{
"include" : ["custom.Settings"]
}
},*/
"sizes" :
{
"min-package" : 10
}
}
}
}
}
I have been tired with generate.py and it does not show error message
than....
And i open custom/source/index.html with chrome:
But MainWindow does not show from resource directory.
Why does not work? Did class qx.profile has Problem?
Thanks for reply!
PS: Fritz Zauker from CH, can you tell me about loading profiles? If you
know it?
Thanks SnakeMedia
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Qooxdoo-Main-Application-with-externed-javascript-files-tp6181101p6199502.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel