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
Steve Loughran
feb1b040e9
one more test case -JSP xml format (which does work), and ran tabs-to-spaces on the jspc.xml file just to make the diff look bigger.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269894 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ba558a362e
Make <typedef> something that is useful.
PR: 4143
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269893 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e88913f66
Enable the commented out tests in TaskdefTest - they failed because
org.apache.tools.ant classes must live on the system classloader to be
loaded.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269892 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
26c2dac518
jsp testcases; not yet with matching junit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269888 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f84c5e38fe
make unit tests work on Windows (at least I hope so 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269880 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5f93102e17
Make sure the class passed into Project.addTaskDefinition is suitable
for a task, that is it is public, non-abstract, has a no-arg
constructor and a public no-arg execute method.
PR: 4163
Submitted by: Ralf Wiebicke <ralf@rw7.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269857 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3bfae8ec28
one more JDK 1.1 fix - testcase will fail as touch with and without
argument will result in the same file modification time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269856 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
32da696de4
Add testcases for the inheritall/dir attribute combinations and their
results on the new project's basedir - clarify documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269838 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
be53ecfdc2
Add testcases for the substitution methods (and make them work 8-)
Add testcase for <replaceregexp>, this task now works with ORO,
Jakarta Regexp and JDK 1.4 if you use \1 to refer to parens in the
regular expression.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269822 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ffea0a9f74
Rewritten part of the regexp stuff, adding substitution and options.
New optional replaceregexp tasks that takes advantage of it.
Submitted by: Matthew Inger <matti@sedonacorp.com>
This doesn't really work (but doesn't break anything either), but I
wanted to get the stuff committed now, I will put work into it
tomorrow. See mail to the list for details.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269820 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
09a7def3cd
Make <propertyfile>'s default attribute work as expected.
PR: 3955
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269802 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
59fcd9ab82
Add initial testcase for the optional propertyfile task.
Submitted by: Levi Cook <lcook@gr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269801 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
11d421035c
I've just put together a patch for the JDepend task to use xml
output. A new
attribute "format" has been added that can take either "xml" or "text"
defaulting to the latter. �Appropriate changes have been made to the
documentation, and additionally a .xsl file is attached to
produce html with
a similar style to that of junitreport.
Submitted by: "Rob Oxspring" <roxspring@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269796 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bec2a0777e
Merge of 1.4.1 changes into Main truck for Gump testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269745 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8477db5860
Fixed links.
Submitted by: Jeff Turner <jeff@socialchange.net.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269673 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
df14132289
Merge in 1.4 src changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269663 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f66cab0ea7
Merge from ANT_145_BRANCH up to Beta 2
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269587 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
37e1a66934
Stylesheet that will be used for non-framed report of JUnit.
It can still be useful for sending a short summary via mail.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269503 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
bb11efae4f
Latest Xalan2 has problems related to the format-number and decimal-format that are due to locale.
Scott Boag <scott_boag@lotus.com>, Gary Peskin <garyp@firstech.com> and David Marston <david_marston@lotus.com> are aware of this
but the problem is mostly due to specifications ambiguities with locale and default separators...
Just in case I'm redefining the separators used in format-number so that there will be no problems on non-us locale.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269502 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bdf4456a77
New task dependset
Submitted by: Craeg K. Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269479 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a794b2b204
<fixcrlf> now deals with CR only line-ends and arbitrary tab lengths.
It should work independant of the size of the file as well.
Additionally it can treat tabs inside character constants in source
files differently.
Documentation will follow - also it will now update the timestamp of
files, even if the file doesn't change. This will be fixed before the
final release but shouldn't stop us from starting the beta cycle.
PR: 1053
Submitted by: Peter B. West <pbwest@powerup.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269449 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Costin Manolache
dce8636fe3
Small fix in manifest, added Class-Path attribute, now it should
work with java -jar ant.jar
Let me know if there's any problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269435 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
eacd7ea193
The stylesheet that should replace all the one in the source code.
As its name suggests, it will generate the framed report only.
It can be used either w/ xalan 2.x or xalan 1.2.2 though the later requires bsf.jar in the classpath.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269426 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
51db1b515b
stylesheets that can be used to generate some framed report for Metamata tasks MMetrics and MAudit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269425 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
25116b2c5b
Resolve properties within properties files by first consulting the project
properties first.
PR: 2915
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269417 13f79535-47bb-0310-9956-ffa450edef68
24 years ago