Browse Source

Added maven support for easier dependency management.

nolocaltime
Maribel D 11 years ago
parent
commit
23289ccd8c
  1. 3
      .idea/compiler.xml
  2. 13
      .idea/libraries/Maven__com_google_android_android_2_3_3.xml
  3. 13
      .idea/libraries/Maven__com_google_android_android_test_2_3_3.xml
  4. 13
      .idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1.xml
  5. 13
      .idea/libraries/Maven__com_jayway_android_robotium_robotium_solo_3_1.xml
  6. 13
      .idea/libraries/Maven__commons_codec_commons_codec_1_3.xml
  7. 13
      .idea/libraries/Maven__commons_logging_commons_logging_1_1_1.xml
  8. 13
      .idea/libraries/Maven__junit_junit_4_8_1.xml
  9. 13
      .idea/libraries/Maven__oauth_signpost_signpost_commonshttp4_1_2_1_1.xml
  10. 13
      .idea/libraries/Maven__oauth_signpost_signpost_core_1_2_1_1.xml
  11. 13
      .idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_0_1.xml
  12. 13
      .idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_0_1.xml
  13. 13
      .idea/libraries/Maven__org_apache_httpcomponents_httpmime_4_0_3.xml
  14. 13
      .idea/libraries/Maven__org_apache_james_apache_mime4j_0_6_1.xml
  15. 13
      .idea/libraries/Maven__org_json_json_20080701.xml
  16. 13
      .idea/libraries/Maven__org_khronos_opengl_api_gl1_1_android_2_1_r1.xml
  17. 9
      .idea/libraries/Maven__system_local_activation_1_0.xml
  18. 9
      .idea/libraries/Maven__system_local_additionnal_1_0.xml
  19. 9
      .idea/libraries/Maven__system_local_dropbox_android_sdk_1_0.xml
  20. 9
      .idea/libraries/Maven__system_local_mail_1_0.xml
  21. 13
      .idea/libraries/Maven__xerces_xmlParserAPIs_2_6_2.xml
  22. 13
      .idea/libraries/Maven__xpp3_xpp3_1_1_4c.xml
  23. 11
      .idea/libraries/libs.xml
  24. 54
      .idea/misc.xml
  25. 1
      .idea/modules.xml
  26. 33
      GPSLogger/GPSLogger.iml
  27. BIN
      GPSLogger/libs/apache-mime4j-0.6.1.jar
  28. BIN
      GPSLogger/libs/httpmime-4.0.3.jar
  29. BIN
      GPSLogger/libs/json_simple-1.1.jar
  30. BIN
      GPSLogger/libs/signpost-commonshttp4-1.2.1.1.jar
  31. BIN
      GPSLogger/libs/signpost-core-1.2.1.1.jar
  32. 206
      GPSLogger/pom.xml
  33. 13
      gpslogger-parent.iml
  34. 32
      pom.xml
  35. 46
      tests/build.xml
  36. 177
      tests/pom.xml
  37. 1
      tests/project.properties
  38. 68
      tests/tests.iml

3
.idea/compiler.xml

@ -17,5 +17,8 @@
</wildcardResourcePatterns>
<annotationProcessing enabled="false" useClasspath="true" />
</component>
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_STRING" value="-target 1.6" />
</component>
</project>

