1. 11 Dec, 2013 3 commits
  2. 10 Dec, 2013 5 commits
    • Dave Syer's avatar
      Remove another annotation= attribute · cf53b764
      Dave Syer authored
      Hopefully really fixes gh-151
      cf53b764
    • Dave Syer's avatar
      Change interface of CommandFactory slightly · f2cdb8c6
      Dave Syer authored
      It's super useful to get a reference to the current SpringCli
      instance in the CommandFactory. Potentially implementations can
      react to the properties of the Cli, or wrap it into something
      more complex.
      
      ...supports the likely implementation of the REPL use
      case that @jbrisbin has been working on.
      f2cdb8c6
    • Dave Syer's avatar
      e55e8f98
    • Janne Valkealahti's avatar
      Tweaks for boot gradle plugin · 4c9c2b8d
      Janne Valkealahti authored
      Fixes gh-152.
      
      ... to ease excluding dependencies
      eckage changed to bootRepackage
      
      - Register BootRepackage order to use task foo(type: BootRepackage){}
      - Allow user to use customConfiguration
      
      configurations {
        hadoopruntime.exclude group: 'log4j'
        hadoopruntime.exclude group: 'org.slf4j'
        hadoopruntime.exclude group: 'org.apache.hadoop'
        hadoopruntime.exclude group: 'org.apache.hive'
        hadoopruntime.exclude group: 'commons-logging'
        hadoopruntime.exclude group: 'org.codehaus.jettison'
        hadoopruntime.exclude group: 'com.thoughtworks.xstream'
      }
      dependencies {
        compile "org.springframework.batch:spring-batch-core:$springBatchVersion"
        compile "org.springframework.batch:spring-batch-infrastructure:$springBatchVersion"
        compile "org.springframework.data:spring-yarn-batch:$springDataVersion"
        compile "org.springframework.data:spring-yarn-boot:$springDataVersion"
        runtime "org.springframework.data:spring-data-hadoop:$springDataVersion"
        runtime "org.springframework.data:spring-data-hadoop-core:$springDataVersion"
        runtime "log4j:log4j:$log4jVersion"
        runtime "org.slf4j:slf4j-log4j12:$slf4jVersion"
        testCompile "org.springframework.data:spring-yarn-test:$springDataVersion"
        testCompile "org.hamcrest:hamcrest-core:$hamcrestVersion"
        testCompile "org.hamcrest:hamcrest-library:$hamcrestVersion"
        hadoopruntime configurations.runtime
      }
      
      springBoot {
        backupSource = true
        customConfiguration = 'hadoopruntime'
      }
      
      task appmasterJar(type: Jar) {
        appendix = 'appmaster'
        from sourceSets.main.output
        exclude('**/*Container*')
        exclude('**/*Client*')
      }
      
      task clientJar(type: Jar) {
        appendix = 'client'
        from sourceSets.main.output
        exclude('**/*Appmaster*')
        exclude('**/*Container*')
      }
      
      task clientBoot(type: BootRepackage, dependsOn: clientJar) {
        withJarTask = clientJar
      }
      
      task appmasterBoot(type: BootRepackage, dependsOn: appmasterJar) {
        customConfiguration = "hadoopruntime"
        withJarTask = appmasterJar
      }
      
      //jar.enabled = false
      //bootRepackage.enabled = false
      
      task bootJars
      bootJars.dependsOn = [clientBoot,containerBoot,appmasterBoot]
      
      build.dependsOn(clientBoot)
      build.dependsOn(containerBoot)
      build.dependsOn(appmasterBoot)
      //build.dependsOn(bootJars)
      4c9c2b8d
    • Dave Syer's avatar
      Remove debug logging on stderr · ed8d161d
      Dave Syer authored
      ed8d161d
  3. 09 Dec, 2013 3 commits
  4. 06 Dec, 2013 1 commit
  5. 05 Dec, 2013 4 commits
  6. 04 Dec, 2013 4 commits
    • Dave Syer's avatar
      Remove inaccurate TODO · 33c38b3a
      Dave Syer authored
      33c38b3a
    • Dave Syer's avatar
      Add some handler adapter tests · 884fd012
      Dave Syer authored
      884fd012
    • Dave Syer's avatar
      Fix formatting of header · e1a09e09
      Dave Syer authored
      e1a09e09
    • Andy Wilkinson's avatar
      Make "." be the CLI's default classpath · b0c5d325
      Andy Wilkinson authored
      Previously, the default classpath was empty. Now, in the absence of the
      user providing a classpath via the -cp option, the default classpath
      will be ".". If the user does specify a classpath, the classpath that's
      used will be exactly what they have specified, i.e. "." will no longer
      be on the classpath unless specified by the user.
      
      The app sample integration test has been updated to verify that "." is
      only the classpath by default.
      
      Fixes #115
      b0c5d325
  7. 03 Dec, 2013 2 commits
  8. 02 Dec, 2013 3 commits
  9. 29 Nov, 2013 13 commits
  10. 28 Nov, 2013 2 commits