Peter Donald
2efc459991
Reuse constants already defined by JDK
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270966 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
40d4de5a07
Minor touchups
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270960 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
21851ffa6f
Don't modify parameters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270959 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
10def2afa4
Made Expand archive-agnostic and the subclasses (Unzip/Untar) are the only ones that know about the specifics of a particular archive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270944 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c6cabe48e1
Cleanup the expand related classes a lil more
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270943 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fa273bcbb4
Cleanup the expand related classes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270942 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6584b1cf3e
Move zip/tar related archiving and un-archiving classes into new package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270941 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
91b64c4ca6
Move TarFileSet.getFiles() into ScannerUtil
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270940 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
58083da2a7
Cosmetic touchups
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270939 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
26d5ac6cd5
Update classes for recent changes in fileset/scanner separation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270938 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b8d1f622ef
Move scanning out of ZipFileSet into this class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270937 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7c59613e55
Extend the framework fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270936 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ad91082694
Made Execute2 only take Commandlin objects rather than an arrya of strings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270932 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3494ca7bb3
NAMELEN constant moved to TarEntry
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270926 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
764c1a617b
Dont test booleans againstr true/false in condition expressions
Fixing a audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270922 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
076d8fda91
Made loop counter a simple variable rather than a complex value
Fixing a audit violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270921 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
71eaa47717
Ugly hack to retrieve ExecManagerService by directly instantiating factory. This should really be done by the container in the future but is done here now to test out some ideas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270870 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0c7462a17f
Update tasks to reflect movement of logic from objects to service/utility objects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270865 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ecabb60891
Move FileSet logic into a ScannerUtil class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270864 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a71d1ee865
Cleaned up scanner a little
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270862 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bf72fe7cfe
Add some more authours from original file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270861 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
918484ab41
Move security/signing/etc related tasks to antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270860 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
74e0414fae
Migrate patternset to framework package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270858 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fef5fd66d1
Create a utility class to contain all the static scanner utility functions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270840 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1581725922
Filter through the changes to PatternSet to other tasks/types
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270836 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
432a0ae47a
Convert creator methods into adders.
Remove ability to load patterns from files and so forth - do this in a separate task.
cleaned up a bit of cruft aswell.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270835 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
10a5eaecd4
Replace NameEntry class with Pattern class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270831 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ce7d0dd681
Zap whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270830 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6a608b16ae
Reuse IOUtil functionality
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270829 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
8ce1de2178
- Fix order of modifiers
- Fix duplicate/unecessary imports
- Fix single if/else and loop without block
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270813 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
42f63164a8
Moved some path manipulation utilities into PathUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270809 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
480c59459b
Moved toURL from Path to PathUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270808 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e84e6207dc
Cleaned up copy method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270807 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
04ce488e76
Moved inner class to be a top level class
Moved toURL from Path to PathUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270806 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4850b4c745
Move addExtdirs to PathUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270805 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3c5d592a35
Extract inner classes and move contentEuqls to FileUtil
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270804 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9026bb612d
Use IOUtils.shutdown() for readers/writers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270803 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fecfb6147a
Started to cleanup ExecuteOn
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270801 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
892dd8df07
Started to cleanup ExecuteOn
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270800 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8d3ee3fbea
Reworked task to remove dependency on Execute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270799 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7e5853486c
Did some create->add munging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270798 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
38dce34edf
Did some create->add munging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270797 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ee6f20fbfc
Move general purpose utility code for bzip/zip/tar into aut
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270795 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8bf8f72792
addConfiguredX --> addX
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270794 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7ac20d949c
Started to refactor and clean code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270793 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c05fecf453
No need for interface to be public
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270792 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
337e359a8a
Cleaned up class a little
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270791 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f0aec0feb7
Move g/b zip stuff into new library
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270787 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
29cd889775
The attached patch makes <path> useable as a data-type in myrmidon.
* Added a String -> Path converter.
* Added the appropriate declarations to ant1-ant-descriptor.xml.
* PathLocation is now only used internally by Path. This means a <path> may
not contain nested <pathlocation> elements any more. Nested <path> elements
can be used to do the same thing.
* Removed Path.systemClasspath and Path.concatSystemClassPath(). The goal
is to add specialised <systemclasspath>, <antruntime>, and <javaruntime>
data-types to control this explicitly. I left it unfinished, because the
as-yet-unwritten Java util stuff will determine how it should be done.
* Moved Path.addExtdirs() -> DefaultCompilerAdaptor. This was the only
place it was used.
* Cleaned out a few more Path createX() methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270786 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7b52927716
Whitespace zap
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270785 13f79535-47bb-0310-9956-ffa450edef68
24 years ago