13
.idea/libraries/Maven__com_google_android_android_2_3_3.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.android:android:2.3.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/android/2.3.3/android-2.3.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/android/2.3.3/android-2.3.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/android/2.3.3/android-2.3.3-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__com_google_android_android_test_2_3_3.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.android:android-test:2.3.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/android-test/2.3.3/android-test-2.3.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/android-test/2.3.3/android-test-2.3.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/android-test/2.3.3/android-test-2.3.3-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.googlecode.json-simple:json-simple:1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__com_jayway_android_robotium_robotium_solo_3_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.jayway.android.robotium:robotium-solo:3.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/jayway/android/robotium/robotium-solo/3.1/robotium-solo-3.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/jayway/android/robotium/robotium-solo/3.1/robotium-solo-3.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/jayway/android/robotium/robotium-solo/3.1/robotium-solo-3.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__commons_codec_commons_codec_1_3.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: commons-codec:commons-codec:1.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.3/commons-codec-1.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.3/commons-codec-1.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.3/commons-codec-1.3-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__commons_logging_commons_logging_1_1_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: commons-logging:commons-logging:1.1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__junit_junit_4_8_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: junit:junit:4.8.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.8.1/junit-4.8.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.8.1/junit-4.8.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.8.1/junit-4.8.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__oauth_signpost_signpost_commonshttp4_1_2_1_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: oauth.signpost:signpost-commonshttp4:1.2.1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/oauth/signpost/signpost-commonshttp4/1.2.1.1/signpost-commonshttp4-1.2.1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/oauth/signpost/signpost-commonshttp4/1.2.1.1/signpost-commonshttp4-1.2.1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/oauth/signpost/signpost-commonshttp4/1.2.1.1/signpost-commonshttp4-1.2.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__oauth_signpost_signpost_core_1_2_1_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: oauth.signpost:signpost-core:1.2.1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/oauth/signpost/signpost-core/1.2.1.1/signpost-core-1.2.1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/oauth/signpost/signpost-core/1.2.1.1/signpost-core-1.2.1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/oauth/signpost/signpost-core/1.2.1.1/signpost-core-1.2.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_0_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.httpcomponents:httpclient:4.0.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_0_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.httpcomponents:httpcore:4.0.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__org_apache_httpcomponents_httpmime_4_0_3.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.httpcomponents:httpmime:4.0.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpmime/4.0.3/httpmime-4.0.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpmime/4.0.3/httpmime-4.0.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpmime/4.0.3/httpmime-4.0.3-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__org_apache_james_apache_mime4j_0_6_1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.james:apache-mime4j:0.6.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/james/apache-mime4j/0.6.1/apache-mime4j-0.6.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/james/apache-mime4j/0.6.1/apache-mime4j-0.6.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/james/apache-mime4j/0.6.1/apache-mime4j-0.6.1-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__org_json_json_20080701.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.json:json:20080701">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/json/json/20080701/json-20080701.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/json/json/20080701/json-20080701-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/json/json/20080701/json-20080701-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__org_khronos_opengl_api_gl1_1_android_2_1_r1.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.khronos:opengl-api:gl1.1-android-2.1_r1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/khronos/opengl-api/gl1.1-android-2.1_r1/opengl-api-gl1.1-android-2.1_r1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/khronos/opengl-api/gl1.1-android-2.1_r1/opengl-api-gl1.1-android-2.1_r1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/khronos/opengl-api/gl1.1-android-2.1_r1/opengl-api-gl1.1-android-2.1_r1-sources.jar!/" />
</SOURCES>
</library>
</component>

9
.idea/libraries/Maven__system_local_activation_1_0.xml

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Maven: system.local:activation:1.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/GPSLogger/libs/activation.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

9
.idea/libraries/Maven__system_local_additionnal_1_0.xml

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Maven: system.local:additionnal:1.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/GPSLogger/libs/additionnal.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

9
.idea/libraries/Maven__system_local_dropbox_android_sdk_1_0.xml

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Maven: system.local:dropbox-android-sdk:1.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/GPSLogger/libs/dropbox-android-sdk.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

9
.idea/libraries/Maven__system_local_mail_1_0.xml

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Maven: system.local:mail:1.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/GPSLogger/libs/mail.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

13
.idea/libraries/Maven__xerces_xmlParserAPIs_2_6_2.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: xerces:xmlParserAPIs:2.6.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2-sources.jar!/" />
</SOURCES>
</library>
</component>

13
.idea/libraries/Maven__xpp3_xpp3_1_1_4c.xml

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: xpp3:xpp3:1.1.4c">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3/1.1.4c/xpp3-1.1.4c-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3/1.1.4c/xpp3-1.1.4c-sources.jar!/" />
</SOURCES>
</library>
</component>

11
.idea/libraries/libs.xml

@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="libs">
<CLASSES>
<root url="file://$PROJECT_DIR$/GPSLogger/libs" />
<root url="file://$PROJECT_DIR$/GPSLogger/libs" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/GPSLogger/libs" recursive="false" />
</library>
</component>

54
.idea/misc.xml

