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
Michael Seele
8a231f6647
remove typo and duplicate code
This closes #102 pull request at github/apache/ant
6 years ago
Jaikiran Pai
a7a1906806
bz-63827 Minor change
6 years ago
Jaikiran Pai
02ffb258c8
bz-63827 Print out stacktrace in "legacy-xml" when the test is aborted too
6 years ago
Jaikiran Pai
23a3665c3e
bz-63827 Print out the stacktrace when writing out the XML from "legacy-xml" formatter of junitlauncher
6 years ago
mguessan@free.fr
451ecde5c9
Send FQDN instead of simple hostname in SMTP HELO command
This closes #101 pull request at github/apache/ant repo
6 years ago
jkf
aac25de91c
Fixed regression on javac version selection in case build.compiler property is set.
6 years ago
Jaikiran Pai
5981e1bff1
bz-63680 Fix the LegacyXmlResultFormatter to recursively look for a parent testclass name, until it finds one
6 years ago
Jaikiran Pai
2b8f19ae9d
bz-63680 Prevent StringIndexOutOfBoundsException while trying to infer the package name of a test class
6 years ago
Stefan Bodewig
e3eb039ab6
use Files API rather than FileWriter
6 years ago
jkf
ee3ef7a0c3
1.10.7
6 years ago
jkf
bd7934edef
FTP checkstyle fixed + removed spurious part from ftp.html
6 years ago
jkf
b719dcff3d
Bugzilla 63252 FTP prevent No Transfer Timeout during long listings by Eugene Adell
6 years ago
jkf
1702b68043
Add Ftp ant task timeout documentation also updated
6 years ago
jkf
e6b44170a8
Bug 47414 - [PATCH] Add Ftp ant task timeout by Eugene Adell
6 years ago
jkf
4af2316888
sorry for messing up with tabs
6 years ago
jkf
7b825e7c96
More easily avoidable 1.x confusion removed
6 years ago
jkf
8f90351387
improved version handling in CompilerAdapter
6 years ago
jmkf
5c8178b5b3
Merge pull request #98 from slobokot/fork-javac
Use commandline argument file for all options, but -J, for case javac…
6 years ago
jkf
d49dacf854
JavaEnvUtils - Suppot of JDK1.8+ only
Updated JavaEnvUtils to reflect that we are running JDK 1.8+, and
removal of checks that have become obsolete as a consequence thereof
6 years ago
jkf
6904fd1eee
make deprecated method use non-deprecated method instead of the other
way around
6 years ago
sergiys
a207d5b8d2
Use commandline argument file for all options, but -J, for case javac.forked=true
6 years ago
sergiys
15fcc941e0
Use commandline argument file for all options, but -J, for case javac.forked=true
6 years ago
twogee
15958559a8
Refer to Java 8 documentation for consistency
6 years ago
jkf
382edda476
Patch improving FTP Connection Closed error handling and reporting by
Eugene Adell
6 years ago
jkf
35d3b9ab11
@BeforeAll failing should break build. Pr 63479
6 years ago
jkf
823a5316eb
PR 53457 - ByteBuffer::limit and ByteBuffer::rewind are new methods linked when building on jdk11 this prevents running ZIP related tasks on jdk8 from completing successfully
6 years ago
jkf
e5e41f0353
Fixed broken javadoc
6 years ago
jkf
ceb39e2179
removed http links from java sources to the extent possible
6 years ago
jkf
3a4980e3c4
updated reference to license from http to https using
find . -type f -exec sed -i "s/http:\/\/www.apache.org\/licenses\/LICENSE-2.0/https:\/\/www.apache.org\/licenses\/LICENSE-2.0/" {} \;
6 years ago
Matthias Gutheil
b8451922b6
[junitlauncher] Add support for selecting tests based on JUnit-5 tag functionality
This closes #93 pull request at github/apache/ant repo
6 years ago
Jaikiran Pai
03a718d88d
bz-63446 [junitlauncher] Create the right number of listeners in the test definition representing the fork mode of "testclasses"
Patch contributed by mseele@guh-software.de as an attachment to
the linked bugzilla
6 years ago
Jaikiran Pai
0259c0b981
bz-63259 Don't check the FTP file for being a symlink, more than once
Patch contributed by Eugène Adell, as an attachment in the bugzilla issue.
Signed-off-by: Jaikiran Pai <jaikiran@apache.org>
6 years ago
bd2019us
4803eb24ae
Wrap FileWriter with BufferedWriter for better performance when the write() method is invoked in a loop
6 years ago
wenjingwang
e91c4dc223
Fix the issue where scp transfer completion tracking wasn't being triggered for 100% completion
This closes #91 pull request at github/apache/ant
6 years ago
Stefan Bodewig
9722f062dc
missing license headers
6 years ago
twogee
f109d2f31d
HTML5-compliant javadoc
This closes #88 pull request at github/apache/ant repo
6 years ago
twogee
99bb33d67b
Add HTML validation check, fix head in package.html
7 years ago
twogee
d01d88a19d
Fix doctype and language
7 years ago
Jaikiran Pai
6e96e43111
Fix javadoc and manual errors related to the newly introduced readTimeout attribute for Http condition
6 years ago