summaryrefslogtreecommitdiff
path: root/src/script/ant
Commit message (Collapse)AuthorAgeFilesLines
* redo security manager setting to allow calling System.setSecurityManager at ↵Jaikiran Pai2022-12-111-13/+2
| | | | | | | | | | | 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-071-1/+1
|
* 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-06-131-2/+4
|\
| * improve error message if Java cannot be foundStefan Bodewig2019-06-131-2/+4
| |
| * whitespace adjustment in scriptstwogee2017-12-191-17/+17
| |
| * Make build & bootstrap work on macOS (cf ant);twogee2017-12-191-87/+83
| | | | | | normalise whitespace in scripts and use Perl idioms properly
* | updated reference to license from http to https usingjkf2019-05-251-1/+1
| | | | | | | | find . -type f -exec sed -i "s/http:\/\/www.apache.org\/licenses\/LICENSE-2.0/https:\/\/www.apache.org\/licenses\/LICENSE-2.0/" {} \;
* | whitespace adjustment in scriptstwogee2017-12-191-17/+17
| |
* | Make build & bootstrap work on macOS (cf ant);twogee2017-12-191-87/+83
|/ | | 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
|
* 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
* 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
* delay expansion of command line args. PR 31601.Stefan Bodewig2008-10-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@704943 13f79535-47bb-0310-9956-ffa450edef68
* make sure JAVA_HOME and ANT_HOME are set before passing them to cygpath. PR ↵Stefan Bodewig2008-08-081-2/+2
| | | | | | 45245. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@683961 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 42739: fix ant script - cd may have outputPeter Reilly2007-06-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@550805 13f79535-47bb-0310-9956-ffa450edef68
* allow . /etc/ant.conf if ant_home is /usr/share/antPeter Reilly2006-10-131-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463867 13f79535-47bb-0310-9956-ffa450edef68
* use -x instead of -fPeter Reilly2006-10-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463485 13f79535-47bb-0310-9956-ffa450edef68
* place the OPT_JAR_LIST in the correct placePeter Reilly2006-10-121-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463483 13f79535-47bb-0310-9956-ffa450edef68
* 1) modify ant script to *NOT* . include /etc/ant.confPeter Reilly2006-10-101-9/+23
| | | | | | | | | | if ANT_HOME variable is set. 2) apply jpackage patch to ant script 3) modify manual to include the change in behaviour to ANT_HOME and jpackage git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@462590 13f79535-47bb-0310-9956-ffa450edef68
* Yet another uncommon file system layout on AIX, submitted by Henri GomezStefan Bodewig2006-09-201-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448058 13f79535-47bb-0310-9956-ffa450edef68
* Get ant to output a warning if /etc/ant.confPeter Reilly2006-09-151-0/+7
| | | | | | | | has modified ANT_HOME git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446773 13f79535-47bb-0310-9956-ffa450edef68
* copy2license.plStefan Bodewig2006-09-011-11/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439448 13f79535-47bb-0310-9956-ffa450edef68
* crightJacobus Martinus Kruithof2005-03-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277992 13f79535-47bb-0310-9956-ffa450edef68
* PR: 31245Jacobus Martinus Kruithof2005-03-151-2/+8
| | | | | | | cygwin part to handle both unix and windows style paths correctly git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277990 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused code, PR 34018Stefan Bodewig2005-03-151-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277986 13f79535-47bb-0310-9956-ffa450edef68
* add a -cp option to Launcher.java to cause it toPeter Reilly2004-09-061-2/+2
| | | | | | | | treat CLASSPATH different from -lib options. PR: 28046 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276820 13f79535-47bb-0310-9956-ffa450edef68
* Make sure CLASSPATH is set before attempting to change it;Matthew Jason Benson2004-05-061-2/+4
| | | | | | | make sure --mixed option is available to cygpath before using it. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276435 13f79535-47bb-0310-9956-ffa450edef68
* Cygwin/UNC ANT_HOME compatibility using mixed paths on NT-family systems.Matthew Jason Benson2004-05-061-6/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276434 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo.Matthew Jason Benson2004-03-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276185 13f79535-47bb-0310-9956-ffa450edef68
* More tweaks to the RPM specific section, submitted by Randy WatlerStefan Bodewig2004-02-271-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276170 13f79535-47bb-0310-9956-ffa450edef68
* changes following tests under cygwinAntoine Levy-Lambert2004-02-111-3/+25
| | | | | | | | | | | | | adding a second backslash to variables terminated with a backslash to ensure also prevent problem with evaluation of test expressions where -f is compared to something else this error message was happening + [ -f = --h -o -f = --help ] [: --h: unknown operand + [ -f = -h -o -f = -help ] [: -h: unknown operand git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276072 13f79535-47bb-0310-9956-ffa450edef68
* Copyright owner is The Apache Software FoundationAntoine Levy-Lambert2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
* Changes to make Ant installed in JPackage's RPM environment behave aStefan Bodewig2004-02-051-35/+127
| | | | | | | | | | | | | | | | | little bit more friendly. * a new system property ant.lib.dir that if set will be used instead of the location of ant-launcher.jar to slurp in the jars for Ant. * a --noconfig switch that suppresses sourcing of additional configuration files. * various changes to the $rpm_mode specific parts of the file. Submitted by: Randy Watler <rwatler at finali dot com> git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276021 13f79535-47bb-0310-9956-ffa450edef68