@ -1,8 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DependencyValidationManager">
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
</component>
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="FacetAutodetectingManager">
<autodetection-disabled>
<facet-type id="android">
<modules>
<module name="tests" />
</modules>
</facet-type>
</autodetection-disabled>
</component>
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY" />
<option name="OPTION_SCOPE" value="protected" />
<option name="OPTION_HIERARCHY" value="true" />
<option name="OPTION_NAVIGATOR" value="true" />
<option name="OPTION_INDEX" value="true" />
<option name="OPTION_SEPARATE_INDEX" value="true" />
<option name="OPTION_DOCUMENT_TAG_USE" value="false" />
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
<option name="OPTION_DEPRECATED_LIST" value="true" />
<option name="OTHER_OPTIONS" value="" />
<option name="HEAP_SIZE" />
<option name="LOCALE" />
<option name="OPEN_IN_BROWSER" value="true" />
</component>
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="org.jetbrains.annotations.Nullable" />
<option name="myDefaultNotNull" value="org.jetbrains.annotations.NotNull" />
<option name="myNullables">
<value>
<list size="0" />
</value>
</option>
<option name="myNotNulls">
<value>
<list size="3">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectResources">
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
</component>

1
.idea/modules.xml

@ -3,6 +3,7 @@
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/GPSLogger/GPSLogger.iml" filepath="$PROJECT_DIR$/GPSLogger/GPSLogger.iml" />
<module fileurl="file://$PROJECT_DIR$/gpslogger-parent.iml" filepath="$PROJECT_DIR$/gpslogger-parent.iml" />
<module fileurl="file://$PROJECT_DIR$/tests/tests.iml" filepath="$PROJECT_DIR$/tests/tests.iml" />
</modules>
</component>

33
GPSLogger/GPSLogger.iml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="ANDROID_MODULE" version="4">
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration>
@ -19,19 +19,38 @@
<option name="LIBRARY_PROJECT" value="false" />
<option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
<option name="GENERATE_UNSIGNED_APK" value="false" />
<option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/r" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="Android 2.2 Platform" jdkType="Android SDK" />
<orderEntry type="jdk" jdkName="Android 2.3.3 Google APIs" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="libs" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.android:android:2.3.3" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.httpcomponents:httpclient:4.0.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.httpcomponents:httpcore:4.0.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-codec:commons-codec:1.3" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.khronos:opengl-api:gl1.1-android-2.1_r1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: xerces:xmlParserAPIs:2.6.2" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: xpp3:xpp3:1.1.4c" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.json:json:20080701" level="project" />
<orderEntry type="library" name="Maven: system.local:additionnal:1.0" level="project" />
<orderEntry type="library" name="Maven: system.local:activation:1.0" level="project" />
<orderEntry type="library" name="Maven: system.local:mail:1.0" level="project" />
<orderEntry type="library" name="Maven: system.local:dropbox-android-sdk:1.0" level="project" />
<orderEntry type="library" name="Maven: com.googlecode.json-simple:json-simple:1.1" level="project" />
<orderEntry type="library" name="Maven: oauth.signpost:signpost-core:1.2.1.1" level="project" />
<orderEntry type="library" name="Maven: oauth.signpost:signpost-commonshttp4:1.2.1.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.james:apache-mime4j:0.6.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.0.3" level="project" />
</component>
</module>

BIN
GPSLogger/libs/apache-mime4j-0.6.1.jar

Binary file not shown.

BIN
GPSLogger/libs/httpmime-4.0.3.jar

Binary file not shown.

BIN
GPSLogger/libs/json_simple-1.1.jar

Binary file not shown.

BIN
GPSLogger/libs/signpost-commonshttp4-1.2.1.1.jar

Binary file not shown.

BIN
GPSLogger/libs/signpost-core-1.2.1.1.jar

Binary file not shown.

206
GPSLogger/pom.xml

