Stefan Bodewig
2839e2ca84
License police on utility packages:
Make sure all years in which a file has been modified are listed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270656 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2fdf6b699f
missed two subdirectories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270655 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d0fd746309
License police on testcases and stylesheets:
Make sure all years in which the file has been modified are listed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270654 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
950556fcd5
- Use non-deprecated method of Java task to set arguments
- Minor code layout
PR: 5723
Reported by: gert.driesen@ardatis.com (Gert Driesen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270651 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
efa9cca0e4
- Incorrectly overload long skip(long) with void skip(int)
- Code layout
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270650 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
86b5885efa
Use getProject() rather than project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270649 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
05b398c9b6
- Incorrectly overloads the setCommand method instead of overriding it.
- Minor code layout
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270648 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7cbd5df017
Remove code that has never been used in any released version of Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270645 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
244252d7c9
Code layout only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270644 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
8ad08b2392
remove this double naming guidelines...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270643 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
437a1cfc7a
Remove double check for same condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270642 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ca1005cfdc
Code layout only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270641 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
624fb42975
Code layout only.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270640 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
a4d8a1d817
Code layout
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270639 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3fa5d5e35c
Layout code
Enforce naming guidelines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270638 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e3b6d1fe76
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270637 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
32b8cce516
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270636 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
69f90db91b
Fix weird insertion.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270635 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f7940f8b48
Fallback to 1.2. Come back later for this one.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270634 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
dd4f44627a
Fallback. Come back later for this one.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270633 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6e55790037
Fix bug...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270632 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
130315b576
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270631 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
7a4e9ca227
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270630 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9f2aca50e3
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270629 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2ddcd97730
Fallback to protected attributes to prevent breakage.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270628 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4bcc447285
Help people who's mail server doesn't speak SMTP correctly.
PR: 5273
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270624 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e01d1142c
Move responsibility for cleanup to the test themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270623 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
41bb266266
Add Primary Key capability to iPlanet deployment tool
Submitted by: Paul Spillman <Paul.Spillman@Sun.COM>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270622 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
aa27429577
Improve the <equals> condition by adding trim and casesensitive attributes.
Inspired by: Frank Bechmann <frank.bechmann@dcw-software.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270621 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
433f71348f
- Apply coding guidelines. No protected attribute anymore.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270620 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a8d83a4528
Don't lie about the CLASSPATH being used - build.sysclasspath changes
everything.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270617 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cf745efc64
Improve logging when <available> is being used as a condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270616 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5d79a4f5eb
Addition of destFile(File) attr to the zip/war/ear/jar tasks, fixup of docs, replacement of deprecation methods and appropriate changes to the tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270605 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
78602edfb7
Additional debug messages to make it easier to diagnose why a task
can't be instantiated.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270603 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3d59359997
Remove CVS conflicts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270602 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
36acaa7bec
Add an IndexOf method that returns the index of
the selected attribute in the enumeration.
The selected index is kept so that class extending
it can easily do a 1-1 mapping with values without
looping over the array again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270597 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
434ef8d608
Fix for Bug 5637
NPE in JUnit XMLJunitResultFormatter if setUp() in TestSetup throws AssertionFailedError
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270512 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f87b5ed775
- Add "label" attribute on checkout per request from Greg Frank - checks out a specific view label.
- Add "recursive" attribute as in the deprecated <starteam> task.
- Add "forced" attribute as in the deprecated <starteam> task and avoid checking StarTeam statuses when true.
- Make sure all exceptions are caught on execution and rethrown as build exceptions.
- Fixed a bug (using the "forced" attribute) which were causing files to be incorrectly not checked out when a rootLocalFolder was specified because the StarTeam file statuses were being checked in relation to the default directory.
- Fixed a bug where files were deleted immediately after being checked out when a rootLocalFolder was specified because the task erroneously thought the file was not under starteam control.
- Code layout to fix weird indent issues.
PR: 5583
Submitted by: stevec@ignitesports.com (Steve Cohen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270490 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6e6abf78f4
Removing DestFIle, DestDir, SrcFile, SrcDir, ValidatedFileAttribute and PreferredAttribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270489 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
9a7f0056b4
Removed references to ValidatedFileAttribute and PreferredAttribute.
Reverted IntrospectionHelper to previous version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270488 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
1620dd543b
Usage of SrcFile,SrcDir,DestFile,DestDir abandoned. Rolling back to
previous state.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270487 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
90164753d1
added package mapper as an official mapper type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270486 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
808bdccb90
made Javadoc provided example more realistic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270435 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
215ff90fee
oops, forgot the license on first pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270423 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
93092c4c72
A new mapper to allow checking <uptodate> from test cases to their XML formatter results.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f82ca6ff2d
Added additional methods to deal with strings.
This is mostly to avoid the use of regexp for
simple tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270393 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f1b8684907
Add an option to append output, I set it to false
to preserve behavior but I think it would be better
to true.
PR: 5559
Reported by: stefanf@decode.is (Stefan Freyr Stefansson)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270392 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
08ddc22648
Messages no longer prefix DestDir, DestFile, SrcFile, SrcDir to prevent
providing possibly confusing error messages to user.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270391 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
781137c4d8
setFile(File) deprecated and replaced with setFile(DestFile).
DestFile is used in this case eventhough SrcFile would make more sense
because currently, <property> does not throw an exception if the file
is not found - it just logs a message. If SrcFile were used, it would have
thrown an exception if the file was not found thereby being backwards
incompatible.
<property> was not checking to see if the supplied file was a directory.
It used to throw a java.io.FileNotFoundException previously. Now it
prints a message saying that it is not a file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270390 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
afa65467f7
1. setSrc(File) deprecated and replaced with setSrc(SrcFile)
2. setDest(File) deprecated and replaced with setDest(DestDir)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270388 13f79535-47bb-0310-9956-ffa450edef68
24 years ago