google-code-export / globalite

Automatically exported from code.google.com/p/globalite
1 stars 0 forks source link

Colons in "date_helper_order:" arguments prevents YAML/Netbeans 6M10 to generate anything #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install and use Netbeans 6M10 (probably any Netbeans 6)
2. Create a new project
3. Install globalite
4. Try : right clic on project > Generate > Model > MyModel

What is the expected output? What do you see instead?
Netbeans is expected to generate all model files.
Instead, there's a yaml parse error.

What version of the product are you using? On what operating system?
Netbeans 6M10 with Rails 1.2

Please provide any additional information below.
I found that the parse error comes from symboles. I tested only on the
lang/rails/en-UK.yml file, but there's only one ligne which borkes everything :
date_helper_order: [:year, :month, :day]

Original issue reported on code.google.com by arnaud.j...@gmail.com on 2 Sep 2007 at 4:45

GoogleCodeExporter commented 9 years ago
Thanks for the report. I don't use netbeans myself but I understand what the 
problem is.

To avoid this problem on Globalite side, I would have to change the string to a 
yaml
array and get Globalite to process it as an array.

The thing is that ruby parses the array without any problem and therefore I can 
only
guess that netbeans's parser isn't working properly :p  

feel free to send me a patch to fix this issue.

-Matt

Original comment by mattAimo...@gmail.com on 2 Sep 2007 at 5:08

GoogleCodeExporter commented 9 years ago

Original comment by mattAimo...@gmail.com on 5 Oct 2007 at 5:29