@ -0,0 +1,206 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>com.mendhak.gpslogger</groupId>
<artifactId>gpslogger-parent</artifactId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mendhak.gpslogger</groupId>
<artifactId>gpslogger</artifactId>
<packaging>apk</packaging>
<name>GPS Logger Android Application</name>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
</dependency>
<dependency>
<groupId>system.local</groupId>
<artifactId>additionnal</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/additionnal.jar</systemPath>
</dependency>
<dependency>
<groupId>system.local</groupId>
<artifactId>activation</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/activation.jar</systemPath>
</dependency>
<dependency>
<groupId>system.local</groupId>
<artifactId>mail</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/mail.jar</systemPath>
</dependency>
<dependency>
<groupId>system.local</groupId>
<artifactId>dropbox-android-sdk</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/dropbox-android-sdk.jar</systemPath>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
<!--
http://groups.google.com/group/google-api-java-client/browse_thread/thread/846385a1cbabfaf4/fe71c6036e5775b6?show_docid=fe71c6036e5775b6
-->
<!--<dependency>-->
<!--<groupId>com.google.api.client</groupId>-->
<!--<artifactId>google-api-client</artifactId>-->
<!--<version>1.4.1-beta</version>-->
<!--<exclusions>-->
<!--<exclusion>-->
<!--<groupId>com.google.code.findbugs</groupId>-->
<!--<artifactId>jsr305</artifactId>-->
<!--</exclusion>-->
<!--<exclusion>-->
<!--<groupId>com.google.code.gson</groupId>-->
<!--<artifactId>gson</artifactId>-->
<!--</exclusion>-->
<!--<exclusion>-->
<!--<groupId>junit</groupId>-->
<!--<artifactId>junit</artifactId>-->
<!--</exclusion>-->
<!--<exclusion>-->
<!--<groupId>org.apache.httpcomponents</groupId>-->
<!--<artifactId>httpclient</artifactId>-->
<!--</exclusion>-->
<!--<exclusion>-->
<!--<groupId>org.codehaus.jackson</groupId>-->
<!--<artifactId>jackson-core-asl</artifactId>-->
<!--</exclusion>-->
<!--<exclusion>-->
<!--<groupId>xpp3</groupId>-->
<!--<artifactId>xpp3</artifactId>-->
<!--</exclusion>-->
<!--</exclusions>-->
<!--</dependency>-->
<dependency>
<groupId>oauth.signpost</groupId>
<artifactId>signpost-core</artifactId>
<version>1.2.1.1</version>
<exclusions>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>oauth.signpost</groupId>
<artifactId>signpost-commonshttp4</artifactId>
<version>1.2.1.1</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>apache-mime4j</artifactId>
<version>0.6.1</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.0.3</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
<resourceDirectory>${project.basedir}/res</resourceDirectory>
<!--<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>-->
<!--<nativeLibrariesDirectory>${project.basedir}/libs</nativeLibrariesDirectory>-->
<sdk>
<platform>11</platform>
</sdk>
<runDebug>true</runDebug>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
<dex>
<jvmArguments>
<jvmArgument>-Xmx1024m</jvmArgument>
</jvmArguments>
</dex>
</configuration>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

13
gpslogger-parent.iml

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

32
pom.xml

@ -0,0 +1,32 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mendhak.gpslogger</groupId>
<artifactId>gpslogger-parent</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>GPS Logger Project</name>
<modules>
<module>GPSLogger</module>
<module>tests</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>2.3.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android-test</artifactId>
<scope>provided</scope>
<version>2.3.3</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>

46
tests/build.xml

