Give credit where due. Depend on latest version of statistics. Be able to start without provided statistics URL.
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 17 Jan 2010 14:37:01 +0100
changeset 220fca206f8e5ef
parent 219 d836818f5554
child 221 2d54f52b82f0
Give credit where due. Depend on latest version of statistics. Be able to start without provided statistics URL.
freemarkerdor/pom.xml
freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java
freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties
freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties
     1.1 --- a/freemarkerdor/pom.xml	Sun Jan 17 14:36:03 2010 +0100
     1.2 +++ b/freemarkerdor/pom.xml	Sun Jan 17 14:37:01 2010 +0100
     1.3 @@ -10,7 +10,7 @@
     1.4    <groupId>cz.xelfi.quoridor</groupId>
     1.5    <artifactId>freemarkerdor</artifactId>
     1.6    <name>freemarkerdor</name>
     1.7 -  <version>1.54</version>
     1.8 +  <version>1.55</version>
     1.9    <url>http://maven.apache.org</url>
    1.10    <dependencies>
    1.11      <dependency>
    1.12 @@ -74,7 +74,7 @@
    1.13      <dependency>
    1.14        <groupId>${project.groupId}</groupId>
    1.15        <artifactId>statistics</artifactId>
    1.16 -      <version>1.3</version>
    1.17 +      <version>1.5</version>
    1.18        <scope>test</scope>
    1.19      </dependency>
    1.20    </dependencies>
     2.1 --- a/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java	Sun Jan 17 14:36:03 2010 +0100
     2.2 +++ b/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java	Sun Jan 17 14:37:01 2010 +0100
     2.3 @@ -478,8 +478,8 @@
     2.4              apiServer = null;
     2.5          }
     2.6  
     2.7 -        if (remoteStatistics == null) {
     2.8 -            throw new IllegalArgumentException("Provide URL to API server"); // NOI18N
     2.9 +        if (remoteStatistics != null) {
    2.10 +            stat = client1.resource(new URI(remoteStatistics));
    2.11          } else {
    2.12              stat = client1.resource(new URI("http://localhost:9444"));
    2.13          }
     3.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties	Sun Jan 17 14:36:03 2010 +0100
     3.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle.properties	Sun Jan 17 14:37:01 2010 +0100
     3.3 @@ -1,6 +1,6 @@
     3.4  TITLE=<a href="http://en.wikipedia.org/wiki/Quoridor">Quoridor</a> On-line
     3.5  TITLE_PLAIN=Quoridor On-line
     3.6 -copyright=<a href="http://en.wikipedia.org/wiki/Quoridor">Quoridor</a> On-line, Version {0}, (c) Jaroslav Tulach 2009
     3.7 +copyright=<a href="http://en.wikipedia.org/wiki/Quoridor">Quoridor</a> On-line, Version {0}, (c) Jaroslav Tulach, Martin Rexa 2009-2010
     3.8  
     3.9  Waiting=Waiting for {0}
    3.10  YourTurn=Your Turn!
     4.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties	Sun Jan 17 14:36:03 2010 +0100
     4.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/Bundle_cs.properties	Sun Jan 17 14:37:01 2010 +0100
     4.3 @@ -1,6 +1,6 @@
     4.4  TITLE=<a href="http://cs.wikipedia.org/wiki/Quoridor">Quoridor</a> pro V\u00E1s
     4.5  TITLE_PLAIN=Quoridor pro V\u00E1s
     4.6 -copyright=<a href="http://cs.wikipedia.org/wiki/Quoridor">Quoridor</a> pro V\u00E1s, Verze {0}, napsal Jaroslav Tulach roku 2009
     4.7 +copyright=<a href="http://cs.wikipedia.org/wiki/Quoridor">Quoridor</a> pro V\u00E1s, Verze {0}, napsal Jaroslav Tulach a Martin Rexa v letech 2009 a 2010
     4.8  
     4.9  
    4.10  Waiting=\u010Cek\u00E1 se na {0}