]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed #743.
authorJani Laakso <jani.laakso@itmill.com>
Tue, 5 Jun 2007 07:24:41 +0000 (07:24 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Tue, 5 Jun 2007 07:24:41 +0000 (07:24 +0000)
svn changeset:1573/svn branch:trunk

build/build.xml

index e906cd7fbb491922ddc88e958b476eae22a6473f..14a3c1e0f61565623999e0e34fedaa2caf4f1381 100644 (file)
                        </fileset>
                </copy>
 
-               <fixcrlf srcdir="build/result/themes" includes="**/*.js **/*.css" eol="lf" eof="remove" />
+               <fixcrlf srcdir="build/result/themes" includes="**/*.js **/*.css" eol="lf" eof="remove">
+                       <!-- ignore these because multiple character encodings are used -->
+                       <exclude name="base/ext/jscalendar/lang/*.js" />
+               </fixcrlf>
 
                <!-- Add unoptimized (not obfuscated) themes -->
                <copy todir="${output-dir}/lib/themes">
                        <path>
                                <fileset dir="build/result/themes">
                                        <include name="**/*.js" />
-                                       <!-- ignore these because rhino brakes character encodings -->
+                                       <!-- ignore these because multiple character encodings are used -->
                                        <exclude name="base/ext/jscalendar/lang/*.js" />
                                </fileset>
                        </path>
                        <sequential>
                                <echo>@{file}</echo>
-                               <!-- TODO: ERROR: for some reason this does not work on Windows platform, please fix! -->
                                <java dir="build/result/themes" jar="build/lib/custom_rhino.jar" fork="true" failonerror="true" maxmemory="64m" output="@{file}">
+                                       <!-- note: you could set rhino's encoding with <jvmarg value="-Dfile.encoding=UTF-8" /> -->
                                        <arg value="-c" />
                                        <arg value="@{file}" />
                                </java>