@ -48,7 +48,7 @@
<!-- http://ant-contrib.sourceforge.net/ -->
<!-- This allows tasks like 'for' and 'if' -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<!--
@ -84,14 +84,48 @@
<property name="emulatorPath" value="${sdk.dir}/tools/emulator"/>
<property name="adbPath" value="${sdk.dir}/platform-tools/adb"/>
<property name="emulatorName" value="Android2Level5"/>
<property name="testApkPath" value="/home/mendhak/Code/gpslogger/out/production/tests/tests.apk"/>
<property name="gpsloggerApkPath" value="/home/mendhak/Code/gpslogger/out/production/GPSLogger/GPSLogger.apk"/>
<property name="testNamesFile" value="testNames.txt" />
<property name="testApkPath" location="${gpsloggertestapk}"/>
<property name="gpsloggerApkPath" location="${gpsloggerapk}"/>
<taskdef resource="net/sf/antcontrib/antlib.xml" classpath="${lib.dir}/ant-contrib-1.0b3.jar"></taskdef>
<target name="EchoTest" >
<echo message="Testing GPSLogger APK ${gpsloggerapk}" />
<echo message="Testing APK ${gpsloggertestapk}" />
<if>
<available file="${gpsloggerapk}"/>
<then><echo>GPSLogger APK exists</echo></then>
<else><echo>GPSLogger APK MISSING!</echo></else>
</if>
<if>
<available file="${gpsloggertestapk}"/>
<then><echo>Tests APK exists</echo></then>
<else><echo>Tests APK MISSING!</echo></else>
</if>
</target>
<target name="SampleExecute">
<antcall target="ExecuteSingleTest">
<param name="testName" value="com.mendhak.gpslogger.GpsMainContinuity"/>
</antcall>
</target>
<!-- Pre build setup -->
<target name="RobotiumTests" >
<echo message="Testing APK ${testApkPath}" />
<echo message="GPSLogger APK ${gpsloggerApkPath}" />
<!--<echo message="compile classpath: ${compile_classpath}"/>-->
<!--<echo message="runtime classpath: ${runtime_classpath}"/>-->
<!--<echo message="test classpath: ${test_classpath}"/>-->
<!--<echo message="plugin classpath: ${plugin_classpath}"/>-->
<parallel>
<sequential>
<echo>Launching emulator</echo>
@ -109,7 +143,7 @@
<sleep seconds="30"/>
<sleep seconds="40"/>
<exec executable="${adbPath}"
description="Check if boot is complete" outputproperty="isBootComplete">
<arg value="-e"/>
@ -121,7 +155,7 @@
<echo message="Is Boot Complete? ${isBootComplete}"/>
<if>
<equals arg1="${isBootComplete}" arg2="1" />
<isset property="isBootComplete" />
<then>
<echo>Unlocking screen</echo>
<exec executable="${adbPath}"
@ -163,7 +197,7 @@
<loadfile property="file-content" srcFile="${testNamesFile}"/>
<foreach list="${file-content}" delimiter="${line.separator}"
param="testName" target="ExecuteSingleTest"/>
param="testName" target="ExecuteSingleTest" inheritall="true" inheritrefs="true" />
</try>

177
tests/pom.xml

