Conor MacNeill
b36b67d9e2
New Launch facility. Separate jar now can be used to launch Ant which
takes over some of the functionality traditionally found in the Ant launch
scripts.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274724 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9f6981d2a2
Get Project#getTaskDefinitions and Project#getDataTypeDefinitions
to emulate old behaviour
This fixs the <antstructure/> output.
Provide ComponentHelper#getAntTypeTable to provide the full table
Revert changes to ProjectTest
Update Typedef.java (forgot this in previous commit)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274723 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c858d88d08
opps - 2: set includedelims to the attribute in the C&P method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274722 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6453ac69c1
opps: set includedelims to the attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274721 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4ae9767592
Make filtersets preserve line endings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274720 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0f3d4a58ff
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274719 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8701272b24
Second patch from antlib update as described in
http://issues.apache.org/bugzilla/show_bug.cgi?id=19897
This patch
* unifies the type and task definitions into one table
* types and tasks are represented by a AntTypeDefinition object
* taskadapter has been generalized to a typeadapter
* <typedef/> has a number of new attributes:
- adapter
- adaptto
- onerror
* <taskdef/> html page updated to refer to <typedef/> page
PR: 19897
Submitted by: Peter Reilly
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274718 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
26f6bfe2be
Added ANTLR#setGlib(File)
Marked ANTLR#setGlib(String) as deprecated, and make it call
the new setGlib(File)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274717 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
84d3e4a158
All the tests in ANTLRTest.java involving a super-grammar file were failing on Windows.
This change fixes the problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274716 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a07fa67848
Remove paste error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274715 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b498a4535a
Use the new FileUtils#rename method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274714 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
da037ebd0f
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274713 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7f18b8f611
Make fixcrlf work even with /tmp on a separate filesystem
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274712 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
2f59f52b63
Fix ImageTest for Windows environments.
The test was failing due to non respect of the date/time granularity of the
filesystem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274711 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ef835e0238
Help people who want to donate money to find their way
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274710 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
76c58c9b00
Make ClassFileSetTest pass under Windows.
Scanned files are represented with File.separator, not with a slash under Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274709 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1d273bec1a
An error was happening under Windows when executing the cleanup,
test3.zip could not be deleted.
This is now fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274708 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a1f6b5b24b
Fix typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274707 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b4cde9dabb
Use java.io.tmpdir as location for temporary files
in FileUtils#createTempFile (when the directory parameter is null)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274706 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a27bac8c23
fix tests that failed because of wrong case in filenames
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274705 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
db672be888
2003 and some 'since' information
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274704 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
a38cf7332c
added checksum enhancement to whatsnew
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274703 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
931a037496
#20767 - adding totalproperty and todir attributes to checksum task - submitted by Aslak Hellesoy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274702 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
16a5d1b56c
Aslak prodded: issue 20767 - enhancements to checksum
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274701 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ab8b8ef566
Allow <touch>'s datetime attribute to accept seconds as well.
PR: 21014
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274700 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
af90534b7b
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274699 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
cdd1db5a99
PR: 17195
Submitted by: Markku Saarela
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274698 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0e3229eb49
Fix error message when filtersfile is missing.
PR: 20825
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274697 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e4f004d939
Add support for nested dirsets to <apply> and thus to a couple of
subclass-tasks as well.
PR: 20687
Submitted by: Gus Heck <gus dot heck at olin dot edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274696 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a39aaa86b6
Create parent directories for destination files if they are missing.
PR: 20840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274695 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
91ae25fffb
Demonstrate PR 20840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274694 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
760f5d26a1
Make FileUtilsTest pass on my machine (Windows 2000, JDK 1.4.1_02)
2 changes :
- there was no luck with setting the date/time of a file to 123456
milliseconds since the epoch
Instead, I set the date time of the file to current time + one day
this works.
- I changed the test toURI, specs beginning with / or \\ turn URIs
beginning with file:///C:/
Note :
I observed an error in the date/time returned by java and what I would
expect theoretically under Win 2000 and JDK 1.4.1_02
of 16,344,000 (16 millions of milliseconds), slightly
more than 4 and a half hours.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274693 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
02307f7dea
Make Expand behave like DirectoryScanner if a pattern ends with a
trailing slash or backslash.
PR: 20696
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274692 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fddadc930e
Demonstrate Bugzilla Report 20969
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274691 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
93c2ff54b0
PR: 20966
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274690 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3bf1a4ed37
Throw in copyright year check as well (you knew I'd do that, no? 8-).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274689 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3d4065270e
Add pointers to FMPP and GroboUtilsCoverage
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274688 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
406fbb2aca
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274687 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
5abbef537e
Fixed imports, replaced import java.io.*; by each of the 4 classes
really used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274686 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4bad244b02
new book : Extreme Programming with Ant
Submitted by: Glenn Niemeyer (gniemeyer at tech-partners dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274685 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
f766a91473
Doc fixup. I have just started to use this: I like it, but still need to understand all that it does.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274684 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
345fe8ef34
xdocs fixup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274683 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9b60f270d4
Allow JUnit to reuse the same classloader when fork is set to false
Submitted by: michael_beauregard at transcanada dot com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274682 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
082953af15
Add some details about my activities and a link to my private website.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274681 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1a12c40a4c
Prevent <ejbjar> Borland implementation
from being blocked by java2iiop warning messages
PR: 19385
Submitted by: Benoit Moussaud (benoit dot moussaud at criltelecom dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274680 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e96b349816
PR: 20457 and 20870
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274679 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
503e2b978e
Create the temporary file for output of FixCrLf in the default directory
of FileUtils#createTempFile
This default directory is presently the current directory where ant is running.
I think it should be changed to the java.io.tmpdir
PR: 20870
Submitted by: Antoine Levy-Lambert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274678 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
03e9cb96be
fix the issue : VAJRemoteUtil calls getAbsolutePath instead of getPath
PR: 20457
Submitted by: Douglas Reith (douglas_reith at yahoo dot com dot au)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274677 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e00d04fd4a
Rework scriptdef to use DynamicConfigurator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274676 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a812b0a411
Add url attribute to the properties task
PR: 20749
Obtained from: Andrew Ferguson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274675 13f79535-47bb-0310-9956-ffa450edef68
22 years ago