Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: maven-android-…
Commits on Sep 7, 2011
  1. @hugojosefson
  2. @mosabua
  3. @mosabua
  4. @mosabua
  5. @mosabua

    fixed so stopping of actual device is not attempted

    mosabua authored
    used same device helper for logging as in integration tests
  6. @bryanoneil
  7. @bryanoneil

    Altered the stop emulator command so that it works on windows. Copied…

    bryanoneil authored
    … the
    
    Hudson plugin in approach. The commands given below work for me to create
    and stop emulators. I also added a new command that stops all attached
    devices as well.
    
    Start An Emulator
    mvn
    com.jayway.maven.plugins.android.generation2:maven-android-plugin:emulator-start
    -Dandroid.emulator.avd=TestDevice-2.1 -Dandroid.emulator.wait=60000
    -Dandroid.emulator.options="-port 5556"
    
    Stop a single emulator
    
    mvn
    com.jayway.maven.plugins.android.generation2:maven-android-plugin:emulator-stop
    -Dandroid.emulator.avd=TestDevice-2.1
    
    Stop all attached emulators
    
    mvn
    com.jayway.maven.plugins.android.generation2:maven-android-plugin:emulator-stop-all
  8. @bryanoneil
Commits on Sep 6, 2011
  1. @mosabua
  2. @hugojosefson

    Change to LF line-endings.

    hugojosefson authored
    For reference, changing to LF can be done with this oneliner:
    
    find . -type f -not -path ./.git/\*\* -exec flip -u {} \;
  3. @mosabua

    Merge pull request #52 from nicstrong/manifestupdate-mojo

    mosabua authored
    Added the Manifest Update Mojo merging with existing Version update mojo.
  4. @mosabua

    Merge pull request #59 from hilti/master

    mosabua authored
    Added fix for issue 189
  5. @hilti

    patch for issue 189

    hilti authored
Commits on Sep 5, 2011
  1. @nicstrong

    Merged the VersionUpdateMojo into the ManifestUpdateMojo and updated …

    nicstrong authored
    …the existing version-tests to manifest-tests including tests for the new functionality
  2. @nicstrong
Commits on Sep 2, 2011
  1. @mosabua

    Merge pull request #58 from mosabua/deploylogging

    mosabua authored
    consistent output for test report and logging identifying device with ser
  2. @mosabua

    consistent output for test report and logging identifying device with…

    mosabua authored
    … serial number, avdname, manufacturer and model
    
    support for avdname and emulator-xxxx for android.device parameter
Commits on Aug 30, 2011
  1. @hugojosefson
  2. @hugojosefson
  3. @mosabua

    Merge pull request #56 from lvillani/no-optimize

    mosabua authored
    Make it possible to pass --no-optimize to dx.
  4. @lvillani
  5. @hugojosefson
  6. @hugojosefson
Commits on Aug 29, 2011
  1. @mosabua

    Merge pull request #51 from nicstrong/pull-createdir

    mosabua authored
    Support to create destination directory in Pull Mojo
  2. @mosabua

    Merge pull request #55 from rtyley/test-run-failure-fails-build

    mosabua authored
    Failure of a test run should cause build failure
  3. @rtyley

    Failure of a test run should cause build failure

    rtyley authored
    The ITestRunListener interface has a testRunFailed() method which is called
    if the test run itself failed - a failure in the test infrastructure, not a
    test failure. This patch fixes the AbstractInstrumentationMojo so that the
    build will be failed if testRunFailed() was called.
    
    (I should have caught this in d285892, gah)
    
    An example of build messages before and after this update follows - the
    test run failure here was caused by mounting my SDCard while the integration
    test app was supposed to be running on it.
    
    BEFORE:
    
    [INFO] --- maven-android-plugin:3.0.0-alpha-3:internal-integration-test (default-internal-integration-test) @ agit-integration-tests ---
    [INFO] Found 1 devices connected with the Android Debug Bridge
    [INFO] android.device parameter not set, using all attached devices
    [INFO] Running instrumentation tests in com.madgag.agit.tests on 0123456789ABCDEF (avdName=null)
    [INFO]   Run started: com.madgag.agit.tests, 0 tests:
    [INFO]   Run failed: Unable to find instrumentation info for: ComponentInfo{com.madgag.agit.tests/android.test.InstrumentationTestRunner}
    [INFO]   Run ended: 0 ms
    [INFO]   Tests run: 0,  Failures: 0,  Errors: 0
    [INFO] Report file written to /home/roberto/development/agit-parent/agit-integration-tests/target/surefire-reports/TEST-0123456789ABCDEF_HTC_HTCDesire.xml
    [INFO]
    [INFO] --- cargo-maven2-plugin:1.1.1:stop (stop-container) @ agit-integration-tests ---
    [INFO] [beddedLocalContainer] Jetty 7.x Embedded is stopping...
    2011-08-29 17:27:07.938:INFO::stopped o.e.j.w.WebAppContext{/cargocpc,file:/tmp/jetty-0.0.0.0-18181-cargocpc.war-_cargocpc-any-/webapp/},/home/roberto/development/agit-parent/agit-integration-tests/target/cargo/configurations/jetty7x/cargocpc.war
    WAI contextDestroyed - javax.servlet.ServletContextEvent[source=ServletContext@o.e.j.w.WebAppContext{/mini-git-server-war-0.4,file:/tmp/jetty-0.0.0.0-18181-mini-git-server-war-0.4.war-_mini-git-server-war-0.4-any-/webapp/},/home/roberto/.m2/repository/com/madgag/mini-git-server-war/0.4/mini-git-server-war-0.4.war]
    [2011-08-29 17:27:07,950] INFO  com.google.gerrit.sshd.SshDaemon : Stopped Gerrit SSHD
    2011-08-29 17:27:07.952:INFO::stopped o.e.j.w.WebAppContext{/mini-git-server-war-0.4,file:/tmp/jetty-0.0.0.0-18181-mini-git-server-war-0.4.war-_mini-git-server-war-0.4-any-/webapp/},/home/roberto/.m2/repository/com/madgag/mini-git-server-war/0.4/mini-git-server-war-0.4.war
    [INFO] [beddedLocalContainer] Jetty 7.x Embedded is stopped
    [INFO]
    [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ agit-integration-tests ---
    [INFO] Installing /home/roberto/development/agit-parent/agit-integration-tests/target/agit-integration-tests-1.25-SNAPSHOT.apk to /home/roberto/.m2/repository/com/madgag/agit-integration-tests/1.25-SNAPSHOT/agit-integration-tests-1.25-SNAPSHOT.apk
    [INFO] Installing /home/roberto/development/agit-parent/agit-integration-tests/pom.xml to /home/roberto/.m2/repository/com/madgag/agit-integration-tests/1.25-SNAPSHOT/agit-integration-tests-1.25-SNAPSHOT.pom
    [INFO] Installing /home/roberto/development/agit-parent/agit-integration-tests/target/agit-integration-tests-1.25-SNAPSHOT.jar to /home/roberto/.m2/repository/com/madgag/agit-integration-tests/1.25-SNAPSHOT/agit-integration-tests-1.25-SNAPSHOT.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Agit parent POM project ........................... SUCCESS [0.270s]
    [INFO] agit test utils ................................... SUCCESS [1.591s]
    [INFO] Agit - git client for Android ..................... SUCCESS [27.079s]
    [INFO] Agit integration tests ............................ SUCCESS [1:18.589s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1:48.219s
    [INFO] Finished at: Mon Aug 29 17:27:14 BST 2011
    [INFO] Final Memory: 35M/322M
    [INFO] ------------------------------------------------------------------------
    
    
    AFTER:
    
    [INFO] Running instrumentation tests in com.madgag.agit.tests on 0123456789ABCDEF (avdName=null)
    [INFO]   Run started: com.madgag.agit.tests, 0 tests:
    [INFO]   Run failed: Unable to find instrumentation info for: ComponentInfo{com.madgag.agit.tests/android.test.InstrumentationTestRunner}
    [INFO]   Run ended: 0 ms
    [INFO]   Tests run: 0,  Failures: 0,  Errors: 0
    [INFO] Report file written to /home/roberto/development/agit-parent/agit-integration-tests/target/surefire-reports/TEST-0123456789ABCDEF_HTC_HTCDesire.xml
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Agit parent POM project ........................... SUCCESS [0.222s]
    [INFO] agit test utils ................................... SUCCESS [1.650s]
    [INFO] Agit - git client for Android ..................... SUCCESS [26.669s]
    [INFO] Agit integration tests ............................ FAILURE [49.740s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1:18.982s
    [INFO] Finished at: Mon Aug 29 19:08:03 BST 2011
    [INFO] Final Memory: 39M/173M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:maven-android-plugin:3.0.0-SNAPSHOT:internal-integration-test (default-internal-integration-test) on project agit-integration-tests: Test run failed to complete: Unable to find instrumentation info for: ComponentInfo{com.madgag.agit.tests/android.test.InstrumentationTestRunner} -> [Help 1]
  4. @hugojosefson
  5. @hugojosefson
  6. @mosabua

    Merge pull request #54 from lvillani/reinstall

    mosabua authored
    Always reinstall APK
Commits on Aug 27, 2011
  1. @lvillani

    Always reinstall APK, no-op in case undeployBeforeDeploy is set to tr…

    lvillani authored
    …ue (it should install the application as usual if it's not there yet).
Commits on Aug 26, 2011
  1. @mosabua

    Merge pull request #53 from hakan42/master

    mosabua authored
    Added "help" goal to fix issue 191
  2. @hakan42
  3. @nicstrong
Commits on Aug 25, 2011
  1. @nicstrong
Commits on Aug 24, 2011
  1. @hugojosefson
Something went wrong with that request. Please try again.