@ -0,0 +1,177 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>com.mendhak.gpslogger</groupId>
<artifactId>gpslogger-parent</artifactId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mendhak.gpslogger</groupId>
<artifactId>tests</artifactId>
<packaging>apk</packaging>
<name>GPS Logger Instrumentation</name>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android-test</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.mendhak.gpslogger</groupId>
<artifactId>gpslogger</artifactId>
<version>${project.version}</version>
<type>apk</type>
</dependency>
<dependency>
<groupId>com.mendhak.gpslogger</groupId>
<artifactId>gpslogger</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.jayway.android.robotium</groupId>
<artifactId>robotium-solo</artifactId>
<version>3.1</version>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<device>emulator</device>
<sdk>
<platform>11</platform>
</sdk>
<emulator>
<avd>Android2Level5</avd>
<wait>10000</wait>
<!--<options>-no-skin</options>-->
</emulator>
<zipalign>
<verbose>true</verbose>
</zipalign>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
<test>
<!--<skip>true|false|auto</skip>-->
<!--<instrumentationPackage>packageName</instrumentationPackage>--> `
<!--<instrumentationRunner>className</instrumentationRunner>-->
<!--<debug>true|false</debug>-->
<!--<coverage>true|false</coverage>-->
<!--<logonly>true|false</logonly> avd-->
<!--<testsize>small|medium|large</testsize>-->
<createReport>true</createReport>
<!--<classes>-->
<!--<class>your.package.name.YourTestClass</class>-->
<!--</classes>-->
<!--<packages>-->
<!--<package>your.package.name</package>-->
<!--</packages>-->
</test>
</configuration>
<extensions>true</extensions>
<executions>
<!-- android plugin execution that starts the emulator. -->
<execution>
<id>startemulator</id>
<!-- bound to the 'initialize' phase -->
<phase>initialize</phase>
<goals>
<goal>emulator-start</goal>
</goals>
</execution>
</executions>
</plugin>
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-antrun-plugin</artifactId>-->
<!--<version>1.7</version>-->
<!--<executions>-->
<!--<execution>-->
<!--<id>test</id>-->
<!--<phase>test</phase>-->
<!--<goals>-->
<!--<goal>run</goal>-->
<!--</goals>-->
<!--<configuration>-->
<!--<target>-->
<!--<property name="maven.project.url" value="${project.url}"/>-->
<!--<property name="runtime-classpath" refid="maven.runtime.classpath"/>-->
<!--<echo>Setting variables...</echo>-->
<!--</target>-->
<!--&lt;!&ndash;-->
<!--Place any Ant task here. You can add anything-->
<!--you can add between <target> and </target> in a-->
<!--build.xml.-->
<!--&ndash;&gt;-->
<!--</configuration>-->
<!--</execution>-->
<!--</executions>-->
<!--<configuration>-->
<!--<target>-->
<!--<property name="compile_classpath" refid="maven.compile.classpath"/>-->
<!--<property name="runtime_classpath" refid="maven.runtime.classpath"/>-->
<!--<property name="test_classpath" refid="maven.test.classpath"/>-->
<!--<property name="plugin_classpath" refid="maven.plugin.classpath"/>-->
<!--<property name="test_basedir" value="${project.basedir}"/>-->
<!--<property name="gpsloggerapk" value="${project.basedir}/../GPSLogger/target/gpslogger-${project.version}.apk"/>-->
<!--<property name="gpsloggertestapk" value="${project.basedir}/target/tests.apk"/>-->
<!--<property name="lib.dir" value="${project.basedir}/libs/" />-->
<!--&lt;!&ndash;<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>&ndash;&gt;-->
<!--&lt;!&ndash;<ant target="RobotiumTests" />&ndash;&gt;-->
<!--<ant target="EchoTest" />-->
<!--</target>-->
<!--</configuration>-->
<!--<dependencies>-->
<!--<dependency>-->
<!--<groupId>system.local</groupId>-->
<!--<artifactId>ant-contrib-1.0b3</artifactId>-->
<!--<version>1.0</version>-->
<!--<scope>system</scope>-->
<!--<systemPath>${project.basedir}/libs/ant-contrib-1.0b3.jar</systemPath>-->
<!--</dependency>-->
<!--</dependencies>-->
<!--</plugin>-->
</plugins>
</build>
</project>

1
tests/project.properties

@ -9,3 +9,4 @@
# Project target.
target=android-8
project.root=

68
tests/tests.iml

@ -1,49 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="ANDROID_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration>
<option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" />
<option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
<option name="REGENERATE_R_JAVA" value="true" />
<option name="REGENERATE_JAVA_BY_AIDL" value="true" />
<option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
<option name="CUSTOM_APK_RESOURCE_FOLDER" value="" />
<option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" />
<option name="CUSTOM_COMPILER_MANIFEST" value="" />
<option name="APK_PATH" value="" />
<option name="LIBRARY_PROJECT" value="false" />
<option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
<option name="GENERATE_UNSIGNED_APK" value="false" />
<option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/r" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="Android 2.2 Platform" jdkType="Android SDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.android:android:2.3.3" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.httpcomponents:httpclient:4.0.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.httpcomponents:httpcore:4.0.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-codec:commons-codec:1.3" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.khronos:opengl-api:gl1.1-android-2.1_r1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: xerces:xmlParserAPIs:2.6.2" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: xpp3:xpp3:1.1.4c" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.json:json:20080701" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.android:android-test:2.3.3" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: junit:junit:4.8.1" level="project" />
<orderEntry type="library" name="Maven: system.local:additionnal:1.0" level="project" />
<orderEntry type="library" name="Maven: system.local:activation:1.0" level="project" />
<orderEntry type="library" name="Maven: system.local:mail:1.0" level="project" />
<orderEntry type="library" name="Maven: system.local:dropbox-android-sdk:1.0" level="project" />
<orderEntry type="library" name="Maven: com.googlecode.json-simple:json-simple:1.1" level="project" />
<orderEntry type="library" name="Maven: oauth.signpost:signpost-core:1.2.1.1" level="project" />
<orderEntry type="library" name="Maven: oauth.signpost:signpost-commonshttp4:1.2.1.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.james:apache-mime4j:0.6.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.0.3" level="project" />
<orderEntry type="module" module-name="GPSLogger" scope="PROVIDED" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/libs/robotium-solo-3.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<javadoc-paths>
<root url="jar://$MODULE_DIR$/libs/robotium-solo-3.1-javadoc.jar!/" />
</javadoc-paths>
<orderEntry type="library" name="Maven: com.jayway.android.robotium:robotium-solo:3.1" level="project" />
</component>
</module>

Loading…
Cancel
Save