summaryrefslogtreecommitdiff
path: root/src/script
Commit message (Collapse)AuthorAgeFilesLines
* redo security manager setting to allow calling System.setSecurityManager at ↵Jaikiran Pai2022-12-112-29/+7
| | | | | | | | | | | runtime - Reverts the changes done to launch scripts which were checking for the Java runtime version to decide whether or not to set java.security.manager=allow - Introduces a new "allow" Java class (in unnamed package) as a workaround to allow setting java.security.manager=allow on (older) versions of Java which don't recognize "allow" as a predefined text for that property - Packages the "allow" Java class into ant-launcher.jar, which is the same jar file containing the org.apache.tools.ant.launch.Launcher class that gets launched from the Ant startup scripts - Sets java.security.manager=allow explicitly in Ant launch scripts, irrespective of which Java runtime version is being used
* Fix detection of java.specification.versionKeith W. Campbell2022-11-161-5/+12
| | | Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
* allow security manager setting on all versions above Java 18 (inclusive)Jaikiran Pai2022-11-081-2/+2
|
* add java.security.manager=allow while launching against Java 19Jaikiran Pai2022-02-072-5/+13
|
* fix ant.bat script for Java 18 security manager configuration/checkJaikiran Pai2022-01-151-4/+4
|
* set java.security.manager=allow in Ant launcher .bat file for Windows, for ↵Jaikiran Pai2021-12-011-0/+7
| | | | Java 18
* fix condition check for non-bash shellJaikiran Pai2021-11-281-1/+1
|
* Pass -Djava.security.manager=allow from *nix launcher script for Java 18Jaikiran Pai2021-11-281-0/+6
|
* Merge branch '1.9.x'Stefan Bodewig2019-10-021-18/+19
|\
| * adapt runant.py to Python3Stefan Bodewig2019-10-021-19/+20
| | | | | | | | closes #96, thanks to @twogee
* | Merge branch '1.9.x'Stefan Bodewig2019-06-131-2/+4
|\ \ | |/
| * improve error message if Java cannot be foundStefan Bodewig2019-06-131-2/+4
| |
| * logic was invertedStefan Bodewig2017-12-271-1/+1
| |
| * whitespace adjustment in scriptstwogee2017-12-193-19/+19
| |
| * incorrect conditionstwogee2017-12-191-2/+2
| |
| * Make build & bootstrap work on macOS (cf ant);twogee2017-12-1911-194/+167
| | | | | | normalise whitespace in scripts and use Perl idioms properly
* | updated reference to license from http to https usingjkf2019-05-2513-13/+13
| | | | | | | | find . -type f -exec sed -i "s/http:\/\/www.apache.org\/licenses\/LICENSE-2.0/https:\/\/www.apache.org\/licenses\/LICENSE-2.0/" {} \;
* | Revert "Check spelling"Gintas Grigelionis2018-09-112-2/+2
| |
* | Check spellingGintas Grigelionis2018-09-092-2/+2
| |
* | whitespace adjustment in scriptstwogee2017-12-193-19/+19
| |
* | Make build & bootstrap work on macOS (cf ant);twogee2017-12-1911-194/+167
|/ | | normalise whitespace in scripts and use Perl idioms properly
* trim whitespaceStefan Bodewig2017-01-141-1/+1
|
* detect solaris 10 to avoid certain POSIX expressionsJeffrey Adamson2017-01-141-9/+30
|
* Revert "replace backticks with $() - may fix PR 60562"Stefan Bodewig2017-01-101-22/+22
| | | | This reverts commit 02aedbc903570357c4caa43beb2d9e2dabd7b4fc.
* replace backticks with $() - may fix PR 60562Stefan Bodewig2017-01-091-22/+22
|
* remove obsolete awk escaping - related to PR 60562Stefan Bodewig2017-01-091-40/+4
|
* corrected commentsJeffrey Adamson2016-10-291-2/+2
|
* latest iteration of Jeff Adamson's script fixesStefan Bodewig2016-10-261-8/+19
| | | | known to not completely break in Solaris
* fix problems with argument handling of trailing space and sed/echo quirksJeffrey Adamson2016-10-221-7/+47
|
* try to fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59321Stefan Bodewig2016-10-081-2/+7
| | | | suggested patch by Jeffrey Adamson
* fix 60150 values containing backtick or $ character cause shell error on *nixJeffrey Adamson2016-09-281-2/+2
|
* non-GNU sed needs an extra newline characterStefan Bodewig2016-07-251-1/+1
| | | | https://bz.apache.org/bugzilla/show_bug.cgi?id=59898
* Bug 58898: Ant fails to run when arguments contain double-quote characterJeffrey Adamson2016-01-201-2/+4
| | | | | Test with lots of args that break existing script ./ant --execdebug -Df='"' -Dx="'" "-Dx='" -Dz=\'\""'"
* Bug 58874: Ant fails to run if ANT_HOME contains a double-quote character.Jeffrey Adamson2016-01-151-1/+1
|
* use git attributes to control line-endsStefan Bodewig2015-04-251-0/+2
|
* make complete-ant.pl provide all targets as completionsStefan Bodewig2015-02-071-4/+7
| | | | | | Patch by Christian Schmidt Fixes bugzilla issues 57542 and 51931
* enhance complete-ant-cmd.pl to know about -file and $ANT_ARGSStefan Bodewig2014-12-241-4/+4
| | | | | Bugzilla Report 57371 Submitted by Christian Schmidt
* patch by Vitold S: make runant.py deal with spaces in java's path.Vitold S2014-11-181-2/+8
| | | | fixes #1
* after all these years we still have some author tags leftStefan Bodewig2014-11-174-12/+1
|
* port Tomcat's logic for setting JAVA_HOME to an script - PR 52632Stefan Bodewig2013-01-171-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1434680 13f79535-47bb-0310-9956-ffa450edef68
* #52556: removed buggy duplicate JAR list in RPM mode.Jesse N. Glick2012-01-311-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1238725 13f79535-47bb-0310-9956-ffa450edef68
* update of complete-ant-cmd.pl suggested by Ondra Medeksee ↵Antoine Levy-Lambert2011-01-071-2/+2
| | | | | | http://mail-archives.apache.org/mod_mbox/ant-user/201101.mbox/%3CAANLkTinbngSscXy5nAQJaCRQPcVHJQqRJSyuzdneyene@mail.gmail.com%3E git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1056313 13f79535-47bb-0310-9956-ffa450edef68
* ant.bat exit strategy improvements and issues, Bugzilla 41039, patch ↵Antoine Levy-Lambert2010-10-191-7/+1
| | | | | | supplied by Mark DeLaFranier git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1024417 13f79535-47bb-0310-9956-ffa450edef68
* don't swallow first arg if CLASSPATH isn't set. PR 49963. Submitted by ↵Stefan Bodewig2010-09-211-2/+2
| | | | | | Devon C. Miller git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@999368 13f79535-47bb-0310-9956-ffa450edef68
* bash completion failes if ant throws an exception. Submitted by Omer ↵Stefan Bodewig2010-03-251-1/+1
| | | | | | Shapira. PR 48980 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@927416 13f79535-47bb-0310-9956-ffa450edef68
* fix for Bug 48876, ANT_CMD_LINE_ARGS are rippling through lower level Ant usageAntoine Levy-Lambert2010-03-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@921184 13f79535-47bb-0310-9956-ffa450edef68
* fix for bug 48186 ant.bat file ignores -noclasspath if it is the first ↵Antoine Levy-Lambert2010-01-261-3/+0
| | | | | | parameter supplied by Ken Southerland. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@903337 13f79535-47bb-0310-9956-ffa450edef68
* Syntax error. PR 47911Stefan Bodewig2009-09-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@819556 13f79535-47bb-0310-9956-ffa450edef68
* support MSYS/MingW. Submitted by Clement OUDOT. PR 46936Stefan Bodewig2009-04-091-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@763652 13f79535-47bb-0310-9956-ffa450edef68
* more alarmist warning if launcher jar is missing. PR 34505.Stefan Bodewig2008-11-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@710055 13f79535-47bb-0310-9956-ffa450edef68