Sam Ruby
3781d8b0e1
Add support to for XSLT output types. This maps to TraX's:
transformer.setOutputProperty(OutputKeys.METHOD, type);
Background/rationalle: I'm looking into spliting Gumps gen.bat and gen.sh
scripts into a minimal bootstrap and a normal Ant "build.xml". In order
to achieve this, I need access to the functionallity that Xalan supports
from the command line via the -text parameter.
I've provided an implementation to seed the discussion on how this should
be supported. I am by no means wedded to this approach - if others see a
better way, either let me know or directly make the change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270023 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b261a711ce
Clarify evaluation pattern of attributes defined for <os>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270022 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9b3ee48039
Fix grammatical errors or incorrect documentation.
PR: 4993
Submitted by: jeff@socialchange.net.au (Jeff Turner)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270006 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3b2f961a60
tstamp now supports a timezone attribute for a custom format.
PR: 5000
Reported by: max@eos.dk (Max Rydahl Andersen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270005 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
82cc947b98
Added name, arch, version as attributes to Os.
This would let one to, say, run different things on sparc or x86 solaris...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270001 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
b7f51d116b
Classic compiler, so long as it is not Version 1.0 or 1.1.x, also recognizes
debuglevel.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269986 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
45660d1b2d
Add a "relative" attribute to <apply> - this allows users to pass
relative paths on the command line instead of absolute.
Submitted by: Matthew O'Haire <mohaire@trysoft.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269982 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
80d371a3b4
1. Refactored Untar to extend from Expand, as untar is very similar to unjar, unwar and unzip.
2. Added 2 new attributes to these tasks - outfile and verbose
3. Nested Patternsets can be used to specify what files are to be extracted from within the archive.
4. Nested Filesets can be specified to select previously archived files for unarchival (PR: 3074)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269973 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
dc00bd536b
Fix Bug 4991; add more examples of other options.
This should mark the last change to echo.html for a while. Except.
We say that message is required unless text is provided, but in fact
<echo/> is perfectly valid, is it not?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269972 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
072028843a
New debuglevel attribute for Javac - will be used only when the modern
complier is used.
PR: 4127
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269971 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b904b3ac0b
Pulled the stuff on system.exit, because that is caught, and left a 'fork if things go wierd' message to handle the other cases :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269968 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
cbd09b7071
typo fix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269967 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
Peter Donald
d5e9b4accd
Added support for specifying CVS_RSH in ant CVS task.
Submitted by: john.giacomoni@colorado.edu
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269957 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9ded403f70
checksum task and condition.
I promise to add testcases later 8-)
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269929 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
088e18fc19
Wow, I never knew that echo had a reporting level. Time it got written up.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269925 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2d37437702
Allow port specification for the mail task.
RFE requested by Andrew McConnell <mcconnell@socketware.com>
Heavily based on the patch from Magesh Umasankar <umagesh@rediffmail.com>
Errh, I just realized the full patch was in the first attachment, I though Magesh forgot to update the mail task. Doh ! :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269923 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
918d6fe305
Remove uneccessary cruft at top of file.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269922 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c657b5ef73
Here are two new ant tasks - BZip2 and BUnzip2. �These
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
Steve Loughran
24d47a5c0f
backing out of antjar/antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269901 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
aea7142b1d
correct taskname in example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269899 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
1e469669cf
Jose Alberto Fernandez's ant descriptor loader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269898 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
45463e16cc
JARs are never empty.
PR: 4448
This probably is not what the reporting user intended ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269886 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0ba89b453f
Add a way to pass compiler specific command line arguments to <javac>.
PR: 4406
heavily based upon a Submission by: Stephen Anderson <anderson@berbee.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269869 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
30b11d18c9
Make name of the javac executable configurable in fork mode.
PR: 4119
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269868 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0e9239cb27
fix capitalization of NetWare.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269864 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0b1e459d5c
Add OS/2 as Os family
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269846 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
93ee07ad35
Show that Ant is an Apache project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 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
65c82879ee
Make <style> support Exolab's new Adaptx processor.
Submitted by: Arnaud Blandin <blandin@intalio.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269832 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
986b213cec
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269831 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7c2ec95158
clarify documentation for <ant> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269830 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cbcfff6e27
add documentation for <cvs>'s failonerror attribute.
PR: 4205
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269810 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3ff51a6adc
state that properties are case sensitive.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269807 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
482c675f6a
add "netware" as possible value for the <os> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269799 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
323591f86b
Updated documentation for Move to reflect the ability to create filesets with single files that move to another file.
Submitted by: "Magesh Umasankar" <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269782 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8cb8f75cdd
If a fileset defines a single file, allow the Copy and Move tasks to work with the toFile attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269779 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ede07a7c22
Add new <isset> condition, simplify ConditionBase by using ProjectComponent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269756 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
Conor MacNeill
304895ce62
Add encoding to <replace> task so that replace can work on double byte
characters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269721 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2b0ab1d4d0
Add an encoding attribute so SQL statements can be double byte
PR: 3080
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269719 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e4957c5f19
Oops I used the wrong convention!!!
This patch corrects it so that the old zipfile attribute is now tofile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269692 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d0c933c320
Deprecated zipfile in favour of file to follow siuit with the other tasks that d
eal with archives.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269689 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
14d5788636
Deprecated earfile in favour of file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269687 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
16e0c28649
Unify the attribute of the archive to "file" rather than having three separate attributes (zipfile, jarfile and warfile).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269684 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Nico Seessle
c6124454ff
- Applied manual patches supplied by Daniel Martin <dtmartin24@home.com>
- Fixed some other places too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269675 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a8d4391240
Merge from 1.4 changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269662 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
b8d229b18c
Description of sequential task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269530 13f79535-47bb-0310-9956-ffa450edef68
24 years ago