Stefan Bodewig
360acf53d0
looks as if -storepass might be required on Java7 even without -strict
7 years ago
Stefan Bodewig
0945257961
verifyjar must use -storepass or jarsigner will not work
https://bz.apache.org/bugzilla/show_bug.cgi?id=62194
7 years ago
Stefan Bodewig
c09ac38799
add the alias in verifyjar if specified
https://bz.apache.org/bugzilla/show_bug.cgi?id=62194
7 years ago
Stefan Bodewig
5aa1e8eff8
Java11 removes support for rmic -idl/-iiop
7 years ago
Stefan Bodewig
e50fdd719c
java 11's javac whines if @Deprecated Annotation is missing
7 years ago
Stefan Bodewig
d9f60aab39
port granularity fixes from master branch
7 years ago
Stefan Bodewig
2a5857c384
port image type bug fixes from Java8 refactoring in master
7 years ago
Stefan Bodewig
21b870006b
properly check return value of mapFileName
https://bz.apache.org/bugzilla/show_bug.cgi?id=62076
7 years ago
Stefan Bodewig
a3246562ff
ensure FileNameMapper implementations deal with null source names
https://bz.apache.org/bugzilla/show_bug.cgi?id=62076
7 years ago
Stefan Bodewig
801a44a207
add some documentation hints
see https://bz.apache.org/bugzilla/show_bug.cgi?id=62076
7 years ago
Jaikiran Pai
7f1685bde0
bz-62076 bz-39960 Expect the mapper to follow the FileNameMapper#mapFileName contract and move the check for null onto the entire returned array
7 years ago
Jaikiran Pai
f3b8ace711
Fix previous commit - Java 5 doesn't allow @Override on implementation methods of an interface
7 years ago
Jaikiran Pai
e3f5250916
bz-62076 Make IdentityMapper follow the "mapFileName" API contract to avoid NPE when it deals with a non-matching source file name
7 years ago
Stefan Bodewig
87409137ed
looks like a bad merge, seems Jenkins doesn't build everything
8 years ago
Stefan Bodewig
a390fd653c
BZ 62071 - fix error message when fileset.setFile is called twice
8 years ago
Stefan Bodewig
82573c463b
fix javadoc
8 years ago
Stefan Bodewig
b38faab1cc
swap constant string and variable in some equals ops
this is a stripped down version of #56 as `isEmpty` is not available
in Java5.
8 years ago
Stefan Bodewig
f57d60d6c1
apply patch #55 by @reudismam which doesn't apply properly on this branch
8 years ago
Jan Matrne
6bb1f2f059
make the Log4j 1.2 Bridge work
8 years ago
Jan Matrne
7a6d765e01
deprecate Log4jListener
8 years ago
Jaikiran Pai
6c860e0036
BZ-58451 BZ-58833 Give StreamPumper a chance to finish cleanly before interrupting its thread, to prevent truncated output
8 years ago
Stefan Bodewig
de95b34f04
use HTML entity instead of unicode escape sequence
8 years ago
Stefan Bodewig
6f5db5e068
more +/- characters
8 years ago
Stefan Bodewig
246bc2bb28
make things work on OS with non-UTF8 default encoding
8 years ago
Jaikiran Pai
afc99e7920
Fix javadoc build failure
8 years ago
Jaikiran Pai
0fd2a86369
BZ-19516 Use BufferedInputStream for reduced memory usage in Zip task, in certain cases
8 years ago
Gintas Grigelionis
5eef12a964
Checkstyle: whitespace, line continuation and modifier idiosyncrasies
8 years ago
Gintas Grigelionis
67f29ce0c2
Let’s use doclint
8 years ago
Stefan Bodewig
79e9d10435
fail early if javah is used with java 10+
8 years ago
Stefan Bodewig
8191d7e0f2
use cleaner methid to detect current java version in <apt>
8 years ago
Stefan Bodewig
6cd989e534
deal with theoretical case of version scheme changing again
8 years ago
Stefan Bodewig
bd0759d943
try to adapt to Java10+ rapidly changing major versions
8 years ago
Gintas Grigelionis
572a249025
Checkstyle: mostly whitespace (cf master)
8 years ago
Gintas Grigelionis
0ed7f4ab51
Normalise tabulation and line breaks (cf master)
8 years ago
Kui LIU
9ec11ae3b0
Remove the redundant nullcheck of value known to be non-null.
This statement contains a redundant check of a known non-null s against the constant null.
http://findbugs.sourceforge.net/bugDescriptions.html#RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
8 years ago
Stefan Bodewig
20fe0ffaf6
properly handle factory configuration exception
based on patch by Kui Liu
8 years ago
Stefan Bodewig
99a7f5916b
createAndSet never returns null
based on pytch by Kui Liu
8 years ago
Kui LIU
013e9159e9
Fix the inefficient use of keySet iterator with entrySet iterator.
The current source code accesses the key and value of a Hashtable entry, using a key that is retrieved from a keySet iterator.
It is more efficient to use an iterator on the entrySet of the Hashtable, to avoid the Map.get(key) lookup.
8 years ago
Kui LIU
c141ef4009
Fix the problem of using '+=' operator to concatenate strings a in a loop.
The method is building a String using concatenation in a loop.
In each iteration, the String is converted to a StringBuilder, appended to, and converted back to a String.
This can lead to a cost quadratic in the number of iterations, as the growing string is recopied in each iteration.
Better performance can be obtained by using a StringBuilder explicitly.
http://findbugs.sourceforge.net/bugDescriptions.html#SBSC_USE_STRINGBUFFER_CONCATENATION
8 years ago
Kui LIU
bb975e67e1
Fix the problem of instanceof test always return true.
This instanceof test will always return true because DataType is the superclass of variable nested's class ResourceComparator. The variable nested is not initialized, it would be better to do a null test rather than an instanceof test.
http://findbugs.sourceforge.net/bugDescriptions.html#BC_VACUOUS_INSTANCEOF
8 years ago
Jaikiran Pai
07c54f0bb1
BZ-60644 Skip copying files, to avoid corrupting source files, if the source file and dest file are symlinked to each other
8 years ago
Stefan Bodewig
01613e0d82
record change, add @since tags, closes #36
8 years ago
George Bateman
a0cb1fa843
Reverse dependancy of DateUtils on Touch
Also add test
8 years ago
George Bateman
9d4b432840
Allow faking of zip entry modification times.
Adds DateUtils.parseLenientDateTime.
8 years ago
Jaikiran Pai
7b09880b6f
BZ-58589 Preserve last modified time (if asked for) for files uploaded by SFTP
8 years ago
Jaikiran Pai
b9125733c4
BZ-43271 BZ-59648 Change permissions on the correct remote file (path) that was transferred, instead of accidentally changing the permissions of the directory containing the transferred file
8 years ago
Stefan Bodewig
4e2e7d9614
add since markers, add Mark to contributors
8 years ago
Mark Niggemann
49d63a1196
Add Orion EJB deployment tool to EjbJar taskdef.
8 years ago
Mark Niggemann
c75d148f32
Add Orion EJB deployment tool to EjbJar taskdef.
8 years ago
Stefan Bodewig
7c6c749c95
add magic property that override's tstamp's idea of "now"
https://bz.apache.org/bugzilla/show_bug.cgi?id=61079
8 years ago