qooxdoo-archive / qooxdoo-cli

(deprecated, moved into qooxdoo-compiler) qx commandline
MIT License
4 stars 5 forks source link

`qx create` not working properly #38

Closed johnspackman closed 6 years ago

johnspackman commented 6 years ago

I've noticed a few bugs with qx create on Windows

johnspackman commented 6 years ago

Also it would be really useful if the locale was set to include the users locale, eg at the moment it is just [ "en" ] but it would be good if it was [ "en", "en_gb" ] or [ "en", "en_de" ] etc; this is because the CLDR database does not provide correct date formatting information unless the locale is specified in detail, for example "en_gb" short date format comes out as d/m/y but "en" is the US version of m/d/y.

cboulanger commented 6 years ago

As to the path issue, yes, that was a problem which I avoided by using absolute paths, which is not a solution. I thought @hkollmann 's fixed that in his commits? Is that a Windows-only problem (probably not).

johnspackman commented 6 years ago

I dont think it is Windows specific, just that I came across this when testing on my Windows VM.

The problem is that the path needs to be relative to the application directory, not the current directory when creating the application (the current directory is the parent of the application directory)

hkollmann commented 6 years ago

I have a patch - can be commited if the template branch is merged

johnspackman commented 6 years ago

This issue was moved to qooxdoo/qooxdoo-compiler#81