The error was in the copy task
<copy 
                        todir                           =
"${build.dir}/web/classes" 
                        includeEmptyDirs        = "no" />
                        <fileset dir="web/WEB-INF/classes">
                                <exclude
name="ApplicationResources_zh_CN.properties" />
                                <exclude name="mail.properties" />
                                <include name="*.properties" />
                                <include name="*.xml" />
                                <include name="*.vm" />
                        </fileset>
                        <filterset refid="variables.to.replace" />
                </copy>

I added a 2nd copy task according to
http://www.nabble.com/AppFuse-1.9.2-and-Encoding-issues-t1741973s2369.html :
                <copy 
                        todir                           =
"${build.dir}/web/classes" 
                        includeEmptyDirs        = "no"
                        overwrite                       = "true">
                        <fileset dir="web/WEB-INF/classes">
                                <include
name="ApplicationProperties_de.properties" />
                        </fileset>
                </copy>

I dont why it works, but it works.

Regards
René


Von: Jason Brice [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 1. Juli 2007 06:33
An: [email protected]
Betreff: Re: [appfuse-user] Deployment destroys Umlaute

It sounds like an encoding issue. 

Where is the replace happening? Are the umlauts in the properties /
resources files getting changed during your build? In other words, they are
present in your local files before you build but changed in the resulting
deployment? If so, you might need to modify your build.xml to enable UTF-8. 

Or are they OK in the properties / resources after deployment, but showing
up on the web as the ? character? If so, you might need to modify your JSPs'
page encoding to use UTF-8. The same goes if you are manually generating the
output stream (for example returning a localized string via an ajax call). 

If that doesn't help, you might try a search of the appfuse nabble forum for
UTF-8: http://www.nabble.com/forum/Search.jtp?forum=2369&local=y&query=UTF-8


JLB

On 6/30/07, René Günther <[EMAIL PROTECTED]> wrote:
Hello,

the deployment of a appfuse 1.8 based application replaces all Umlaute like
ä,ü,ö with ? on linux platform. What could I do to prevent this?

Regards
René


--------------------------------------------------------------------- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to