Matthew Jason Benson
595133b251
Pathconvert no longer requires that one of (targetos|pathsep|dirsep)
be set; platform defaults are used when this is the case.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277715 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
eb442aa3a4
More LOC bumming
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277714 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
6956c66566
Trade 2 LOC for 10.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277713 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
767ac903c3
Missing quote in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277712 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b69245c422
those extra tests I threatened
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277711 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
d51eb9c34f
Javadoc and moved members of $MapEntry .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277710 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
6591339aa0
still had an interim attribute name here. fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277709 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fc7d08599f
Fix the date up
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277708 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
2bf7351182
<schemavalidate>. Because I can never get the settings right.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277707 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
83c26f549b
NPE when when <presetdef> tries to configure a task that
cannot be instantiated.
PR: 33689
Reported by: Steve Loughran
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277704 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a18bd33107
On second thought, this seems to be the real fix for
PR: 33412
when updating an archive, we never want to drop files from the
original archive, no matter what the current default excludes setting
says.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277701 13f79535-47bb-0310-9956-ffa450edef68
21 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
Steve Loughran
1821003e3d
these two get new constructors that do the config, as they get created so often.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277698 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
83e3951f2b
Move the logic to bind a created task to an existing one into Task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277697 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
936476ea69
adding a selector to abstractfileset did not null the cached directory scanner
now there is no need to null the directory scanner when cloning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277696 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
2a7681820f
Allo zip to store files with size between 2GB and 4GB
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277688 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3fe9c56566
Needed getDefaulexcludes in 1.6.3 for PR 33412
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277687 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
782e451151
<zip> update ignored defaultexcludes, PR 33412
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277685 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3ead8e446a
Test for PR 33412
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277684 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
c798cf3db8
Don't close SocketClients if connect has failed, PR 33618
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277682 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0562cd0400
clear the cached directory scanner when cloning an abstractfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277681 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
53cde27dd3
Use LineOrientedOutputStream with some tweaks to keep BWC signatures in LogOutputStream
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277671 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
dfa1546f5a
Port LineOrientedOutputStream from svn proposal, add tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277670 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
6784a0918b
*Really* fix Ant-URL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277666 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a122d45da7
fix Ant-URL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277664 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
a04f4210de
javadoc / removed unused local variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277657 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
a585fa2b03
More info to see what Gump sees when this test fails. I may still remove
the clone task, but until then I'll try to keep the tests passing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277656 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
6c3ce08d1e
Really output time, when you say so
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277654 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
3477cc5849
Fileutils closing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277652 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4585920f35
Unfinished caching of IllegalStateExceptions for concurrent scan() invocations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277651 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
162eda4e6c
Splitting hairs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277650 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4ee5a49d4f
Beautify imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277649 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
65802780b6
Merged duplicate code from private methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277648 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4c89cabbb8
More javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277647 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4004834c04
LOC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277646 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0c132498a8
File inclusion: unnecessarily checked presence of selectors
AND DirectoryScanner.isEverythingIncluded, which will be false if
selectors cause omissions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277645 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0cff5aacff
Removing some (IMO) unnecessary blank lines; a couple of string cat merges;
replaced an if block with ?: notation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277644 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
523d0e549f
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277643 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
02bf38263a
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277642 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
d004597c21
Keep setFile atomic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277641 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
e536ed31da
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277640 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
507469d7c5
Beautify imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277639 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
791e3ecd33
Instantiate our own DirectoryScanner, since we plan to override
the fileset's followSymlinks attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277638 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4732c52135
Modified to return a cached DirectoryScanner instance until
changes are made to the AbstractFileSet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277637 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
f701a45a76
Remove trailing spaces (and the whole line they were on too, hey).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277636 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
6c7f485943
Synchronize scanning so that a scan initiated before the end of another scan
will block and the two will share results. Likewise for slow scans.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277633 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
8b162d567d
More javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277632 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
45655beb89
Ensure the forked VM can find the Sun Javah implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277631 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