Costin Manolache
e4b22c0eba
ComponentHelper has been checked in for some time - and I don't know
any -1 or major complain.
This removes the duplicated code and switches the component creation
to component helper.
I used it in my workspace for a long time without problem - and the gump
seems to work just like before.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274549 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Costin Manolache
2a0b07ef1d
Remove one method - it wasn't used, and it seems it's not powerfull enough for
all cases discussed. The method that takes UnknownElement, ns, tag should
be able to cover everything ( by having access to UE you get access to parent
and all the tree - so any kind of policy can be implemented )
Of course - nothing calls this method yet. Switching UnknwonElement and the
normal component creation is easy - but there are many pieces of code that
call the old method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274548 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Costin Manolache
b152a5f8f7
Plug the namespace uri. One way or another - we'll need it.
Also fix the qname - we need to use the localname.
Originally used qname to avoid breaking build files that used : ( they still
needed to declare a namespace for that previx - otherwise SAX would complain ).
( not sure about the last part - I think some parsers, when validation is off, will
allow : to be used and pass whatever was used as qname ).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274547 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Costin Manolache
695a96add4
The ctor takes Project as param.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274546 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Costin Manolache
d60aff9e78
Update with the changes in Project.
This makes ComponentHelper the almost exact duplication of the task creation
code in Project.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274545 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
02305cfec1
Improve fix for PR: 19449.
Don't drop directory entries after we've found out they were outdated,
but simply do not perform timestamp checks on the at all.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274544 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9e9ac87387
Don't update archives because it lacks directory entries when we are
not going to add directory entries either.
PR: 19449
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274543 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
57d9d5f429
Demonstrate bug 19449
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274542 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d3f2f2b687
Provide control over EOL conversion via a new attribute.
PR: 18884
Submitted by: Steve Cohen <scohen at apache dot org>
Aaron DeForest <aaron underscore deforest at rosettabio dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274541 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
117ecb1742
Minor doc changes and optimizations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274535 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8618d4a229
A more defensive approach to PR: 14849, keep things as they've been
unless we are using JProbe 4+.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274534 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6e7154321d
From the JDK tool-docs for javac of JDK 1.4:
> An argument file can include javac options and source filenames in
> any combination. The arguments within a file can be space-separated
> or newline-separated.
that means, file names must be quoted if they contain spaces. No idea
whether this is true for JDK 1.2 or 1.3 as well (1.1 doesn't support
@argfile ).
PR: 10499
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274533 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
e728aff9ef
Fix javadocs comments and add new @ant.attribute tags for xdocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274528 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c2e2310e71
Only tasks should be case-sensitive inside TaskContainers - simply the
code a little.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274527 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
adb971260c
Enable mixed-case task names inside task-containers while trying to
keep backwards compatibility for all other cases (all "normal" nested
element names get converted to lower case).
PR: 19323
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274525 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6003b0fe88
Demonstrate bug 19323
Submitted by: Jim Scarborough <jimes at hiwaay dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274524 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
4cacfa503e
output file must be specified as argument for JProbe 4.x.
PR: 14849
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274523 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
342a4d69cb
Fix the javadoc comments and add @ant.attribute tags for xdocs documentation generation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274518 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
3f9b092e9f
Add some new @tags for xdocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274515 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
b113154a3a
<unzip> can now deal with self-extracting archives.
PR: 16213
Submitted by: Jason Salter <jasonsalter at hotmail dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274512 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ec1437bc19
More code reuse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274511 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f1122490cd
More code reuse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274510 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c3a9038765
Properly deal with multi-byte encodings by reusing existing code that does.
PR: 19187
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274509 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
078e8aaeaa
Improve OS/2 support:
* Apparently the vmlauncher in OS/2's JDK 1.3 doesn't work properly,
disable it.
* Add REXX scripts to run Ant.
* Add OS/2 specific notes to the docs.
Submitted by: Zdenek Wagner <wagner at cesnet dot cz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274507 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
9eb6d592ed
Enable previously disabled head-tail tests.
Make StripJavaComments recognize and retain Mac line endings.
PR: 18476
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274506 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
b404a282b2
Make Definer use the new ClasspathUtils, make ClasspathUtils even more
reuse-friendly.
PR: 19213
Submitted by: Marc Portier <mpo at apache dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274505 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
052d19e952
fix ZipFileSet#getRef for referenced ZipFileSets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274504 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9e1f5e1853
Add testcase for containsregexp selector.
Submitted by: Jay <jvandermeer2 at comcast dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274503 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
d4dd76a882
fix because of class cast exception detected
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274502 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
6d360a5aff
avoid backward compatibility problems for lib attribute of war task, so relax ZipFileSet#getRef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274501 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
295ea16dac
allow to set a property with the exit code of java bugrep 19099 submitted by Donal Quinlan (donal at savvion dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274500 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
e596d350ae
filter readers modify lineendings.
PR: 18476
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274499 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
52303f0a54
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274495 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
7ae0224766
removed 4 duplicate Visual Source Safe tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274490 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
facf7dcfd0
More javadoc warning fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274489 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
5ebc2dbbdc
Fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274488 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
9cd1c82f96
StarTeam performance enhancement
PR: 15730
Submitted by: Steve Cohen
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274485 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
a531c96941
make the WarTest pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274484 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
1d1f2da180
Import cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274483 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
bddaffe76d
allow to define ZipFileSet(s) outside of Zip task bugrep 17007
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274481 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
416d46165b
add international support for mailtask - bug report 15434
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274480 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
39b1929142
Add linksource attribute to Javadoc.
Submitted by: <smagoun at mac dot com>
Add breakiterator attribute to Javadoc.
PR: 11569
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274479 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
80bf50a177
Add destfile attribute to <gzip> and <bzip2>.
PR: 11102
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274478 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
576c80c81f
Improve event dispatch performance (OK because we are using a cloned
list of listeners)
PR: 19101
Submiitted By: smagoun from mac.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274477 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
553f1ae610
Missed updated testcase in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274475 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
528fbc7fd5
Enable <antlr>'s debug attribute.
PR: 19051
Submitted by: Jorge <jorgemanrubia at terra dot es>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274474 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
da4c9d0f1d
Correctly echo selected properties.
PR: 18588
Submitted by: Gary Gregory <ggregory at seagullsw dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274473 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
2807da85ed
fix bugrep 18956 p4change task causes build to hang
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274467 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
26a9faff10
Refactor static method into a non-static version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274466 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jesse Stockall
617f12691c
Make it work with JDK 1.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274464 13f79535-47bb-0310-9956-ffa450edef68
23 years ago