diff options
author | Marc Englund <marc.englund@itmill.com> | 2008-05-07 08:14:30 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2008-05-07 08:14:30 +0000 |
commit | e8279e07c72eae1f0d037cd0004daafb9ec024dd (patch) | |
tree | f958e9377d74f041ac8fc6b04b7626e6875b52ad /build/buildhelpers/com | |
parent | 1a1418a67e7da10531f2c7313defae699ff420e6 (diff) | |
download | vaadin-framework-e8279e07c72eae1f0d037cd0004daafb9ec024dd.tar.gz vaadin-framework-e8279e07c72eae1f0d037cd0004daafb9ec024dd.zip |
Now processes files in alphabetical order.
svn changeset:4362/svn branch:trunk
Diffstat (limited to 'build/buildhelpers/com')
-rw-r--r-- | build/buildhelpers/com/itmill/toolkit/buildhelpers/CompileDefaultTheme.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/buildhelpers/com/itmill/toolkit/buildhelpers/CompileDefaultTheme.java b/build/buildhelpers/com/itmill/toolkit/buildhelpers/CompileDefaultTheme.java index d5da4cf6f4..8ea00c675d 100644 --- a/build/buildhelpers/com/itmill/toolkit/buildhelpers/CompileDefaultTheme.java +++ b/build/buildhelpers/com/itmill/toolkit/buildhelpers/CompileDefaultTheme.java @@ -8,6 +8,8 @@ import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; +import java.util.Arrays; +import java.util.Comparator; /** * Helper to combine css diveded into separate per component dirs into one to @@ -30,6 +32,11 @@ public class CompileDefaultTheme { .append("/* Automatically compiled css file from subdirectories. */\n"); File[] subdir = f.listFiles(); + Arrays.sort(subdir, new Comparator() { + public int compare(Object arg0, Object arg1) { + return ((File) arg0).compareTo((File) arg1); + } + }); for (int i = 0; i < subdir.length; i++) { File dir = subdir[i]; |