← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1055: Added resource editor util files.

 

------------------------------------------------------------
revno: 1055
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Thu 2009-11-19 12:04:10 +0100
message:
  Added resource editor util files.
added:
  tools/dhis-i18n-resourceeditor/util/
  tools/dhis-i18n-resourceeditor/util/launch4j/
  tools/dhis-i18n-resourceeditor/util/launch4j/dhis-i18n-resourceeditor.xml
  tools/dhis-i18n-resourceeditor/util/launch4j/favicon.ico
  tools/dhis-i18n-resourceeditor/util/script/
  tools/dhis-i18n-resourceeditor/util/script/startup.sh
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dimension/DefaultDimensionService.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dimension/DefaultDimensionService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dimension/DefaultDimensionService.java	2009-11-18 15:19:26 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dimension/DefaultDimensionService.java	2009-11-19 11:04:10 +0000
@@ -49,9 +49,8 @@
 public class DefaultDimensionService
     implements DimensionService
 {
-    final String SEPARATOR_TYPE = "_";
-    final String SEPARATOR_ID = "-";
-    final String SEPARATOR_NAME = ", ";
+    private static final String SEPARATOR_TYPE = "_";
+    private static final String SEPARATOR_ID = "-";
     
     // -------------------------------------------------------------------------
     // Dependencies

=== added directory 'tools/dhis-i18n-resourceeditor/util'
=== added directory 'tools/dhis-i18n-resourceeditor/util/launch4j'
=== added file 'tools/dhis-i18n-resourceeditor/util/launch4j/dhis-i18n-resourceeditor.xml'
--- tools/dhis-i18n-resourceeditor/util/launch4j/dhis-i18n-resourceeditor.xml	1970-01-01 00:00:00 +0000
+++ tools/dhis-i18n-resourceeditor/util/launch4j/dhis-i18n-resourceeditor.xml	2009-11-19 11:04:10 +0000
@@ -0,0 +1,22 @@
+<launch4jConfig>
+  <dontWrapJar>true</dontWrapJar>
+  <headerType>gui</headerType>
+  <jar>dhis-i18n-resourceeditor.jar</jar>
+  <outfile>dhis-i18n-resourceeditor.exe</outfile>
+  <errTitle></errTitle>
+  <cmdLine></cmdLine>
+  <chdir></chdir>
+  <priority>normal</priority>
+  <downloadUrl>http://java.com/download</downloadUrl>
+  <supportUrl></supportUrl>
+  <customProcName>false</customProcName>
+  <stayAlive>false</stayAlive>
+  <manifest></manifest>
+  <icon>favicon.ico</icon>
+  <jre>
+    <path></path>
+    <minVersion>1.6.0</minVersion>
+    <maxVersion></maxVersion>
+    <jdkPreference>preferJre</jdkPreference>
+  </jre>
+</launch4jConfig>
\ No newline at end of file

=== added file 'tools/dhis-i18n-resourceeditor/util/launch4j/favicon.ico'
Binary files tools/dhis-i18n-resourceeditor/util/launch4j/favicon.ico	1970-01-01 00:00:00 +0000 and tools/dhis-i18n-resourceeditor/util/launch4j/favicon.ico	2009-11-19 11:04:10 +0000 differ
=== added directory 'tools/dhis-i18n-resourceeditor/util/script'
=== added file 'tools/dhis-i18n-resourceeditor/util/script/startup.sh'
--- tools/dhis-i18n-resourceeditor/util/script/startup.sh	1970-01-01 00:00:00 +0000
+++ tools/dhis-i18n-resourceeditor/util/script/startup.sh	2009-11-19 11:04:10 +0000
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo "Starting I18n Resource Editor..."
+java -jar dhis-i18n-resourceeditor.jar