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 message (even possibly mentioning some fact about
your mother) than to continue with a bad application structure, or just
make the necessary name correction to complete a proper application
structure.  Either way, the current in-between situation is half-done.

If we know a hyphen is disallowed, why can't the create script remove
the hyphen from the name at the beginning of execution and use that
cleansed value throughout the rest of the script execution?

Just my 2 cents,

   Gene

On Wed, 2009-11-04 at 22:17 +0100, thron7 wrote:

> 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 changed), as
> it is produced at a time before any config files are read :).
> 
> > and moreover I get the "hyphen" in the <title> HTML tag of the
> > index.html generated.
> 
> The index.html is only modified during the run of create-application.py.
> If you later need changes you have to apply them by hand.
> 
> > Where this name is taken from? and Why this "hyphen version" is passed
> > as "appname" to the real generator script?
> 
> I think my above answers clarify this. The create-application.py creates a
> lot of directory names and replaces placeholders in files. It's tedious to
> try to change things afterwards. Derrell's advice is easier, as you "just"
> have to adapt the JS source files.
> 
> T.
> 
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to