# HG changeset patch # User Jaroslav Tulach # Date 1263735421 -3600 # Node ID fca206f8e5efcecb86704df68697a725f8396c76 # Parent d836818f5554b1811fd723af4f7b335e8c8c1f8f Give credit where due. Depend on latest version of statistics. Be able to start without provided statistics URL. diff -r d836818f5554 -r fca206f8e5ef freemarkerdor/pom.xml --- a/freemarkerdor/pom.xml Sun Jan 17 14:36:03 2010 +0100 +++ b/freemarkerdor/pom.xml Sun Jan 17 14:37:01 2010 +0100 @@ -10,7 +10,7 @@ cz.xelfi.quoridor freemarkerdor freemarkerdor - 1.54 + 1.55 http://maven.apache.org @@ -74,7 +74,7 @@ ${project.groupId} statistics - 1.3 + 1.5 test diff -r d836818f5554 -r fca206f8e5ef freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java --- a/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Sun Jan 17 14:36:03 2010 +0100 +++ b/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Sun Jan 17 14:37:01 2010 +0100 @@ -478,8 +478,8 @@ apiServer = null; } - if (remoteStatistics == null) { - throw new IllegalArgumentException("Provide URL to API server"); // NOI18N + if (remoteStatistics != null) { + stat = client1.resource(new URI(remoteStatistics)); } else { stat = client1.resource(new URI("http://localhost:9444")); } diff -r d836818f5554 -r fca206f8e5ef freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties Sun Jan 17 14:36:03 2010 +0100 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties Sun Jan 17 14:37:01 2010 +0100 @@ -1,6 +1,6 @@ TITLE=Quoridor On-line TITLE_PLAIN=Quoridor On-line -copyright=Quoridor On-line, Version {0}, (c) Jaroslav Tulach 2009 +copyright=Quoridor On-line, Version {0}, (c) Jaroslav Tulach, Martin Rexa 2009-2010 Waiting=Waiting for {0} YourTurn=Your Turn! diff -r d836818f5554 -r fca206f8e5ef freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties Sun Jan 17 14:36:03 2010 +0100 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties Sun Jan 17 14:37:01 2010 +0100 @@ -1,6 +1,6 @@ TITLE=Quoridor pro V\u00E1s TITLE_PLAIN=Quoridor pro V\u00E1s -copyright=Quoridor pro V\u00E1s, Verze {0}, napsal Jaroslav Tulach roku 2009 +copyright=Quoridor pro V\u00E1s, Verze {0}, napsal Jaroslav Tulach a Martin Rexa v letech 2009 a 2010 Waiting=\u010Cek\u00E1 se na {0}