twogee
f109d2f31d
HTML5-compliant javadoc
This closes #88 pull request at github/apache/ant repo
6 years ago
Gintas Grigelionis
790e27474f
Revert "Check spelling"
7 years ago
Gintas Grigelionis
54b6df2f44
Check spelling
7 years ago
Gintas Grigelionis
6656db28bb
Let’s use doclint
8 years ago
Matt Benson
b7d1e9bde4
java 5-8
8 years ago
Stefan Bodewig
c11dcf20fa
add support for jarsigner's -tsadigestalg to <signjar>.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60665
8 years ago
Ville Skyttä
43844a7e6b
PR 56748 Spelling fixes, submitted by Ville Skyttä
11 years ago
Stefan Bodewig
ba170891db
PR 56678 allow tsa proxy host to be used without tsaurl in signjar
11 years ago
Stefan Bodewig
f98f495510
PR 56678 only set proxy configuration for TSA if url is set
11 years ago
Stefan Bodewig
7f51882300
PR 56678 - add proxy support to signjar when using the TSA. Submitted by Robbie Gibson.
11 years ago
Jan Matèrne
1b76f1b6da
checkstyle
11 years ago
Jan Matèrne
bf6026a147
organize imports
11 years ago
Jan Materne
bed22b00f7
JavaDoc fixes (for Java8 doclint) - first bunch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1586262 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Jesse N. Glick
ea33301047
#52829 : ResourceCollection now Iterable<Resource>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1326760 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
5b256dff1e
provide control over signature and digest algorithms in <signjar>. Submitted by Wang Weijun. PR 52344
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1221901 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
66750f9349
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1026986 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
38cd07c803
don't rely on IntorspectionHelper normalizing file names in signjar. PR 50081.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1026982 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
4276a308cb
Use FileUtils#setFileLastModified instead of File#setLastModified
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@957441 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
0cda41d5b7
add a force option to signjar. Based on submission by Pavel Jisl. PR 46891
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@763661 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
edb0dd9582
use adapter instead of instanceof checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@718387 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
dda05149e5
use sigfile attribute when checking whether a jar is already signed. PR 44805. Submitted by Clemens Hammacher.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@695797 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
00829ad00c
[43348] Use FileProvider interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668724 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
d5836ac061
Changes after static code analysis.
Code totally equivalent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526545 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
0a5cf98f65
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476580 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f958e23640
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470587 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
176d949191
Removing unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@357509 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
c51cce56b8
support for filesystem based resource collections in <signjar> and VerifyJar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349639 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
5a4fe63383
Fix comparison w/ exposed NPE
PR: 36093
Obtained from: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278513 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
653aa05d13
removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278418 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
02c264aee4
name hiding
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278108 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
450c0f1f2f
Factor out a base classs and add a verification task, a verification which cannot rely on return codes as a success metric, as the program returns 0 even for invalid jars. Hence the disabled test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278052 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
b41196e3ea
-TSA support, bug 32390
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278050 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
abf8e1ecce
-tests for old and new signjar features written; working
-signjar test patched for offline testing
-fixed SignJar to pass the tests
-doc updates to match tested code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278049 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
05a18ba69b
can't have checkstyle whining, can we?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278048 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
2e717000bd
revert reformatted license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278047 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
3b2ee53658
This is an interim checkin, with new features and some refactoring. All existing (minimal) tests should work, let's see what gump thinks.
This is still a work in progress...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278044 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
38e8c82493
This commit eliminates all (but one) use of Project.createTask("some name") from the codebase. It also sets up all created tasks using the new Task.bindToOwner call.
I'm tempted to retrofit Task.bindToOwner back to the 1.6.x codebase, for the benefit of third party tasks; same for the extra constructors for exec and java. Thoughts?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277700 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
90c28ffdf9
Move some validation into execute();
remove unnecessary guards against storepass == null.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277630 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c9028f9f98
Tighten security by sending storepass and keypass to signjar
via the input stream of the forked process.
Also, create signjar's helper ExecTask instance directly rather than by
typedef discovery mechanisms.
PR: 33433
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277629 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
257dadeaf0
Make use of FileUtils in a uniform way via the getFileUtils method and a static final reference in the using files.
Also removed unused/* imports along the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277295 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
99055de433
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277094 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
c55c4a0106
make the preserveLastModified field private
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277080 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6a3d5030bb
add new preservelastmodified attribute to signjar
PR: 30987
Obtained from: Ignacio Coloma
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277079 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0adae3872f
* Use <issigned> from <signjar>
* Refactor <issigned> by moving the test into a static method so it is
easier to use from a different task.
* Avoid IndexOutOfBoundsException if name is shorter than eight characters.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277066 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
52a4c5f901
Misc. corrections in SignJar.java
PR: 28999
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276454 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
122c6ddd9e
A new uptodate test that includes granularity. the
intent is to move all date tests to this single place, to eliminate inconsistencies.
The only place I use it is signjar, which, by virtue of the fact there is no signjar test, means I know it wont break the tests.
Also, cleaned up the reflection hacks for 1.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276381 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago