Issue Details (XML | Word | Printable)

Key: GRAILS-1536
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Graeme Rocher
Reporter: YQ
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails

No native2ascii be executed when "grails war"

Created: 23/Aug/07 02:33 PM   Updated: 20/Sep/07 07:27 AM
Component/s: None
Affects Version/s: 0.5.6
Fix Version/s: 0.6

Time Tracking:
Not Specified

Environment: grails 0.5.6 & JDK1.5.0_12-b04


 Description  « Hide
When I package my app to war(by "grails war") and deploy to tomcat , I found the properties files in WEB-INF/grails/i18n folder have NO be encode by natice2ascii causing wildly pages

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Graeme Rocher added a comment - 23/Aug/07 05:33 PM
Its is a config option http://grails.org/Config

Florian Lindauer added a comment - 13/Sep/07 10:17 AM
Sorry, but is this config option really the solution to this problem?
I created a Config.groovy with this option, it did not help. With or without it, the native2ascii runs on calling the "war" target,
converting the messages from source grails-app/i18n to target WEB-INF/grails-app/i18n/ directory of the project space.
But in the .war the original messages.properties is found - not the transformed one.

Graeme Rocher added a comment - 14/Sep/07 02:18 AM
There is a separate bug where native2ascii doesn't work with war files, we'll be addressing that over the next few days

Florian Lindauer added a comment - 20/Sep/07 07:27 AM
We upgraded to 0.6 now, and it works (just to confirm fix_version)
(Of course, Config.groovy was not supported in 0.5.6 at all, but the config option was not the problem)
Thanks!