Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
270394a09f
Extend the range of options ANTLR task is able to deal with
Submitted by:
Stephen Chin, aphid@versionablestore.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272941 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
ca91f8cb7e
Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1a8bb2e5a5
Add ability to generate XML to <echoproperties>.
Add sourcefile attribute that can read arbitrary files to the same task.
Submitted by: Ingmar Stein <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272806 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
6d54725ac9
DynamicConfigurator - allows tasks themselves to handle unknown elements and attributes rather than being constrained by the IntrospectionHelper rules.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272586 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e6fb386da0
remove some dead stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272580 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8f09259a9e
Make the test pass (as expected) by specifying the working dir for antlr.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272576 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
affdc94099
remove RPM building stuff from distribution.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272572 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9d726c8470
remove generated files in tearDown method of TarTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272568 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ccef0f8982
Implement and document a compression attribute for the tar and untar tasks.
Submitted by: Curt Arnold <carnold@houston.rr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272562 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
73c26feb56
JDK 1.1 doesn't seem to grok spaces in the keys of a properties file,
no matter which version of escapes I have tried.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272554 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
550607147f
merge input propsal into main tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272541 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7b1b3d1667
added test to ensure XMLCatalog *and* classpath are working as expected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272534 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
d7d2c3fe3e
First pass at a slight variant of Nicola Ken Barozzi's XmlProperty task from PR #7767 . More tests and probably some slight refactoring is needed to handle other cases (like the list properties) better, but works as-is pretty nicely.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272527 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
49a7b28ac3
new istrue/isfalse condition tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272523 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
ba37491689
the handy helper class to allow tasks to take hexadecimal, octal, or decimal strings, and returns back an intValue.
test cases even! :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272518 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e7de779f7c
Add new showoutput attribute to <junit>.
There is no automatic testcase for this, but if your run
ant -f src/etc/testcases/taskdefs/optional/junit.xml -Dshowoutput=off
ant -f src/etc/testcases/taskdefs/optional/junit.xml -Dshowoutput=on
you'll see it in action.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272496 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
25a478af38
Testfile for bugs 5377 and 7980 - this is supposed to create no output
at all, but does for the fork="no" thread case.
I tried to put this into a JUnit testcase, but either you can capture
System.out (and destroy DemuxOutputStream's magic) or you don't (and
can't assert there is no output).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272473 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
784f04c929
org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
The goal of this task is to give a list of differences between two tags or
dates. It produces an xml report like the changelog report of the CvsChangeLog
task. The output gives the list of modified files, removed files and new files.
The proposed task name is cvstagdiff.
PR: 8086
Submitted by: fred@castify.net (Frederic Lavigne)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272429 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c814210e57
two tests sharing the same data set
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272422 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1423b4ab9b
Use the normalized value rather than the %. Incidentally it fix a bug that shows
up because the number format in the xml is formatted using a locale dependent
format rather than a neutral dependent format like a float datatype in XML Schema
therefore it is not possible to use interoperate between different locales with the XML.
ie generate the XML using one locale and the xsl using another.
PR: 7877
Reported by: nicolaken@apache.org (Nicola Ken Barozzi)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272420 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
2fb4d80044
wsdl test data
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272387 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bbc333a9be
Fix up zipfileset references to allow any fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272352 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
07a3027bb2
Add a check in depend so that if a class file is out of date and the
source file cannot be determined, the class is not deleted and a warning
is given.
PR: 7312
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
959b74fcb6
Checkstyle setup for checking Ant code base.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272311 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a3d6a54f95
Test depend cache
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272304 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3c96ebf5a3
<depend> task does not handle case where an inner and outer class are written at
different times since they have a mutual dependency. I have introduced a 100
millisecond tolerance to catch this situation
PR: 7529
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272303 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d1549366e5
Make <java> handle exceptions gracefully if failonerror="true" in
non-forked mode as well.
PR: 6353
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272297 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9f71c862fe
New depend checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272286 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
909ef56547
Setup to suport more test sets for depend task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272282 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3963920268
Add in stylesheet forhangelog report.
Submitted by: Frederic Lavigne <fred@castify.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272248 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
69b83f3213
Re-enable DependTest - no longer uses touch
Update many checks to handle optional tasks which require JDK 1.2+
Problems remain for builds with ORO present
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272236 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
ac65e76ac6
Test case for <classfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272221 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c0a3bacdf9
Test cases for <depend> task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272217 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ea60c3f749
Make tag and date attributes of <cvs> work again as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272198 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
62a2e7a759
If package attribute has been set, <cvs> would place it in front of
the command - which is wrong.
Reported by: Ovidiu Predescu <ovidiu@apache.org>
Updated cvs example to point to something usable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272193 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
242af53651
Add nested <commandline> elements to <cvs>
PR: 7433
Submitted by: stephan beal <stephan@wanderinghorse.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272189 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3fce5ce014
testcase for AbstractCvsTask
Submitted by: stephan beal <stephan@wanderinghorse.net>
As you need a CVS client and must run this test in an Ant source tree
checked out from CVS, this test does not run by default, you need to
enable it via
ant test -Dhave.cvs=1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272188 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4488376868
Add testcase for <ant>'s logfile placement, fix NPE in <ant>.
If <ant> should ignore the dir attribute, we only have to change the
locations of test3.log and test4.log.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272171 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5594451580
New task <concat>
Submitted by: Derek Slager <derek@activate.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272165 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
ab9a8557f7
Add patch submitted by Ingmar Stein.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272024 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
eca5133693
Retain order of sections and attributes in manifests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271919 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
cf83aba68a
Finally add the new <basename> and <dirname> tasks. (yay!)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271908 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
37cd9404c7
New attribute - ignoreSstemClasses - added to <available>.
PR: 6031
Submitted by: peterj@liberate.com (Peter Janes)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271903 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
df45efc67a
add license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271851 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fbcba51852
Make the encodings ascii to help us poor linux schmucks who got a crappy range of fonts.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271850 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9c0169b5bd
Added reporting xslt sheet for checkstyle and removed some cruft from jdepend stylesheet.
Submitted by: "Ingmar J Stein" <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271844 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3e35ab334b
two new tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271794 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5aace621e9
Testcase for LoadProperties inclusive of testcases for a few filter readers as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271790 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ef35d9d19d
Fix StripJavaComments such that it strips out java comments properly. Testcase added.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271789 13f79535-47bb-0310-9956-ffa450edef68
24 years ago