Hi again,
I tried your proposal:
>>
>> "libraries" : {
>> "library" : [
>> {
>> "manifest" : "${QOOXDOO_PATH}/framework/Manifest.json",
>> "uri" : "../../../qooxdoo"
>> }
>> ]
>> }
>>
but it has absolutely _NO_ effect on the script :(
Is this an "1.0" feature, that I can't use in the 0.8.3 migration step?
FYI: I've added the "libraries" key at top level.
Currently I relocated my sources, so that the generator and the compiled script
are happy ;)
This is not the nicest way, but I unfortunately I have little time to spare for
this huge migration work ( *snif* ;) )...
Nevertheless I've added our "old" makefile, so you can make your suggestions,
If you have time for that...(I've walked along with another "solution" as
mentioned above)
The directory structure is attached as well, to make it "easier" to navigate.
Thank you for your help so far,
Peter
-------- Original --------
From: thron7
Date: 22.01.2010 14:08
>> Another point is that I always seem to get wrong information about the
>> config.json tool-chain features of 0.8.3!
>> For example I have no idea whether I have to include the
>> "libraries":{"library":[...]} stuff at the main level of the config.json file
>> or somewhere at the "jobs" section. ...until I just try it out...
>> This one [3] doesn't seem to be the correct information source,
>> unfortunately. As mentioned above: I don't get the concept yet ;) so have
>> mercy
>> with me. I will inform myself as much as I currently can.
>
> It might help you a lot to at least read the basic introduction into the
> 0.8 configuration system at [1]. This probably makes it a bit clearer
> that jobs are always located under the "jobs" top-level key, and then
> even [3] will provide that only a few pre-defined keys should show up at
> top-level (like "name", "include", "let",...).
>
> [1] http://qooxdoo.org/documentation/0.8/generator_config
>
>> Would you recommend using the documentation of the 1.0 release instead?
>> ...and hope that at least most features where already present in 0.8.3?
>
> Well, they are not so much different as far as the generator is
> concerned, so that means you could just as well stick with the 0.8.3
> documentation, which would be authoritative for you at the moment. I
> don't see the 1.0 documentation providing you with any advantage currently.
>
>> Nevertheless, thanks again for your help! ...I definitely need it.
>> I will try your suggested approach on my config.json and see what happens.
>
> If it is basically tranlating old Makefile vars into config.json
> settings, post your current config.json and the list of Makefile vars
> you want to see implemented and I'll make suggestions on how to
> incorporate them.
>
> T.
>
>> [3]
>> http://qooxdoo.org/_media/documentation/0.8/generator_cheat_sheet.pdf?id=documentation%3A0.8
################################################################################
# REQUIRED SETTINGS
################################################################################
# stdout and stderr redirect:
# make > make.log 2>&1
#
# Path to the folder of your qooxdoo distribution.
# Can either be
# a) a path relative to the location of this Makefile (preferred) or
# b) an absolute path starting at the root of your file system
# Example: If you put the skeleton folder next to the qooxdoo SDK folder,
# you can use the following relative path:
# QOOXDOO_PATH = ../qooxdoo-0.6.5-sdk
#
QOOXDOO_PATH = ../qooxdoo
#
# Similar to above, but from the webserver point of view.
# Starting point is now the application HTML file of the source folder
# (source/index.html by default). In most cases just prepend a "../" to
# QOOXDOO_PATH from above.
# Example: QOOXDOO_URI = ../../qooxdoo-0.6.5-sdk
#
QOOXDOO_URI = ../../../qooxdoo
################################################################################
# BASIC SETTINGS
################################################################################
#
# Full namespace of your application
#
APPLICATION_NAMESPACE = infodesk
#
# Titles used in your API viewer and during the build process
#
APPLICATION_MAKE_TITLE = Infodesk
APPLICATION_API_TITLE = Infodesk Documentation
#
# Additional static files of your application (space separated list)
#
APPLICATION_FILES =
# Locales to build (space separated list)
# To set a specific locale like "en_US" the generic locale "en" has to be added
as well
# Example: APPLICATION_LOCALES = en en_US de de_DE es
#
APPLICATION_LOCALES = en de
APPLICATION_THEME = infodesk.theme._InfoDesk
APPLICATION_HTML_TO_ROOT_URI = ..
################################################################################
# ADVANCED SETTINGS
################################################################################
#
# Please take a look at
$(QOOXDOO_PATH)/frontend/framework/tool/make/application.mk
# for an overview of available options
#
#
# Relation from HTML file to the top level directory (source or build).
#
APPLICATION_PAGE_TO_TOPLEVEL = ..
#
# Application classname
#
APPLICATION_CLASSNAME = Infodesk
#
# Configure resource filter
# If enabled all application classes needs a #embed
# configuration, too.
#
APPLICATION_RESOURCE_FILTER = true
#
# Customize line break settings
# If enabled line breaks are inserted into the compiled application.
# This makes the generated code better readable and produces saner error
# messages, but bigger, too.
#
APPLICATION_LINEBREAKS_BUILD = true
#
# Customize line break settings
# If enabled line breaks are added to the loader script of the source version.
#
APPLICATION_LINEBREAKS_SOURCE = true
#
# Remove compatibility for qooxdoo 0.6 style class declarations.
#
APPLICATION_OPTIMIZE_REMOVE_COMPATIBILITY = true
#
# Enables string optimization for the build version.
# String optimization gives a perforcmance boost on the Internet Explorer 6,
# obfuscates the code and may reduce the size. This should always be enabled for
# deployment versions.
#
APPLICATION_OPTIMIZE_STRINGS = true
#
# Renames local variables to shorter names for the build version.
# This option reduces the code size and obfuscates the code.
# Warning: If local variable names are used inside of "eval" statement
# this may break the code.
# Possible workaround: --optimize-variables-skip-prefix=PREFIX
#
APPLICATION_OPTIMIZE_VARIABLES = false
#
# Any additional flags for the BUILD or SOURCE version (e.g. --verbose)
# For a detailed list of possible flags, see
# {../qooxdoo/frontend/framework/tool/generator.py --help}
#
# Currently available InfoDesk 'module classes' are:
# 'template' : This includes all the classes that are just used as a
# template for a new class to begin with. Should be excluded.
# 'test_n_debug' : This includes classes like RPC-Test or DB-IO windows.
# They should be excluded from the build version.
# 'obsolete' : This includes classes that are of no use anymore (and might
# be deleted completely in the future). Classes that were used
# in Version 1.x that are no longer needed in Version 2.x for
# example belog to this group.
APPLICATION_ADDITIONAL_SOURCE_OPTIONS = --exclude-without-dependencies
template,obsolete
# ,infodesk.gis.geocoding.*
APPLICATION_ADDITIONAL_BUILD_OPTIONS = --exclude-without-dependencies
test_n_debug,template,obsolete
# ,infodesk.gis.geocoding.*
################################################################################
# NON-SOURCE/BUILD TARGET SETTINGS
################################################################################
#
# Allow GOOGLE-MAPS API and MAP-24 API globals for 'lint' target.
#
LINT_ALLOWED_GLOBALS = google Map24
################################################################################
# DERIVED SETTINGS AND TOOLS
################################################################################
#
# Configure commands
#
CMD_SUBWCREV = SubWCRev
CMD_SED = sed -i
CMD_JSLINT = ../../04-TOOLS/jsl/jsl
JSLINT_CONF = ../../04-TOOLS/jsl/jsl.conf
#
# Application version
#
FRAMEWORK_PATH = $(QOOXDOO_PATH)/frontend/framework
FRAMEWORK_TOOL_PATH = $(FRAMEWORK_PATH)/tool
$(shell $(CMD_SUBWCREV) ../. ../VERSION.tmpl ../VERSION > /dev/null 2>&1)
APPLICATION_FULL_VERSION := $(shell read appversion < ../VERSION; echo
$$appversion)
APPLICATION_VERSION := $(shell echo '$(APPLICATION_FULL_VERSION)' | cut -d ' '
-f1)
APPLICATION_ADDITIONAL_SOURCE_OPTIONS +=
--use-setting=infodesk.version:"$(APPLICATION_FULL_VERSION)"
APPLICATION_ADDITIONAL_BUILD_OPTIONS +=
--use-setting=infodesk.version:"$(APPLICATION_FULL_VERSION)"
################################################################################
# INCLUDE CORE
################################################################################
ifneq ($(QOOXDOO_PATH),PLEASE_DEFINE_QOOXDOO_PATH)
include $(QOOXDOO_PATH)/frontend/framework/tool/make/targets.mk
include $(QOOXDOO_PATH)/frontend/framework/tool/make/application.mk
endif
error:
@echo " * Please configure QOOXDOO_PATH"
################################################################################
# EXTENSIONS
################################################################################
jslint:
@echo
"****************************************************************************"
@echo " RUNNING JavaScript Lint on $(APPLICATION_MAKE_TITLE)"
@echo
"****************************************************************************"
@$(CMD_JSLINT) -conf $(JSLINT_CONF) \
-process "source\class\infodesk\*.js" \
+recurse -nofilelisting -nocontext
source:
@echo
@echo " VERSION INFORMATION: $(APPLICATION_FULL_VERSION)"
@$(CMD_LINE)
@echo " * Creating version.php ..."
@$(CMD_SUBWCREV) ../. ../backend/common/version.tmpl
../backend/common/version.php > /dev/null 2>&1
@$(CMD_SED) 's/\$$VERSION\$$/$(APPLICATION_VERSION)/g'
../backend/common/version.php
build:
@echo " * Deleting Thumbs.db files ..."
@$(CMD_FIND) build/resource -name Thumbs.db -exec rm {} \;
@echo
@echo " VERSION INFORMATION: $(APPLICATION_FULL_VERSION)"
@$(CMD_LINE)
@echo " * Creating version.php ..."
@$(CMD_SUBWCREV) ../. ../backend/common/version.tmpl
../backend/common/version.php > /dev/null 2>&1
@$(CMD_SED) 's/\$$VERSION\$$/$(APPLICATION_VERSION)/g'
../backend/common/version.php
@echo
@echo " GZIP SCRIPTS:"
@$(CMD_LINE)
@echo " * Creating "$(APPLICATION_NAMESPACE)".js.gz ..."
@gzip --best --force --stdout build/script/$(APPLICATION_NAMESPACE).js
> \
build/script/$(APPLICATION_NAMESPACE).js.gz
distclean:
@echo " * Deleting version.php ..."
@$(CMD_REMOVE) ../backend/common/version.php
- backend\
+- foo\
+- bar\
+- ...\
+- index.php
+- JSON.php
- frontend\
+- source\
| +- class\
| | +- infodesk\
| | | +- foo\
| | | +- bar\
| | | +- ...\
| | +- Infodesk.js
| |
| +- html\
| | +- index.php
| |
| +- resource\
| | +- app\
| | +- icon\
| | | +- 16\
| | | +- 32\
| | | +- ...\
| | +- sound\
| | | +- ...\
| |
| +- translation\
|
+- Makefile
- qooxdoo\
+- backend\
+- frontend\
| +- application\
| +- framework\
| | +- source\
| | | +- class\
| | | | +- qx\
| | | | +- application\
| | | | +- ...\
| | | | +- Class.js
| | | | +- Interface.js
| | | | +- Mixin.js
| | | | +- OO.js
| | | | +- Theme.js
| | | +- locale\
| | | +- resource\
| | | +- translation\
| | +- tool\
| | +- Makefile
| +- Makefile
+- AUTHORS
+- LICENSE
+- README
+- RELEASENOTES
+- TODO
+- VERSION
- VERSION.tmpl
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel