1. 04 Nov, 2013 4 commits
    • Andy Wilkinson's avatar
      Update AetherGrapeEngine to honour --local · b631c113
      Andy Wilkinson authored
      When running an application, --local can be used to collect the
      application's dependencies in a local directory. Prior to
      AetherGrapeEngine being introduced, using --local would result in the
      dependencies being written to ./grapes. When AetherGrapeEngine was
      introduced --local no longer had any effect.
      
      This commit updates AetherGrapeEngine so that it honours --local,
      writing its dependencies to ./repository. When --local is not specified
      dependencies are written to ~/.m2/repository (the standard location
      for the local Maven cache). As part of this change TestCommand has
      been refactored so that it lazily initialises its GroovyCompiler. This
      ensures that RunCommand has a chance to set the system property that
      backs --local before AetherGrapeEngine is initialised and accesses the
      property.
      
      Fixes #99
      b631c113
    • Andy Wilkinson's avatar
      Generate springcli.properties before resources are copied · e741557a
      Andy Wilkinson authored
      Generate springcli.properties in generate-resources so that it can
      be copied by the resources plugin in the process-resources phase.
      e741557a
    • Dave Syer's avatar
      Correct copy-paste errors in javadocs · f6e6831f
      Dave Syer authored
      f6e6831f
    • Greg Turnquist's avatar
      Fix spring test to properly handle failures · cc92ba1a
      Greg Turnquist authored
      Failing test cases weren't not properly handled and instead caused
      test to break. Added a test case and verified it works for both JUnit
      and Spock.
      cc92ba1a
  2. 02 Nov, 2013 4 commits
  3. 01 Nov, 2013 10 commits
  4. 31 Oct, 2013 7 commits
  5. 29 Oct, 2013 1 commit
  6. 28 Oct, 2013 4 commits
  7. 25 Oct, 2013 4 commits
    • Andreas Kluth's avatar
      Update README.md · 19b74461
      Andreas Kluth authored
      - Found typo while reading.
      19b74461
    • Andy Wilkinson's avatar
      Update Gradle plugin to only repackage main jar · bde98def
      Andy Wilkinson authored
      Previously, Repackage would attempt to repackage every jar in the
      project. This would cause it to incorrectly attempt to repackage source
      and javadoc jars.
      
      This commit updates Repackage so that it ignores any jar with a
      classifier. Hopefully this is a reasonable approximation for ignoring
      'special' jars that should not be repackaged such as sources and
      javadoc.
      bde98def
    • Dave Syer's avatar
      Revert aspectj to default version · a4c0733d
      Dave Syer authored
      a4c0733d
    • Andy Wilkinson's avatar
      Always install new GrapeEngine · 1a76c972
      Andy Wilkinson authored
      Previously, GrapeEngineInstaller would only install its GrapeEngine
      if an engine had not already been installed. As the Grape class stores
      the engine in a static field, this meant that the engine would only be
      installed once for the lifetime of Grape's classloader. This caused
      an ordering issue in SampleIntegrationTests.
      
      The test for the integration sample clears the
      disableSpringSnapshotRepos system property to allow M1 of the
      integration DSL to be resolved. However, this property is only
      examined and honoured in AetherGrapeEngine's constructor. If another
      test had run and had already created and installed an
      AetherGrapeEngine, the new AetherGrapeEngine that allowed the use of
      snapshot repositories would not be installed and the test would fail.
      
      This commit updates GrapeEngineInstaller so that it always installs
      its GrapeEngine, overwriting any previously installed engine.
      1a76c972
  8. 24 Oct, 2013 6 commits