tetra 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +3 -1
- data/lib/template/bashrc +10 -0
- data/lib/template/bundled/apache-ant-1.9.7/CONTRIBUTORS +422 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/INSTALL +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/KEYS +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/LICENSE +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/NOTICE +1 -1
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/README +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/WHATSNEW +247 -4
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/ant +5 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/ant.bat +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/ant.cmd +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antRun +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antRun.bat +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antRun.pl +0 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antenv.cmd +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/complete-ant-cmd.pl +11 -10
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/envset.cmd +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/lcp.bat +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/runant.pl +0 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/runant.py +9 -6
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/runrc.cmd +0 -0
- data/lib/template/bundled/apache-ant-1.9.7/contributors.xml +1691 -0
- data/lib/template/bundled/apache-ant-1.9.7/etc/ant-bootstrap.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/changelog.xsl +0 -0
- data/lib/template/bundled/apache-ant-1.9.7/etc/checkstyle/checkstyle-frames-sortby-check.xsl +367 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/checkstyle/checkstyle-frames.xsl +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/checkstyle/checkstyle-text.xsl +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/checkstyle/checkstyle-xdoc.xsl +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/coverage-frames.xsl +0 -2
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/jdepend-frames.xsl +0 -2
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/jdepend.xsl +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/junit-frames-xalan1.xsl +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/junit-frames.xsl +18 -1
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/junit-noframes.xsl +18 -1
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/log.xsl +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/maudit-frames.xsl +0 -1
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/mmetrics-frames.xsl +0 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/tagdiff.xsl +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/fetch.xml +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/get-m2.xml +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/README +0 -0
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-antlr.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-antlr.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-apache-bcel.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-bcel.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-bsf.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-bsf.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-log4j.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-log4j.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-oro.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-oro.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-regexp.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-regexp.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-resolver.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-resolver.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-xalan2.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-xalan2.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-commons-logging.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-commons-logging.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-commons-net.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-commons-net.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jai.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jai.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-javamail.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-javamail.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jdepend.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jdepend.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jmf.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jmf.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jsch.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jsch.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-junit.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-junit.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-junit4.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-junit4.pom +71 -71
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-launcher.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-launcher.pom +2 -2
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-netrexx.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-netrexx.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-parent.pom +4 -4
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant-swing.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-swing.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-testutil.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-testutil.pom +3 -3
- data/lib/template/bundled/apache-ant-1.9.7/lib/ant.jar +0 -0
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant.pom +3 -3
- data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/libraries.properties +0 -0
- data/lib/template/bundled/apache-ant-1.9.7/patch.xml +48 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/LICENSE +29 -23
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/NOTICE +1 -1
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/README.txt +5 -3
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/bin/m2.conf +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/bin/mvn +51 -9
- data/lib/template/bundled/{apache-maven-3.2.5/bin/mvn.bat → apache-maven-3.3.9/bin/mvn.cmd} +50 -69
- data/lib/template/bundled/apache-maven-3.3.9/bin/mvnDebug +41 -0
- data/lib/template/bundled/apache-maven-3.3.9/bin/mvnDebug.cmd +31 -0
- data/lib/template/bundled/apache-maven-3.3.9/bin/mvnyjp +42 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/conf/logging/simplelogger.properties +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/conf/settings.xml +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/conf/toolchains.xml +103 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-api-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-api-1.0.2.v20150114.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-api.license +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-connector-basic-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-connector-basic-1.0.2.v20150114.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-connector-basic.license +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-impl-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-impl-1.0.2.v20150114.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-impl.license +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-spi-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-spi-1.0.2.v20150114.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-spi.license +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-transport-wagon-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-transport-wagon-1.0.2.v20150114.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-transport-wagon.license +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-util-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-util-1.0.2.v20150114.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-util.license +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aopalliance-1.0.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/cdi-api-1.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/cdi-api.license +410 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/commons-cli-1.2.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/commons-io-2.2.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/commons-lang-2.6.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/commons-lang3-3.4.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-aether-provider.license → apache-maven-3.3.9/lib/commons-lang3.license} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/ext/README.txt +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/guava-18.0.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/guice-4.0-no_aop.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/javax.inject-1.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsoup-1.7.2.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsoup.license +15 -16
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsr250-api-1.0.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsr250-api.license +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-aether-provider-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-artifact.license → apache-maven-3.3.9/lib/maven-aether-provider.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-artifact-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-compat.license → apache-maven-3.3.9/lib/maven-artifact.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-builder-support-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-core.license → apache-maven-3.3.9/lib/maven-builder-support.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-compat-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-embedder.license → apache-maven-3.3.9/lib/maven-compat.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-core-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-model-builder.license → apache-maven-3.3.9/lib/maven-core.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-embedder-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-model.license → apache-maven-3.3.9/lib/maven-embedder.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-model-3.3.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-model-builder-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-plugin-api.license → apache-maven-3.3.9/lib/maven-model-builder.license} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-repository-metadata.license → apache-maven-3.3.9/lib/maven-model.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-plugin-api-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-settings-builder.license → apache-maven-3.3.9/lib/maven-plugin-api.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-repository-metadata-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-settings.license → apache-maven-3.3.9/lib/maven-repository-metadata.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-settings-3.3.9.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/maven-settings-builder-3.3.9.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-file.license → apache-maven-3.3.9/lib/maven-settings-builder.license} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-http-shared.license → apache-maven-3.3.9/lib/maven-settings.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/org.eclipse.sisu.inject-0.3.2.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/org.eclipse.sisu.inject.license +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/org.eclipse.sisu.plexus-0.3.2.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/org.eclipse.sisu.plexus.license +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/plexus-cipher-1.7.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/plexus-cipher.license +410 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/plexus-component-annotations-1.6.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/plexus-interpolation-1.21.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/plexus-sec-dispatcher.license +410 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/plexus-utils-3.0.20.jar → apache-maven-3.3.9/lib/plexus-utils-3.0.22.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/slf4j-api-1.7.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/slf4j-api.license +370 -0
- data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/slf4j-simple-1.7.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/slf4j-simple.license +370 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-file-2.8.jar → apache-maven-3.3.9/lib/wagon-file-2.10.jar} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-http.license → apache-maven-3.3.9/lib/wagon-file.license} +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-http-2.8-shaded.jar → apache-maven-3.3.9/lib/wagon-http-2.10-shaded.jar} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-http-shared-2.10.jar +0 -0
- data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-provider-api.license → apache-maven-3.3.9/lib/wagon-http-shared.license} +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-http.license +202 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-provider-api-2.10.jar +0 -0
- data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-provider-api.license +202 -0
- data/lib/tetra/facades/bash.rb +8 -2
- data/lib/tetra/kit.rb +1 -1
- data/lib/tetra/version.rb +1 -1
- data/spec/data/commons-collections4-4.1-src.tar.gz +0 -0
- data/spec/data/commons-collections4-4.1-src.zip +0 -0
- data/spec/lib/coarse/generate_all_subcommand_spec.rb +5 -5
- data/spec/lib/coarse/generate_spec_subcommand_spec.rb +2 -2
- data/spec/lib/coarse/init_subcommand_spec.rb +6 -6
- data/spec/lib/fine/project_spec.rb +1 -1
- data/spec/lib/fine/tar_spec.rb +2 -2
- data/spec/lib/fine/unzip_spec.rb +2 -2
- metadata +179 -170
- data/lib/template/bundled/apache-ant-1.9.4/etc/ant-bootstrap.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-antlr.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-apache-bcel.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-commons-net.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jai.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-javamail.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jdepend.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jmf.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jsch.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-junit.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-junit4.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-launcher.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-netrexx.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant-swing.jar +0 -0
- data/lib/template/bundled/apache-ant-1.9.4/lib/ant.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/bin/mvnDebug +0 -200
- data/lib/template/bundled/apache-maven-3.2.5/bin/mvnDebug.bat +0 -200
- data/lib/template/bundled/apache-maven-3.2.5/bin/mvnyjp +0 -207
- data/lib/template/bundled/apache-maven-3.2.5/lib/cdi-api.license +0 -445
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-aether-provider-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-artifact-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-compat-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-core-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-embedder-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-model-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-model-builder-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-plugin-api-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-repository-metadata-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-settings-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/maven-settings-builder-3.2.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/plexus-cipher.license +0 -445
- data/lib/template/bundled/apache-maven-3.2.5/lib/plexus-component-annotations-1.5.5.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/plexus-sec-dispatcher.license +0 -445
- data/lib/template/bundled/apache-maven-3.2.5/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/slf4j-api.license +0 -190
- data/lib/template/bundled/apache-maven-3.2.5/lib/slf4j-simple.license +0 -190
- data/lib/template/bundled/apache-maven-3.2.5/lib/wagon-http-shared-2.8.jar +0 -0
- data/lib/template/bundled/apache-maven-3.2.5/lib/wagon-provider-api-2.8.jar +0 -0
- data/spec/data/commons-collections-3.2.1-src.tar.gz +0 -0
- data/spec/data/commons-collections-3.2.1-src.zip +0 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,3 +1,246 @@
|
|
1
|
+
Changes from Ant 1.9.6 TO Ant 1.9.7
|
2
|
+
===================================
|
3
|
+
|
4
|
+
Changes that could break older environments:
|
5
|
+
-------------------------------------------
|
6
|
+
|
7
|
+
* <exec> and <apply> used to ignore the dir attribute if it was the
|
8
|
+
same as the current working directory. They now no longer do,
|
9
|
+
which changes the behavior for vmlauncher="false" which would have
|
10
|
+
used the project's basedir rather than the current working
|
11
|
+
directory in that case.
|
12
|
+
Bugzilla Report 58555
|
13
|
+
|
14
|
+
Fixed bugs:
|
15
|
+
-----------
|
16
|
+
|
17
|
+
* ZipOutputStream could cause an ArrayIndexOutOfBoundsException when
|
18
|
+
adding entries with comments. This never happens when using Ant as
|
19
|
+
a build tool but may affect users using Ant's zip package as a
|
20
|
+
library.
|
21
|
+
|
22
|
+
* <gunzip> and <bunzip2> didn't work for non-filesystem resources.
|
23
|
+
|
24
|
+
* <jar> ignored the zip64Mode attribute when creating manifest-only
|
25
|
+
jars. This resulted in jar files that couldn't be read by Java5.
|
26
|
+
Bugzilla Report 58428
|
27
|
+
|
28
|
+
* <untar> will now detect GNU tar longname/link records even if they
|
29
|
+
don't use the names used by GNU tar itself. star is known to
|
30
|
+
create archives of that kind.
|
31
|
+
https://issues.apache.org/jira/browse/COMPRESS-324
|
32
|
+
|
33
|
+
* <script> could fail to find javax.script on JDK9 with Jigsaw.
|
34
|
+
Bugzilla Report 58271
|
35
|
+
|
36
|
+
* <import> sometimes failed to normalize file names which could lead
|
37
|
+
to files getting imported twice which in turn could lead to targets
|
38
|
+
getting executed twice.
|
39
|
+
Bugzilla Report 58886
|
40
|
+
|
41
|
+
* TarInputStream now properly extraxt directory entries with a
|
42
|
+
non-zero size.
|
43
|
+
|
44
|
+
* <union> would drop file resources pointing to the same file but
|
45
|
+
using different names.
|
46
|
+
Bugzilla Report 57965
|
47
|
+
|
48
|
+
* <replace>'s result was undefined when using the replacefilterfile
|
49
|
+
attribute and some keys inside the properties files have been
|
50
|
+
substrings of other keys. Keys are now sorted by descending size.
|
51
|
+
Bugzilla Report 58997
|
52
|
+
|
53
|
+
* Ant fails to run when arguments contain double-quote character.
|
54
|
+
Bugzilla Report 58898
|
55
|
+
|
56
|
+
* Ant fails to run if ANT_HOME contains a double-quote character.
|
57
|
+
Bugzilla Report 58874
|
58
|
+
|
59
|
+
* Definer's way to parse URLs from classloader breaks with
|
60
|
+
recent Java 9 builds (b108).
|
61
|
+
Bugzilla Report 59130
|
62
|
+
|
63
|
+
* <ant> and <antcall> now preserve the ext status set by an <exit>
|
64
|
+
task.
|
65
|
+
Bugzilla Report 59228
|
66
|
+
|
67
|
+
Other changes:
|
68
|
+
--------------
|
69
|
+
|
70
|
+
* <scp> now supports (filesystem-only) resource collections in
|
71
|
+
addition to filesets.
|
72
|
+
Bugzilla Report 50769
|
73
|
+
|
74
|
+
* The <http> condition has a new optional attribute followRedirects.
|
75
|
+
Bugzilla Report 58840
|
76
|
+
|
77
|
+
* <java> now supports Java9 modules.
|
78
|
+
https://github.com/apache/ant/pull/15
|
79
|
+
|
80
|
+
* <javac> now supports Java9 modules.
|
81
|
+
https://github.com/apache/ant/pull/16
|
82
|
+
|
83
|
+
* <sshexec> and <scp> have two new attributes serverAliveInterval and
|
84
|
+
serverAliveCountMax that can be used to keep a intermediaries from
|
85
|
+
closing idle connections.
|
86
|
+
Bugzilla Report 59162
|
87
|
+
|
88
|
+
Changes from Ant 1.9.5 TO Ant 1.9.6
|
89
|
+
===================================
|
90
|
+
|
91
|
+
Changes that could break older environments:
|
92
|
+
-------------------------------------------
|
93
|
+
|
94
|
+
Fixed bugs:
|
95
|
+
-----------
|
96
|
+
|
97
|
+
* ArrayIndexOutOfBoundsException when ZIP extra fields are read and
|
98
|
+
the entry contains an UnparseableExtraField.
|
99
|
+
https://issues.apache.org/jira/browse/COMPRESS-317
|
100
|
+
|
101
|
+
Other changes:
|
102
|
+
--------------
|
103
|
+
|
104
|
+
* Hidden <javaconstant> resource is published now. It reads the
|
105
|
+
value of a specified java constant.
|
106
|
+
|
107
|
+
|
108
|
+
Changes from Ant 1.9.4 TO Ant 1.9.5
|
109
|
+
===================================
|
110
|
+
|
111
|
+
Changes that could break older environments:
|
112
|
+
-------------------------------------------
|
113
|
+
|
114
|
+
* The ReplaceTokens filter can now use token-separators longer than
|
115
|
+
one character. This means it can be used to replace mustache-style
|
116
|
+
{{patterns}} and similar templates. This is going to break code
|
117
|
+
that invokes the setters on ReplaceTokens via the Java API as their
|
118
|
+
parameters have been changed from char to String. It may also
|
119
|
+
break build files that specified multi character tokens and relied
|
120
|
+
on Ant silently ignoring all but the first character.
|
121
|
+
Bugzilla Report 56584
|
122
|
+
|
123
|
+
* The changes that added <get>'s support for gzip encoding
|
124
|
+
automatically uncompressed content that would not have been touched
|
125
|
+
before - like when downloading .tar.gz files. A new flag has been
|
126
|
+
added to control the behavior and its default will make <get> work
|
127
|
+
as it did in 1.9.3. I.e. if you want it to work like 1.9.4
|
128
|
+
you have to explicitly set tryGzipEncoding to true.
|
129
|
+
Bugzilla Report 57048
|
130
|
+
|
131
|
+
Fixed bugs:
|
132
|
+
-----------
|
133
|
+
|
134
|
+
* TarArchiveInputStream failed to read archives with empty gid/uid
|
135
|
+
fields.
|
136
|
+
Bugzilla Report 56641
|
137
|
+
|
138
|
+
* TarArchiveInputStream could throw IOException when reading PAX
|
139
|
+
headers from a "slow" InputStream.
|
140
|
+
|
141
|
+
* XMLJunitResultFormatter could throw NullPointerException if Java
|
142
|
+
cannot determine the local hostname.
|
143
|
+
Bugzilla Report 56593
|
144
|
+
|
145
|
+
* URLResource#getLastModified tried to access the connection to the
|
146
|
+
URL without making sure it was established, potentially leading to
|
147
|
+
a NullPointerException when using FTP.
|
148
|
+
Bugzilla Report 56873
|
149
|
+
|
150
|
+
* Long-Name and -link or PAX-header entries in TAR archives
|
151
|
+
always had the current time as last modfication time, creating
|
152
|
+
archives that are different at the byte level each time an
|
153
|
+
archive was built.
|
154
|
+
|
155
|
+
* runant.py should now work as well when the path of the Java executable
|
156
|
+
contains spaces.
|
157
|
+
github pull request #1
|
158
|
+
|
159
|
+
* <junitreport> now supports nested <classpath> and <factory> elements.
|
160
|
+
Bugzilla Report 47002
|
161
|
+
|
162
|
+
* complete-ant-cmd.pl now also knows about the -file option.
|
163
|
+
Bugzilla Report 57371
|
164
|
+
|
165
|
+
* the br-replace template inside the XSLT stylesheets used by
|
166
|
+
<junitreport> could cause stack overflows or out-of-memory errors
|
167
|
+
when applied to big outputs.
|
168
|
+
Bugzilla Report 57341
|
169
|
+
|
170
|
+
* removed spurious warning about unclosed ZipFiles when reading the
|
171
|
+
archive failed.
|
172
|
+
Port of https://issues.apache.org/jira/browse/COMPRESS-297
|
173
|
+
|
174
|
+
* FileUtils.rename which is used by several tasks can throw a
|
175
|
+
NullPointerException if the "normal" renameTo operation fails and
|
176
|
+
an exception occurs while rename falls back to copying and deleting
|
177
|
+
the file.
|
178
|
+
Bugzilla Report 57533
|
179
|
+
|
180
|
+
* complete-ant-cmd.pl would incorrectly suggest words from the build
|
181
|
+
file description.
|
182
|
+
Bugzilla Report 51931
|
183
|
+
|
184
|
+
* complete-ant-cmd.pl now also completes tasks without a description.
|
185
|
+
Bugzilla Report 57542
|
186
|
+
|
187
|
+
* LocalPropertyStack could run into ConcurrentModificationException
|
188
|
+
when tasks spawned new child threads that accessed the properties.
|
189
|
+
Bugzilla Report 55074
|
190
|
+
|
191
|
+
* TarEntry's constructor with a File and a String arg didn't
|
192
|
+
normalize the name.
|
193
|
+
|
194
|
+
* Between 1.8.4 and 1.9.0 TarInputStream started to parse file
|
195
|
+
names using the platform's default encoding rather than as ASCII.
|
196
|
+
This has been a breaking change that has never been marked as such
|
197
|
+
(in fact it went unnoticed). In order to allow <untar> and
|
198
|
+
<tarfileset> to work on platforms who's encoding doesn't match the
|
199
|
+
encoding of file names inside the archive, both now support
|
200
|
+
encoding attributes.
|
201
|
+
The attribute has also been added to <tar> for symmetry.
|
202
|
+
Bugzilla Report 57822
|
203
|
+
|
204
|
+
Other changes:
|
205
|
+
--------------
|
206
|
+
|
207
|
+
* it is now possible to provide proxy configuration to signjar
|
208
|
+
when using the timestamped authority.
|
209
|
+
Bugzilla Report 56678
|
210
|
+
|
211
|
+
* complete-ant-cmd.pl now also analyzes the ANT_ARGS environment
|
212
|
+
variable.
|
213
|
+
Bugzilla Report 57371
|
214
|
+
|
215
|
+
* ported some of the write-optimization of Commons Compress 1.10 to
|
216
|
+
the ZIP package
|
217
|
+
|
218
|
+
* adapted unit tests to Java9 and added "javac1.9" as valid option
|
219
|
+
for javac's compiler attribute.
|
220
|
+
|
221
|
+
* performance improvements for <intersect>
|
222
|
+
Bugzilla Report 57588
|
223
|
+
|
224
|
+
* MailLogger can now add CC and BCC addresses.
|
225
|
+
Bugzilla Report 57789.
|
226
|
+
|
227
|
+
* <scp>'s buffer size has been increased from 1k to 100k to match
|
228
|
+
<ftp> and <get>.
|
229
|
+
github pull requests #8 and #9
|
230
|
+
|
231
|
+
* The tar package can now deal with group and user ids bigger than
|
232
|
+
0x80000000.
|
233
|
+
https://issues.apache.org/jira/browse/COMPRESS-314
|
234
|
+
https://issues.apache.org/jira/browse/COMPRESS-315
|
235
|
+
|
236
|
+
* <scp> has new attributes fileMode and dirMode that control the
|
237
|
+
permissions on the remote side when sending data via SSH.
|
238
|
+
Bugzilla Report 43271.
|
239
|
+
|
240
|
+
* New <allbutlast> and <allbutfirst> resource collections can be used
|
241
|
+
to select all but a given subset of a resource collection.
|
242
|
+
Bugzilla Report 57834.
|
243
|
+
|
1
244
|
Changes from Ant 1.9.3 TO Ant 1.9.4
|
2
245
|
===================================
|
3
246
|
|
@@ -1380,7 +1623,7 @@ Fixed bugs:
|
|
1380
1623
|
have full control.
|
1381
1624
|
Bugzilla Report 34638.
|
1382
1625
|
|
1383
|
-
* <sql> would fail if the executed
|
1626
|
+
* <sql> would fail if the executed statement didn't return a result
|
1384
1627
|
set with some JDBC driver that dissalow Statement.getResultSet to
|
1385
1628
|
be called in such a situation.
|
1386
1629
|
Bugzilla Report 36265
|
@@ -2546,7 +2789,7 @@ Fixed bugs:
|
|
2546
2789
|
* OOM caused by IH holding on to classes and thus their classloaders.
|
2547
2790
|
Bugzilla 28283 and 33061.
|
2548
2791
|
|
2549
|
-
* <delete>
|
2792
|
+
* <delete> doesn't delete when defaultexcludes="false" and no includes is set
|
2550
2793
|
fixed. Bugzilla 40313.
|
2551
2794
|
|
2552
2795
|
* Behavior change of DirectoryScanner/AbstractFileset when conditional include
|
@@ -2832,7 +3075,7 @@ Other changes:
|
|
2832
3075
|
distribution. Bugzilla 40980.
|
2833
3076
|
|
2834
3077
|
* Roll back automatic proxy enabling on Java 1.5. It broke things like
|
2835
|
-
Oracle JDBC drivers, and Ant itself on IBM's JVM on AIX, and
|
3078
|
+
Oracle JDBC drivers, and Ant itself on IBM's JVM on AIX, and didn't
|
2836
3079
|
seem to work to well the rest of the time.
|
2837
3080
|
To enable the feature, use the -autoproxy command line option.
|
2838
3081
|
|
@@ -4302,7 +4545,7 @@ Other changes:
|
|
4302
4545
|
|
4303
4546
|
* <jdepend> now supports a new nested element <classespath> which is
|
4304
4547
|
the same as <sourcespath> but point to compiled classes (the
|
4305
|
-
|
4548
|
+
preferred mode of operation for JDepend > 2.5). Additionally, nested
|
4306
4549
|
<exclude> elements can be used to exclude certain packages from
|
4307
4550
|
being parsed. Bugzilla Report 17134.
|
4308
4551
|
|
@@ -35,7 +35,8 @@ for arg in "$@" ; do
|
|
35
35
|
if [ my"$arg" = my"-h" -o my"$arg" = my"-help" ] ; then
|
36
36
|
show_help=true
|
37
37
|
fi
|
38
|
-
|
38
|
+
# wrap all arguments as "" strings, escape any internal back-slash or double-quote characters
|
39
|
+
ant_exec_args="$ant_exec_args \"$(printf '%s' "$arg" | sed -e 's@"\|\\@\\\0@g' )\""
|
39
40
|
fi
|
40
41
|
done
|
41
42
|
|
@@ -329,8 +330,9 @@ else
|
|
329
330
|
ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\""
|
330
331
|
fi
|
331
332
|
fi
|
332
|
-
ant_exec_command="exec \"
|
333
|
+
ant_exec_command="exec \"\$JAVACMD\" $ANT_OPTS -classpath \"\$LOCALCLASSPATH\" -Dant.home=\"\$ANT_HOME\" -Dant.library.dir=\"\$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"\$CLASSPATH\""
|
333
334
|
if $ant_exec_debug ; then
|
334
335
|
echo $ant_exec_command $ant_exec_args
|
335
336
|
fi
|
336
|
-
|
337
|
+
|
338
|
+
eval $ant_exec_command $ant_exec_args
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -21,9 +21,6 @@
|
|
21
21
|
#
|
22
22
|
# wrapper script for invoking commands on a platform with Perl installed
|
23
23
|
# this is akin to antRun.bat, and antRun the SH script
|
24
|
-
#
|
25
|
-
# created: 2001-10-18
|
26
|
-
# author: Jeff Tulley jtulley@novell.com
|
27
24
|
#######################################################################
|
28
25
|
#be fussy about variables
|
29
26
|
use strict;
|
File without changes
|
@@ -30,17 +30,15 @@
|
|
30
30
|
# set -A reply $(COMP_LINE=$args_line complete-ant-cmd.pl ${args[1]} $1)
|
31
31
|
# }
|
32
32
|
# compctl -K ant_complete ant build.sh
|
33
|
-
#
|
34
|
-
# @author Mike Williams <mikew@cortexebusiness.com.au>
|
35
33
|
|
36
|
-
my $cmdLine = $ENV{'COMP_LINE'};
|
34
|
+
my $cmdLine = "$ENV{'ANT_ARGS'} $ENV{'COMP_LINE'}";
|
37
35
|
my $antCmd = $ARGV[0];
|
38
36
|
my $word = $ARGV[1];
|
39
37
|
|
40
38
|
my @completions;
|
41
39
|
if ($word =~ /^-/) {
|
42
40
|
list( restrict( $word, getArguments() ));
|
43
|
-
} elsif ($cmdLine =~ /-(f|buildfile)\s+\S*$/) {
|
41
|
+
} elsif ($cmdLine =~ /-(f|file|buildfile)\s+\S*$/) {
|
44
42
|
list( getBuildFiles($word) );
|
45
43
|
} else {
|
46
44
|
list( restrict( $word, getTargets() ));
|
@@ -60,7 +58,7 @@ sub restrict {
|
|
60
58
|
}
|
61
59
|
|
62
60
|
sub getArguments {
|
63
|
-
qw(-buildfile -debug -emacs -f -find -help -listener -logfile
|
61
|
+
qw(-buildfile -debug -emacs -f -file -find -help -listener -logfile
|
64
62
|
-logger -projecthelp -quiet -verbose -version);
|
65
63
|
}
|
66
64
|
|
@@ -74,21 +72,24 @@ sub getTargets {
|
|
74
72
|
|
75
73
|
# Look for build-file
|
76
74
|
my $buildFile = 'build.xml';
|
77
|
-
if ($cmdLine =~ /-(f|buildfile)\s+(\S+)/) {
|
75
|
+
if ($cmdLine =~ /-(f|file|buildfile)\s+(\S+)(?!.*\s-(f|file|buildfile)\s)/) {
|
78
76
|
$buildFile = $2;
|
79
77
|
}
|
80
78
|
return () unless (-f $buildFile);
|
81
79
|
|
82
|
-
# Run "ant -projecthelp" to list targets
|
83
|
-
# cache
|
80
|
+
# Run "ant -projecthelp -debug" to list targets (-debug is required to get
|
81
|
+
# "Other targets", i.e. targets without a description). Keep a cache of
|
82
|
+
# results in a cache-file.
|
84
83
|
my $cacheFile = $buildFile;
|
85
84
|
$cacheFile =~ s|(.*/)?(.*)|${1}.ant-targets-${2}|;
|
86
85
|
if ((!-e $cacheFile) || (-z $cacheFile) || (-M $buildFile) < (-M $cacheFile)) {
|
87
86
|
open( CACHE, '>'.$cacheFile ) || die "can\'t write $cacheFile: $!\n";
|
88
|
-
open( HELP, "$antCmd -projecthelp -
|
87
|
+
open( HELP, "$antCmd -projecthelp -debug -buildfile '$buildFile'|" ) || return();
|
89
88
|
my %targets;
|
90
89
|
while( <HELP> ) {
|
91
|
-
|
90
|
+
# Exclude target names starting with dash, because they cannot be
|
91
|
+
# specified on the command line.
|
92
|
+
if (/^\s+\+Target:\s+(?!-)(\S+)/) {
|
92
93
|
$targets{$1}++;
|
93
94
|
}
|
94
95
|
}
|
File without changes
|
File without changes
|
@@ -28,9 +28,6 @@
|
|
28
28
|
# issues. oops. (NB, use File::Spec::Functions will help and the code is
|
29
29
|
# structured for the catfile() call, but because of perl version funnies
|
30
30
|
# the code is not included.
|
31
|
-
#
|
32
|
-
# created: 2000-8-24
|
33
|
-
# author: Steve Loughran steve_l@sourceforge.net
|
34
31
|
#######################################################################
|
35
32
|
#
|
36
33
|
# Assumptions:
|
@@ -19,14 +19,11 @@
|
|
19
19
|
|
20
20
|
runant.py
|
21
21
|
|
22
|
-
This script is a translation of the runant.pl
|
22
|
+
This script is a translation of the runant.pl
|
23
23
|
It runs ant with/out arguments, it should be quite portable (thanks to
|
24
24
|
the python os library)
|
25
25
|
This script has been tested with Python2.0/Win2K
|
26
26
|
|
27
|
-
created: 2001-04-11
|
28
|
-
author: Pierre Dittgen pierre.dittgen@criltelecom.com
|
29
|
-
|
30
27
|
Assumptions:
|
31
28
|
|
32
29
|
- the "java" executable/script is on the command path
|
@@ -54,7 +51,10 @@ if not os.environ.has_key('JAVACMD'):
|
|
54
51
|
if not os.path.exists(os.environ['JAVA_HOME']):
|
55
52
|
print "Warning: JAVA_HOME is not defined correctly."
|
56
53
|
else:
|
57
|
-
|
54
|
+
JAVA_HOME = os.environ['JAVA_HOME']
|
55
|
+
while JAVA_HOME[0] == JAVA_HOME[-1] == "\"":
|
56
|
+
JAVA_HOME = JAVA_HOME[1:-1]
|
57
|
+
JAVACMD = os.path.join(JAVA_HOME, 'bin', 'java')
|
58
58
|
else:
|
59
59
|
print "Warning: JAVA_HOME not set."
|
60
60
|
else:
|
@@ -88,8 +88,11 @@ CLASSPATH = ""
|
|
88
88
|
if os.environ.has_key('CLASSPATH'):
|
89
89
|
CLASSPATH = "-lib " + os.environ['CLASSPATH']
|
90
90
|
|
91
|
+
while JAVACMD[0] == JAVACMD[-1] == "\"":
|
92
|
+
JAVACMD = JAVACMD[1:-1]
|
93
|
+
|
91
94
|
# Builds the commandline
|
92
|
-
cmdline = ('%s %s -classpath %s -Dant.home=%s %s ' + \
|
95
|
+
cmdline = ('"%s" %s -classpath %s -Dant.home=%s %s ' + \
|
93
96
|
'org.apache.tools.ant.launch.Launcher %s %s %s') \
|
94
97
|
% (JAVACMD, ANT_OPTS, LOCALCLASSPATH, ANT_HOME, OPTS, ANT_ARGS, \
|
95
98
|
CLASSPATH, string.join(sys.argv[1:], ' '))
|