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
Stefan Bodewig
1318b84a90
remove exit ability from <input>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270129 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b546691d3a
Add if/unless attributes to <fail>.
PR: 1380
This is the first step to remove the fail functionality from input and
waitfor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270126 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
05b5cb8f3d
Allow <ant> and <antcall> to pass references to the subbuilds.
Submitted by: Matthieu Bentot <mbentot@arantech.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270105 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d5f835f2ac
Minor layout change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270102 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
69d796cd1e
Added a test for time dependent copy -and the ability to override it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270095 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b06aed6911
Update to remove warnings generated by antcall due to last immutability tightening. Did this by adding a protected constructor to property.
Made sure that operations internal to Project could not generate these warnings by adding a new setPropertyInternal method that didn't do any checks.
Also made the getUserProperties and getProperties methods return copies of maps rather than direct references.
Updated WHATSNEW to warn about these issues.
Added some unit tests to verify that property immutability is enforced - where we actually do enforce it ;)
Submitted by: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270078 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e503ebd4c7
setFoo(String) replaced with setFoo(ExtendedEnumeratedAttribute) for certain attributes of these tasks:
Available.java
Tar.java
Tstamp.java
setFoo(String) has been deprecated for the affected attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270071 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6c0bd98809
Clean up tabs and fix some ugly css mistakes.
Should look a little bit better now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270064 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f6db0835f7
New task <input>
Submitted by: Ulrich Schmidt <ulrich.schmidt@gmx.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270051 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3beb7f13cd
Make BZip2 task comply with native bzip2 when there are multiple blocks
in the compressed file.
Submitted by Keiron Liddle "keiron@aftexsw.com"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270047 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
bf5d49abf1
Preparing real huge test files on bzip2 tasks....
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270046 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b6e535486e
re-add files in binary mode.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270040 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a2fccdf28d
make things binary, that should be binary.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270039 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
aac9052b05
Rewrote the xsl that allows to visualize ant build logs.
Should be a little bit more sexy than the original that
was there for a long time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270004 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
718426d318
Fixed a comment...in case it is useful to someone
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270003 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c4ee8d1bc8
Fixed typo. excludesfiles is an attribute not an element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269994 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
419936a246
XSL that allows automatic update from deprecated tasks to non-deprecated tasks.
At the moment it handles the following tasks:
apply, javadoc2, deltree, copydir, copyfile, rename.
Alternatively it handles the deprecation of the attributes jarfile and zipfile of jar
and zip tasks that will be deprecated starting from Ant 1.5
As suggested by Jose Alberto Fernandez <j_a_fernandez@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269993 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
95fa304e14
1. As suggested by Peter, nixed the attributes outfile & verbose
previously added to Untar, Unjar, Unwar and Unzip, so that these tasks stay
focussed on unarchival and nothing but it.
2. If the Src attribute represents a directory, an exception is thrown, as Stefan
suggested. Nested Filesets to be used instead.
3. Testcase added to catch this exception.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269985 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ee7a81d646
Add testcase for untar, improve testcases for zip/unzip/tar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269978 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1942efc118
add real tests fro the gzip and bzip2 tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269964 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
495b7c4688
Add testcase for <checksum>, clarify its documentation when used as a
condition and create checksums in Ant's distribution target.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269963 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a6ed69b0f7
An initial cut at getting the RPMs for Ant to build as part of the
distribution build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269962 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8b4c0066b0
Make sure, the test fails for the reason it is supposed to fail.
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269956 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
373c7a1c37
Sample JProbe Coverage report obtained from running a Ant compile with a java.* filter.
I commented the doctype so that the dtd does not bother us when parsing
the document.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269948 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ea6e180655
fix gzip test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269931 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c35619ac8a
Added more tests for Manifests
Fixed problem with multiple class-path attributes. Hopefully Sun will
update their spec sometime.
PR: 4683
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269921 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3f37290d4a
Initial cut at Manifest tests. This is in preparation for handling multiple
Class-Path entries. More to come.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269912 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
540e8914a2
this is supposed to be a binary file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269910 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
96adb93402
this is supposed to be a binary file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269909 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
286537d1f8
Make <fixcrlf> work for long lines as well.
PR: 4186, 4646, 4709
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269907 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7e8bb3f17d
a little cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269906 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
356935f4c3
oops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269905 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8e37dd0ba2
Add encoding attribute to <fixcrlf>
PR: 961
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269904 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
972e0a627a
Added a missing table header. Patch from Jeff Turner <jeff@socialchange.net.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269896 13f79535-47bb-0310-9956-ffa450edef68
24 years ago