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
Magesh Umasankar
f9c551b16e
Promote Filter Reader proposal to main trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271759 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4ab1950bd8
Zip task
duplicate (attribute): behavior when a duplicate file is found. Valid values are add, preserve, and fail. The default value is add.
zipgroupfileset (nested fileset): allows for multiple zip files to be merged into the archive. Each file found in this fileset is added to the archive the same way that "zipfileset src" files are added.
Jar task
duplicate/zipgroupfileset: same as in Zip task
filesetmanifest (attribute): behavior when a Manifest is found in a zipfileset or zipgroupfileset file is found. Valid values are skip, merge, and mergewithoutmain. mergewill merge all of manifests together, and merge this into any other specified manifests mergewithoutmain merges everything but the Main section of the manifests. Default value is skip
manifest (existing attribute): this attribute now also accepts the name of a jar added through a fileset. If its the name of an added jar, the task expects the manifest to be in the jar at META-INF/Manifest.mf
Submitted by: Brian Deitte <bdeitte@macromedia.com>
PR: 5667, 5036
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271698 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5c5b959ca7
1. Fix bug where <move> ignored <filterset>s.
2. Add filterset based test to CopyTest.
3. Add MoveTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271675 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2ff97ac3d1
Now that we know why the test worked all these month, make it work
again, this time documenting the reason.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271603 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
72f4f0b5a4
assert that gzip's new uptodate check also affects bzip2.
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271575 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0005305ea6
time checking on gzip, with tests.
submitted by Jeff Martin <jeff@custommonkey.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271573 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c69d761c14
grmbl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271551 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
19bdee8a68
committing the shell script that has replaced "cvs update -dP" for me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271550 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
2ccd335cf3
Added 'prefix' option to <property>. Designed to only work when loading a property file or resource.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271519 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3a60c3af7e
Utility task to list all your current properties along with unit tests, as written by Matt Albrecht . Added a prefix to save a subset of the properties for the very silly. Left it in optional.jar although it has no dependencies.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271507 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
6cbeee38fa
Here goes: propertyfile refactoring to hopefully fix all outstanding issues with it. "now" and "never" were removed as operations (didn't make sense). "never" was removed as a value (it caused a null pointer exception anyway).
Other code cleanup (axing "m_" prefixes).
Added "unit" attribute to <entry> defaulting to DAY. This was essentially the previous default, but it was far too confusing.
Test cases beefed up to consider several scenarios.
There may be more changes needed to satisfy other use cases, and certainly some previous (undocumented) behavior has been changed (for the better!).
Is there a use-case for "never" as a value?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271503 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
165b7dfa13
Tests and fixes for the DemuxOutputStream
1. New tests for the DemuxOutputStream and parallel task
2. Fix for the DemuxOutputStream thread problem identified by Jon Skeet
3. Found additional bug where UnknownElement does not hand output and error
strings onto the real task
A little bit of checkstyling.
Hmmm, really should be in bed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271501 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d3cd72efd0
<regularexpression> --> <regexp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271430 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bbf5ec8b44
Improve coverage of manifest unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
f1548aec2b
added tests to look at <java's> exception handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271280 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b0566b79cb
java task test build file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271277 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
91dfa2e783
- Fixed JavaScript escaping for properties.
- Added copyright
Submitted by: K.C. Baltz, kbaltz@mail.responsenetworks.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271190 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
a7f0867fda
Fix single-file fileset functionality. Did this ever work (,Peter)?
XP-style: added test case to detect bug, then fixed it. Also, trying to break out of the mould of the "testN" test case names - too brittle and non-descriptive.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271143 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
50ae1d32f6
A framed version of the JDepend stylesheet.
Submitted by: Jeff Tulley (jtulley@novell.com )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271142 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8fa296bb51
New attributes to tarfileset to allow equivalent of tar -P option
PR: 5874
Submitted by: Stefan Heimann (mail@stefanheimann.net )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271139 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
786e2e2e1c
Prefix attirubte for tar task
PR: 6054
Submitted by: mail@stefanheimann.net (Stefan Heimann)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271134 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b5388a1350
Temporary update to use the same style as log.xsl which is closer to
the Jakarta style. Those are the stylesheets used to generate reports for audit, metrics, coverage
recently sent to ant-dev
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271127 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
d65cafdcec
adding destFile naming scheme to tar, for consistency with the zip family and other tasks. I know Costin thinks we do this deliberately, just to break his builds, so even though I have updated the manual and the test cases, I have commented out the deprecated message which users should get when they use the tarfile attribute. Which means old builds still work, but the old params are no longer documented for new users.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271035 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
dd38c61aec
two new attrs to loadfile to make it more flexible in feeding other tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271033 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
63270beb6b
make the stylesheet work for <ear> and <war> as well, use destfile
instead of file.
This needs to be checked by somebody who understands XSLT ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270993 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
c73be43653
Testcase to ensure <java> works as expected in both forked and unforked modes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270818 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2e9a06e9d1
create directory before running test...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270773 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
244711d7d3
not with a house, not with a mouse, I do not like green eggs and SPAM
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270752 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
51b5caf9a8
lets test condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270747 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
8b03a81dac
Fix for Bug#5828. Clicking on the "Home" link now brings the class list back to the main page also.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270743 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3b41e256ee
<fixcrlf> failed on Mac files.
Reported by: Matt McHenry <mmchenry@carnegielearning.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270662 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3fddc0bcfd
License police on documentation files:
(1) Make sure all years in which a file has been modified are
listed.
(2) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
Also: the initial checkin into this CVS module was in 2000, not 1999.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270657 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
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
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
Steve Loughran
80962473e9
cvs didnt like the latin-1 stuff
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270375 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a225264f50
new loadfile task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270374 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
43ebf0d68f
new test for nested text element working, PR: 5579
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270372 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ce90a68baa
Add a testcase that demonstrates why FOP's build fails right now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270140 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3745d5dc70
Add a new inheritRefs attribute to <ant> with a default value of false
that controls implicit copying of references - i.e. we don't copy
anything by default.
Try to copy a clone before copying the real object.
inheritRefs="true" doesn't make any sense for <antcall> as all
references of the calling project will be defined in the new project
and wouldn't be overwritten. That's why <antcall> didn't even get
this attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270136 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ddc395dffa
Add some tests for manifest task - realized that empty manifest aren't
that empty.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270133 13f79535-47bb-0310-9956-ffa450edef68
24 years ago