panyasan wrote:
Ok, this worked, thanks. As usual, there is tons of useful information on the
website, but it is sometimes hard to figure out something basic as this
Ok, in that particular case, where did you get lost? The generator
configuration overview clearly lines out that config keys have to be in
the context of a job [1]. It says
"The job names job1, ..., jobN are freely chooseable but must form a
valid key."
and later
"The value of each job is a map where the keys are not freely
chooseable, but are predefined."
and then continues to present an overview of the valid keys. Then there
is an entire section dedicated to job shadowing, which I agree may take
some browsing to find (but as there are only 4 pages dealing with
generator configuration that shouldn't be so hard)[2]. But every
skeleton config comes with a minimal example of overriding an existing
job [3]:
"build-script" :
{
"compile-dist" :
{
"code" :
{
"format" : false
}
}
}
So, along that way, where did you miss additional aid to get you further?
T.
[1] http://qooxdoo.org/documentation/0.8/generator_config
[2]
http://qooxdoo.org/documentation/0.8/generator_config_articles#job_shadowing_and_partial_overriding
[3]
http://qooxdoo.svn.sourceforge.net/viewvc/qooxdoo/trunk/qooxdoo/component/skeleton/gui/config.tmpl.json?revision=20525&view=markup
because the generator configuration is a very complex matter that would
deserve a whole series of tutorials. As I said, the Book of Qooxdoo still
has to be written ;-)
C.
thron7-2 wrote:
panyasan wrote:
Hello,
I have a file in the script folder that I need to be copied into the
built
package. I have tried this in my config.json
...
"copy-files" :
{
"files" : [ "script/rpcconsole.testData.js" ]
},
...
However, the file is not copied into build/script. What am I doing wrong?
This is not enough context you are providing. It all depends on the job
that contains the "copy-files" trigger. You should put this trigger into
the "build-files" job. There it will be picked up correctly.
T.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel