From 510fd9950a162160f875f45382c4584d00dbf9a7 Mon Sep 17 00:00:00 2001 From: dermetfan Date: Sat, 9 Aug 2014 05:38:15 +0200 Subject: [PATCH] renamed br.lopes.biometrySom to br.lopes.ocrSom --- android/AndroidManifest.xml | 2 +- android/build.gradle | 2 +- .../android/AndroidLauncher.java | 4 ++-- core/src/br/lopes/{biometrySom => ocrSom}/Assets.java | 2 +- core/src/br/lopes/{biometrySom => ocrSom}/OcrSom.java | 10 +++++----- core/src/br/lopes/{biometrySom => ocrSom}/Options.java | 2 +- .../{biometrySom => ocrSom}/images/DownSample.java | 4 ++-- .../lopes/{biometrySom => ocrSom}/images/Letter.java | 2 +- .../br/lopes/{biometrySom => ocrSom}/logic/Logic.java | 6 +++--- .../br/lopes/{biometrySom => ocrSom}/logic/Map.java | 2 +- .../{biometrySom => ocrSom}/logic/WorkerThread.java | 6 +++--- desktop/build.gradle | 2 +- .../desktop/DesktopLauncher.java | 4 ++-- html/build.gradle | 4 ++-- .../{biometrySom => ocrSom}/GdxDefinition.gwt.xml | 4 ++-- .../GdxDefinitionSuperdev.gwt.xml | 4 ++-- .../{biometrySom => ocrSom}/client/HtmlLauncher.java | 4 ++-- 17 files changed, 32 insertions(+), 32 deletions(-) rename android/src/br/lopes/{biometrySom => ocrSom}/android/AndroidLauncher.java (86%) rename core/src/br/lopes/{biometrySom => ocrSom}/Assets.java (92%) rename core/src/br/lopes/{biometrySom => ocrSom}/OcrSom.java (98%) rename core/src/br/lopes/{biometrySom => ocrSom}/Options.java (99%) rename core/src/br/lopes/{biometrySom => ocrSom}/images/DownSample.java (96%) rename core/src/br/lopes/{biometrySom => ocrSom}/images/Letter.java (96%) rename core/src/br/lopes/{biometrySom => ocrSom}/logic/Logic.java (94%) rename core/src/br/lopes/{biometrySom => ocrSom}/logic/Map.java (89%) rename core/src/br/lopes/{biometrySom => ocrSom}/logic/WorkerThread.java (95%) rename desktop/src/br/lopes/{biometrySom => ocrSom}/desktop/DesktopLauncher.java (85%) rename html/src/br/lopes/{biometrySom => ocrSom}/GdxDefinition.gwt.xml (84%) rename html/src/br/lopes/{biometrySom => ocrSom}/GdxDefinitionSuperdev.gwt.xml (88%) rename html/src/br/lopes/{biometrySom => ocrSom}/client/HtmlLauncher.java (84%) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index b43c4cb..281aab6 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -12,7 +12,7 @@ android:label="@string/app_name" android:theme="@style/GdxTheme" > diff --git a/android/build.gradle b/android/build.gradle index 1fa81f7..1ff0cd7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -46,7 +46,7 @@ task copyAndroidNatives() { task run(type: Exec) { def adb = "$System.env.ANDROID_HOME/platform-tools/adb" - commandLine "$adb", 'shell', 'am', 'start', '-n', 'br.lopes.biometrySom.android/br.lopes.biometrySom.android.AndroidLauncher' + commandLine "$adb", 'shell', 'am', 'start', '-n', 'br.lopes.ocrSom.android/br.lopes.ocrSom.android.AndroidLauncher' } // sets up the Android Eclipse project, using the old Ant based build. diff --git a/android/src/br/lopes/biometrySom/android/AndroidLauncher.java b/android/src/br/lopes/ocrSom/android/AndroidLauncher.java similarity index 86% rename from android/src/br/lopes/biometrySom/android/AndroidLauncher.java rename to android/src/br/lopes/ocrSom/android/AndroidLauncher.java index 8c23fc8..c7e038a 100644 --- a/android/src/br/lopes/biometrySom/android/AndroidLauncher.java +++ b/android/src/br/lopes/ocrSom/android/AndroidLauncher.java @@ -1,7 +1,7 @@ -package br.lopes.biometrySom.android; +package br.lopes.ocrSom.android; import android.os.Bundle; -import br.lopes.biometrySom.OcrSom; +import br.lopes.ocrSom.OcrSom; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; diff --git a/core/src/br/lopes/biometrySom/Assets.java b/core/src/br/lopes/ocrSom/Assets.java similarity index 92% rename from core/src/br/lopes/biometrySom/Assets.java rename to core/src/br/lopes/ocrSom/Assets.java index f909f5e..48e66eb 100644 --- a/core/src/br/lopes/biometrySom/Assets.java +++ b/core/src/br/lopes/ocrSom/Assets.java @@ -1,4 +1,4 @@ -package br.lopes.biometrySom; +package br.lopes.ocrSom; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import net.dermetfan.utils.libgdx.AnnotationAssetManager; diff --git a/core/src/br/lopes/biometrySom/OcrSom.java b/core/src/br/lopes/ocrSom/OcrSom.java similarity index 98% rename from core/src/br/lopes/biometrySom/OcrSom.java rename to core/src/br/lopes/ocrSom/OcrSom.java index 3a577c3..028f10b 100644 --- a/core/src/br/lopes/biometrySom/OcrSom.java +++ b/core/src/br/lopes/ocrSom/OcrSom.java @@ -1,9 +1,9 @@ -package br.lopes.biometrySom; +package br.lopes.ocrSom; -import br.lopes.biometrySom.Options.OptionsGUI; -import br.lopes.biometrySom.images.DownSample; -import br.lopes.biometrySom.images.Letter; -import br.lopes.biometrySom.logic.Logic; +import br.lopes.ocrSom.Options.OptionsGUI; +import br.lopes.ocrSom.images.DownSample; +import br.lopes.ocrSom.images.Letter; +import br.lopes.ocrSom.logic.Logic; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; diff --git a/core/src/br/lopes/biometrySom/Options.java b/core/src/br/lopes/ocrSom/Options.java similarity index 99% rename from core/src/br/lopes/biometrySom/Options.java rename to core/src/br/lopes/ocrSom/Options.java index bc3e204..162ab11 100644 --- a/core/src/br/lopes/biometrySom/Options.java +++ b/core/src/br/lopes/ocrSom/Options.java @@ -1,4 +1,4 @@ -package br.lopes.biometrySom; +package br.lopes.ocrSom; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.ui.CheckBox; diff --git a/core/src/br/lopes/biometrySom/images/DownSample.java b/core/src/br/lopes/ocrSom/images/DownSample.java similarity index 96% rename from core/src/br/lopes/biometrySom/images/DownSample.java rename to core/src/br/lopes/ocrSom/images/DownSample.java index dfbeebf..14f3c07 100644 --- a/core/src/br/lopes/biometrySom/images/DownSample.java +++ b/core/src/br/lopes/ocrSom/images/DownSample.java @@ -1,6 +1,6 @@ -package br.lopes.biometrySom.images; +package br.lopes.ocrSom.images; -import br.lopes.biometrySom.Options; +import br.lopes.ocrSom.Options; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Pixmap; diff --git a/core/src/br/lopes/biometrySom/images/Letter.java b/core/src/br/lopes/ocrSom/images/Letter.java similarity index 96% rename from core/src/br/lopes/biometrySom/images/Letter.java rename to core/src/br/lopes/ocrSom/images/Letter.java index c500289..f70906c 100644 --- a/core/src/br/lopes/biometrySom/images/Letter.java +++ b/core/src/br/lopes/ocrSom/images/Letter.java @@ -1,4 +1,4 @@ -package br.lopes.biometrySom.images; +package br.lopes.ocrSom.images; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.utils.Disposable; diff --git a/core/src/br/lopes/biometrySom/logic/Logic.java b/core/src/br/lopes/ocrSom/logic/Logic.java similarity index 94% rename from core/src/br/lopes/biometrySom/logic/Logic.java rename to core/src/br/lopes/ocrSom/logic/Logic.java index da40f95..3074977 100644 --- a/core/src/br/lopes/biometrySom/logic/Logic.java +++ b/core/src/br/lopes/ocrSom/logic/Logic.java @@ -1,9 +1,9 @@ -package br.lopes.biometrySom.logic; +package br.lopes.ocrSom.logic; import java.util.ArrayList; -import br.lopes.biometrySom.OcrSom; -import br.lopes.biometrySom.Options; +import br.lopes.ocrSom.OcrSom; +import br.lopes.ocrSom.Options; import com.heatonresearch.book.jeffheatoncode.som.NormalizeInput; import com.heatonresearch.book.jeffheatoncode.som.SelfOrganizingMap; import com.heatonresearch.book.jeffheatoncode.som.TrainSelfOrganizingMap; diff --git a/core/src/br/lopes/biometrySom/logic/Map.java b/core/src/br/lopes/ocrSom/logic/Map.java similarity index 89% rename from core/src/br/lopes/biometrySom/logic/Map.java rename to core/src/br/lopes/ocrSom/logic/Map.java index 750fff8..a60925c 100644 --- a/core/src/br/lopes/biometrySom/logic/Map.java +++ b/core/src/br/lopes/ocrSom/logic/Map.java @@ -1,4 +1,4 @@ -package br.lopes.biometrySom.logic; +package br.lopes.ocrSom.logic; public class Map { diff --git a/core/src/br/lopes/biometrySom/logic/WorkerThread.java b/core/src/br/lopes/ocrSom/logic/WorkerThread.java similarity index 95% rename from core/src/br/lopes/biometrySom/logic/WorkerThread.java rename to core/src/br/lopes/ocrSom/logic/WorkerThread.java index 67077f0..adfc64d 100644 --- a/core/src/br/lopes/biometrySom/logic/WorkerThread.java +++ b/core/src/br/lopes/ocrSom/logic/WorkerThread.java @@ -1,9 +1,9 @@ -package br.lopes.biometrySom.logic; +package br.lopes.ocrSom.logic; import java.util.ArrayList; -import br.lopes.biometrySom.Options; -import br.lopes.biometrySom.images.Letter; +import br.lopes.ocrSom.Options; +import br.lopes.ocrSom.images.Letter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.utils.Array; diff --git a/desktop/build.gradle b/desktop/build.gradle index 3722eaa..0324c7e 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -3,7 +3,7 @@ apply plugin: "java" sourceCompatibility = 1.6 sourceSets.main.java.srcDirs = [ "src/" ] -project.ext.mainClassName = "br.lopes.biometrySom.desktop.DesktopLauncher" +project.ext.mainClassName = "br.lopes.ocrSom.desktop.DesktopLauncher" project.ext.assetsDir = new File("../android/assets"); task run(dependsOn: classes, type: JavaExec) { diff --git a/desktop/src/br/lopes/biometrySom/desktop/DesktopLauncher.java b/desktop/src/br/lopes/ocrSom/desktop/DesktopLauncher.java similarity index 85% rename from desktop/src/br/lopes/biometrySom/desktop/DesktopLauncher.java rename to desktop/src/br/lopes/ocrSom/desktop/DesktopLauncher.java index 6d8be3d..e103361 100644 --- a/desktop/src/br/lopes/biometrySom/desktop/DesktopLauncher.java +++ b/desktop/src/br/lopes/ocrSom/desktop/DesktopLauncher.java @@ -1,6 +1,6 @@ -package br.lopes.biometrySom.desktop; +package br.lopes.ocrSom.desktop; -import br.lopes.biometrySom.OcrSom; +import br.lopes.ocrSom.OcrSom; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; diff --git a/html/build.gradle b/html/build.gradle index 7fb68c7..9621da9 100644 --- a/html/build.gradle +++ b/html/build.gradle @@ -7,8 +7,8 @@ gwt { minHeapSize="1G" src = files(file("src/")) // Needs to be in front of "modules" below. - modules 'br.lopes.biometrySom.GdxDefinition' - devModules 'br.lopes.biometrySom.GdxDefinitionSuperdev' + modules 'br.lopes.ocrSom.GdxDefinition' + devModules 'br.lopes.ocrSom.GdxDefinitionSuperdev' project.webAppDirName = 'webapp' compiler { diff --git a/html/src/br/lopes/biometrySom/GdxDefinition.gwt.xml b/html/src/br/lopes/ocrSom/GdxDefinition.gwt.xml similarity index 84% rename from html/src/br/lopes/biometrySom/GdxDefinition.gwt.xml rename to html/src/br/lopes/ocrSom/GdxDefinition.gwt.xml index 306fc83..dde78dc 100644 --- a/html/src/br/lopes/biometrySom/GdxDefinition.gwt.xml +++ b/html/src/br/lopes/ocrSom/GdxDefinition.gwt.xml @@ -1,10 +1,10 @@ - + - + diff --git a/html/src/br/lopes/biometrySom/GdxDefinitionSuperdev.gwt.xml b/html/src/br/lopes/ocrSom/GdxDefinitionSuperdev.gwt.xml similarity index 88% rename from html/src/br/lopes/biometrySom/GdxDefinitionSuperdev.gwt.xml rename to html/src/br/lopes/ocrSom/GdxDefinitionSuperdev.gwt.xml index a0adb1e..364d08a 100644 --- a/html/src/br/lopes/biometrySom/GdxDefinitionSuperdev.gwt.xml +++ b/html/src/br/lopes/ocrSom/GdxDefinitionSuperdev.gwt.xml @@ -1,10 +1,10 @@ - + - + diff --git a/html/src/br/lopes/biometrySom/client/HtmlLauncher.java b/html/src/br/lopes/ocrSom/client/HtmlLauncher.java similarity index 84% rename from html/src/br/lopes/biometrySom/client/HtmlLauncher.java rename to html/src/br/lopes/ocrSom/client/HtmlLauncher.java index 487d184..f40f4a3 100644 --- a/html/src/br/lopes/biometrySom/client/HtmlLauncher.java +++ b/html/src/br/lopes/ocrSom/client/HtmlLauncher.java @@ -1,9 +1,9 @@ -package br.lopes.biometrySom.client; +package br.lopes.ocrSom.client; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.backends.gwt.GwtApplication; import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; -import br.lopes.biometrySom.BiometrySom; +import br.lopes.ocrSom.BiometrySom; public class HtmlLauncher extends GwtApplication {