Re: [qooxdoo-devel] generate source error

2009-11-04 Thread Riccardo-Maria BIANCHI
Hi Gene, yes, I agree with you. It would be better to change the name from the beginning in order to start the creation process with a clean value. Or crashing the creation process at the start with an error message inviting the user to change the application name. Cheers, Ric. Gene Am

Re: [qooxdoo-devel] generate source error

2009-11-04 Thread Riccardo-Maria BIANCHI
Hi thron7, thanks for you exhaustive and detailed answer! :-) Now I understand why the appname variable with hyphen was passed to the real generator even before loading the config.json file! :-P So it's just the directory name! Ok, I'll re-recreate the app, in order to get a clean installati

Re: [qooxdoo-devel] generate source error

2009-11-04 Thread Gene Amtower
I think one of the inherent but unstated points in the original post is why "create-application" knows enough to remove the hyphen in some places but not everywhere, resulting in a mismatch within the created application. It would be better to fail right from the start with a harshly-chastising me

Re: [qooxdoo-devel] generate source error

2009-11-04 Thread thron7
Derrell is right, it's not quite worth the effort, but anyway... > --- > /usr/bin/python2.6 generate.py source > > > INITIALIZING: PLOTS-DASHBOARD This is from the directory name (which obviously you haven't

Re: [qooxdoo-devel] generate source error

2009-11-04 Thread Riccardo-Maria BIANCHI
Ok, got it! thanks for your answer :-) Ric. Derrell Lipman wrote: > On Wed, Nov 4, 2009 at 08:54, Riccardo-Maria BIANCHI > wrote: > > > I changed all occurrencies of "plots-dashboard" in "application" and > "name" field in my config files (config.json, Man

Re: [qooxdoo-devel] generate source error

2009-11-04 Thread Derrell Lipman
On Wed, Nov 4, 2009 at 08:54, Riccardo-Maria BIANCHI wrote: > > I changed all occurrencies of "plots-dashboard" in "application" and > "name" field in my config files (config.json, Manifest.json) and > everywhere...but still I get this header with the hyphen "-" in the name > when I run generate.

Re: [qooxdoo-devel] generate source error

2009-11-04 Thread Riccardo-Maria BIANCHI
Hi Jonathan, Now everything's working fine, but I still have a question. I changed all occurrencies of "plots-dashboard" in "application" and "name" field in my config files (config.json, Manifest.json) and everywhere...but still I get this header with the hyphen "-" in the name when I run gene

Re: [qooxdoo-devel] generate source error

2009-11-04 Thread Jonathan Weiß
Hello Riccardo-Maria, I am glad that you found the error. Please note that an application name must NOT contain an hyphen ("-")! Cheers, Jonathan - Jonathan Weiß Framework Engineer http://mysterycity.de/blog Blog - http://www.linkedin.com/in/jonathanrass LinkedIn - http://www.xing.com

Re: [qooxdoo-devel] generate source error

2009-11-03 Thread Riccardo-Maria BIANCHI
Me again :) I just noticed that running the generator.py I get the string: "INITIALIZING: PLOTS-DASHBOARD" while I checked and I do not have any occurences of the "-" name version in my source code. But the appname is still passed as "plots-dashboard" to the real generate.py script, it seems.

[qooxdoo-devel] generate source error

2009-11-03 Thread Riccardo-Maria BIANCHI
Hi! I started a new application. At start I had put a "-" within the name, but the create-application script substituted it with a "_". Two things: 1) the substitution did not work for "name" fields in config.json and Manifest.json. Is it a feature or an error? 2) Now when I try to make the "s