Costin Manolache
b3a0cca7ca
Last part of component helper merge ( including the fix contains -> containsKey for the test case )
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274550 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
Jesse Stockall
a511fb22e7
Throw a BuildException if the root directory does not exist, instead of letting IndexGen NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274540 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
62329a4577
hopefully fix Gump
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274539 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
ce5322dcf2
Switch to using regular collections instead of the deprecated XCollections
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274538 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
ed5de90edb
Update XDoclet and XJavaDoc (XJavaDoc is no longer a singleton)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274537 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Erik Hatcher
3abecbb4fb
migrated Ant XDoclet code here, to maintain it easier
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274536 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
9177c5d981
Merge file for <property>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274532 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ab1640ce3f
added a basic install-lite target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274531 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
116127409b
brought in sync with main branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274530 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
a97b34c8f1
Update the versions of XDoclet and XJavaDoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274529 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
1ef4674dd9
Disabled the test by accident
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274526 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
Stefan Bodewig
373a1b8070
New German language book on Ant.
Submitted by: Jan Materne <Jan dot Materne at rzf dot fin dash nrw dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274522 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1bf63b2e7e
fixed 2 javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274521 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
6010455796
add a link to zipfileset in the section about types supporting references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274520 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d8521f4685
fix a typo equivalent not euqivalent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274519 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
22 years ago
Jesse Stockall
dd7dcb7477
1 more @tag to ignore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274517 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
d958f9c2a3
Add 2 new @tags that should be ignored by <javadoc>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274516 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Jesse Stockall
69db717255
Generate attribute requirements
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274514 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
45cd51ce6e
Fix broken link
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274513 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 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
22 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
22 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
22 years ago
Stefan Bodewig
7717aa2b68
Keep track of changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274508 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 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
22 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
22 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
22 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
22 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
22 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
22 years ago