Peter Reilly
4cd0b30115
make scriptdef an antlibbable definition
derive from DefBase and use the uri for the name
this change also provides the classloader attributes
and elements from DefBase to ScriptDef
use the DefBase classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275101 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
95893de3f6
implement sameDefinition for preset definition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275100 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6f6769834a
move same definition to AntTypeDefinition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275099 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ad1b099b28
Add two new attributes timediffmillis and timediffauto for the ftp task
so that the newer attribute can take into account time differences between local
machine and remote server.
PR: 19358
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275097 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6cd58fa504
Newer versions of Kaffe have a filesystem layout similar to Sun's VMs,
don't exclude rt.jar and friends.
PR: 22297
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275095 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4177bdb64e
mistake found ... oops ... corrected
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275093 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
58968aaa63
Make <jjtree>'s outputdirectory and outputfile attributes work as
expected (i.e. consistent with the command line of jjtree).
PR: 21526
Submitted by: Jene Jasper <jjasper at abz dot nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275090 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
c16e1955f1
Go on working on the followsymlinks support in the FTP task.
The scanner was working previously, but the retrieving of links was not working
because the followsymlinks attribute was not passed through.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275089 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
cadecc293e
Add in Ant 1.6 javadocs for presetdef and macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275085 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
caeb8dad2d
Adding tasks presetdef and macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275082 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9c13b48a82
files which are pointed to by symbolic links should be excluded if followsymlinks="false"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275081 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f2c13ef6e9
fix head as DefBase.java is a new file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275080 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7b67df2d9e
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275079 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a06d11ce99
make definitions work for Mono
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275078 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6292cce472
enum change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275077 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d050f6a18c
remove enum variable
PR: 22336
Obtained from: Robert Stupp, using Jan Mat��rne's checkstyle check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275076 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
fd52619362
removing enum variabe
PR: 22345
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275075 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9434671efa
removing enum variable
PR: 22345
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
72b6e42dae
some 1.1 isms
PR: 22326
Obtained from: Martijn Kruithof
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275073 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
0c43380c15
remove some deprecated methods and 1.1 holdovers
Bugzilla: 22326
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275071 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
737b60acac
Two of the files in 22326
PR: 22326
Obtained from: Martijn Kruithof
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275070 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8213ae861c
typeo use use -> use
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275068 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cdd0ce9448
enable assertions for <junit> the same way as <java> uses them
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275067 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
ca5799fd8c
Add ns support
Also split Definer.java in a base class (DefBase) to allow
it to be used for other defining tasks
Also add AntlibInterface to allow antlib to set uri and
classloader for other tasks/types that Definer.
Bugzilla: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275064 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
aeee70243a
remove unused copy method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275063 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
5d4f445f37
Rename some enums ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275058 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a37c2ec1dd
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275056 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
d18ad0d73d
Don't include ext dir for microsoft jvc when java runtime is excluded.
PR: 18055
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275049 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
067838cf39
Lets try this as a fix: A new option to turn standardlib on
or off that overrides the defaultreferences switch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275046 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1cab901b51
Removed unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275045 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
bd69a79182
2003 and missing license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275041 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
6e219fff93
Fix extraction of long file names in Tar
PR: 15230
Submitted by: J. David Beutel
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275040 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b2f050d8bc
oops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275039 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
130d4ee759
Change the check for the external resolver catalog impl to
ensure it can be loaded by the resolver classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275038 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
24f9da26b5
Issue a warning message indicating that selectors within filesets
are not supported in the ftp task when the fileset is remote
(all actions except put)
PR: 18280
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275037 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
63382d9cbf
Fix the ftp task, its documentation and testcases to maintain backward
compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275035 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5aa4257771
Remove trailing delimiter from addReferenceFileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275032 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
84d3b32703
removed output on System.out, sorry
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275029 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e9d8b2247f
Make the FTP.FTPDirectoryScanner behave like the DirectoryScanner
in terms of following symbolic links which are directories.
This will make a change of behavior in comparison with ant 1.5.3
where the behavior of the ftp task was to never follow symbolic links.
Also select symbolic links which are files
PR: 14063
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275028 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d98034a54c
Make the FTP.FTPDirectoryScanner class also register the root of a fileset
when the root matches include exclude patterns.
This is the behavior of the DirectoryScanner for normal filesets.
This change should only possibly impact the RMDIR modus of the ftp task
when the root directory is included.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275026 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8975a12087
Add a keepcompression attribute to control the compression of entries
that come from existing archives.
PR: 16084
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275025 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5d847c583e
Add if/unless attributes to <param/> element of <style/> task
PR: 22044
Obtained from: Jens
Submitted by: Peter Reilly & Jan Mat��rne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275023 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
07cf1f95cc
ant -Debug would cause a NullPointerException
PR: 22065
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275022 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c74c1765b1
Remove unneeded setting of properties in reinit()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
f41c7c1934
scan the fileset after having called setupDirectoryScanner
PR: 22080
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275013 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2a2141bcb6
Restore System.in, PR: 22066
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275012 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d13027731c
Only calculate the CRC of STORED entries in <zip> if absolutely necessary.
PR: 21899
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
dacde0154f
Revert final on System classpath
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275009 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
39a371ce20
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275006 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e67a40fbb3
Revert part of the commit that made tasks use Execute#isFailure.
On OpenVMS the Java VM will exit with a return code of 0 on success,
even though this is going to signal a failure for the OS. All tasks
that spawn new VMs have now been reverted to explicitly check for
retCode != 0 instead of Execite.isFailure(retCode).
We could as well introduce Execute#isJavaFailure or something like
this in case future VM's on OpenVMS will start to do the right thing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275005 13f79535-47bb-0310-9956-ffa450edef68
22 years ago