Jaikiran Pai
079c134fd5
Introduce an "atmost" attribute for the javaversion condition
5 years ago
Jaikiran Pai
a2b9f4c33e
bz-64742 Fix SCP task (with sftp=true) to correctly parse the remote directory when fetching from root directory
5 years ago
Stefan Bodewig
a837084980
enable Nashorn compatibility when running GraalVM JS
and add a magic property to disable it again
5 years ago
Maarten Coene
7e6cc33e04
Add the possibility to specify a custom filename mapper when creating an INDEX.LIST ( #134 )
5 years ago
Stefan Bodewig
6c3d7de934
no longer complain when not finding tools.jar
People using the JRE won't have it and it has been removed from
OpenJDK with Java 9, it seems.
5 years ago
Stefan Bodewig
f891c4bd8b
config may return null-hostname for wildcard configs
5 years ago
Stefan Bodewig
569e428850
replace our ReaderInputStream with the one of Commons IO
https://bz.apache.org/bugzilla/show_bug.cgi?id=40455
Suggested by Vladimir Sitnikov
5 years ago
Stefan Bodewig
aab46b586e
Merge pull request #135 from apache/property-enumerator
Property enumerator
5 years ago
Stefan Bodewig
87ac51d3c2
fallback to a separate owner-only tempdir if possible
5 years ago
Stefan Bodewig
08a6e42fb4
log an error message if no JavaScript engine can be found in Java 15+
5 years ago
Stefan Bodewig
2c5194ed03
make local properties visible to propertyset
fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=50179
test by Sai Kiran
5 years ago
Stefan Bodewig
0bd346c5c3
add a PropertyEnumerator delegate to better support PropertySet
5 years ago
Stefan Bodewig
35d9f3bc9a
Merge pull request #133 from twogee/new-instance
Class.newInstance() is deprecated in Java 9+
5 years ago
Stefan Bodewig
40d9c2b28e
Merge pull request #115 from twogee/duplications
Remove duplicated code
5 years ago
Stefan Bodewig
3b06118487
Merge pull request #131 from twogee/getref
Another getCheckedRef() refactoring
5 years ago
Stefan Bodewig
d32d5dc961
Merge pull request #129 from simon04/appendElapsed
Extract LegacyPlainResultFormatter.Stats#appendElapsed
5 years ago
twogee
eefeb6158a
Remove duplicated code
6 years ago
twogee
612faa8f44
Refactor getCheckedRef()
5 years ago
twogee
ae0c87be2b
Class.newInstance() is deprecated in Java 9+
5 years ago
Stefan Bodewig
1a13b690bc
Merge pull request #123 from twogee/useless-escape
Superfluous escapes
5 years ago
twogee
ebd0f05827
Superfluous escapes
5 years ago
twogee
3a869e7b70
Added @since
5 years ago
twogee
024fc171a8
More MagicNames
5 years ago
Stefan Bodewig
736eb32aad
Merge pull request #130 from twogee/correct-javadoc
Correct javadoc
5 years ago
Stefan Bodewig
f7159e8a08
document why we are actually removing the file before writing
5 years ago
twogee
e20bad209d
Bz 64612: <filelist> not supported
5 years ago
Simon Legner
39c31c8320
Extract LegacyPlainResultFormatter.Stats#appendElapsed
5 years ago
Stefan Bodewig
1ce1cc2317
avoid FileOutputStream constructor
5 years ago
Stefan Bodewig
be9b424d12
relax some Graal.js Security rules for <script*>
5 years ago
Stefan Bodewig
4eb3b5b7d5
fix potential NullPointerException - Bugzilla Issue 64438
5 years ago
Stefan Bodewig
a8645a151b
use nio.Files.createTempFile rather than File.createTempFile
5 years ago
Stefan Bodewig
041b058c7b
make junitlauncher use ant.tmpdir as well
5 years ago
Stefan Bodewig
fe7e9617ed
Merge branch '1.9.x'
5 years ago
Stefan Bodewig
9c1f4d905d
provide a magic property that overrides temp directory
5 years ago
Stefan Bodewig
bc9fed1198
Merge branch '1.9.x'
5 years ago
Stefan Bodewig
45fd589a1f
rmic has been removed in Java 15+
5 years ago
Stefan Bodewig
d591851ae3
make junitlauncher and friends use FileUtils.createTempFile
5 years ago
twogee
814e95b745
More magic names
6 years ago
twogee
bf7c94af20
antlib: is a magic name
6 years ago
twogee
ae32a21a7e
build.sysclasspath is a magic name
6 years ago
Tony Gravagno
9b0842fafa
Fix space issue in AntStructure.DTDPrinter
Task AntStructure renders a project DTD. In AntStructure class DTDPrinter, line 327, a single statement is used to concatenate a list of enumerated values which are valid for an attribute. The list is enclosed in parentheses. At line 348 the string "#IMPLIED" is appended to all attribute definitions regardless of type. For other types like Boolean and CDATA, a space is appended. Not for these enumerations. This results in a DTD validation error. Ref [XERCES definition](https://xerces.apache.org/xerces-j/apiDocs/org/apache/xerces/utils/XMLMessages.html#MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF )
The full message displayed in VSCode may be different from elsewhere:
White space is required before the attribute default in the declaration
of attribute "x" for element "y".
xml(MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF)
This simple one-line change appends the space character required to avoid that error.
**Note:** This should not be modified into a change on the `joinAlts` Collector which surrounds values in parentheses. That Collector is used elsewhere where regex syntax is applied immediately after. See line 298. That asterisk cannot be separated from the values with a space. The space must only be applied to line 327.
6 years ago
Jaikiran Pai
6a06674efb
bz-63958 Correctly parse the forked mode launch definition in cases where a listener element is a sibling of either test or testclasses element
6 years ago
Jaikiran Pai
c4aeb9cd93
bz-63921 Using a "live" keySet() can result in ConcurrentModificationException
6 years ago
Marc Guillemot
fc82dd1bf6
bz-63850 junitlaucher legacy-xml: don't lose exception from @BeforeAll
6 years ago
Emmanuel Bourg
b6143efab2
Support the SSH configuration file (~/.ssh/config) in the sshexec, sshsession and scp tasks
This closes #106 pull request at github/apache/ant repo
6 years ago
sergiys
7b0e8555a0
bz-63874 Fix regression introduced by commit "Use commandline argument file for all options, but -J, for case javac"
This closes #105 pull request at github/apache/ant repo
6 years ago
Jaikiran Pai
5334942ce9
bz-62617 Move the log message to the right place
6 years ago
Yusuke Shinyama
1b42c235a1
Made some variable names more consistent with the other parts of the code.
6 years ago
Jaikiran Pai
1bfa7880af
bz-62617 tstamp task - Honor SOURCE_DATE_EPOCH to allow reproducible builds
6 years ago
Stefan Bodewig
8511719cf3
I've broken output to files that don't exist before running sshexec
6 years ago