Stefan Bodewig
ba4dc28a81
add copyright line, remove stray ^Ms
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273198 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Bruce Atherton
71c6478591
Added a check on Property names using the "if" and "unless" attributes
23 years ago
Conor MacNeill
270295d734
Include underlying exception message in exception. Makes it simpler to debug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273195 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
7a3141d683
Keep the kids happy - they need a project too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273193 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
dca8d020b7
Put JspcTest at the end to ensure we run all other tests in Gump.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273192 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
5896b285fc
Add a getter for linkname.
Submitted by: njoneill@llnl.gov
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273190 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5e67dc2a68
merge bug fix from 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273189 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f7cf153214
Fixing some typos - has been submitted as part of
PR: 11056
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273186 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e9029b083b
Shell snippet that autodetects Emacs' compile mode and then passes
-emacs as well as build.compiler.emacs to Ant.
PR: 11056, 11057
Submitted by: Ville Skytt� <ville.skytta@iki.fi>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273184 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1e5fa0492b
<war> and <ear> have the duplicate attribute, too.
Submitted by: Larry Shatzer <Larry.Shatzer@Spirent.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273182 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
31fb6432cd
port ANTLR fix from 1.5 branch.
PR: 11222
Some copyright year fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273181 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
9d2f4ca3b2
Fixed bootstrap when JAI not present
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273180 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
c647455d27
Kevin Grey's <image> task. A few modifications were made, most notably changes on setter types and removal of some unused variables flagged by IDEA.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273179 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
4a0fa32119
Build changes to optionally include/exclude the JAI <image> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273178 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
d8affe435c
Added (back) TaskAdapter2. It'll allow more flexibility on how 'normal'
beans are turned into tasks - it allows to specify the method name.
It'll also be extended to support mbeans or other types of tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273177 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
9ee51f37b5
Add the new taskdef ( it'll replace the original one ).
( we need the new one so that it works with ant1.5 )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273176 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
835adba18c
Add JXPath and a modified Taskdef that uses the 'system path'.
Remove debugging message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273175 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
749486ba91
Fixed the loading of JXPath.
Added more samples of how it can be used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273174 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
a8ffca3154
One more try :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273172 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
f3fc0f6773
Moved the embed proposal, use a 'normal' hierarchy and build system.
Added a small test file - JXPath is not working yet with systemPath
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273171 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
e1e77456b7
First draft of JXPath.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273170 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
f93b4f4fc8
Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273168 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
de93400d04
Encapsulate some fields of DataType.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273167 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
74f104a7d1
Remove redudent assignments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273166 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
21ded555ac
Added a bit more info :-)
The next major step for this will be a set of hooks to allow ant to
be more JMX friendly - one very straightforward way to embed ant
is by using MBeans to represent the components.
In addition ant should be able to use MBeans as tasks and in
the build process.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273165 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
3256156dcc
Finally, make all AntHandlers 'stateless' and make sure all the state is in
AntContext.
Started the cleanup process.
The reason for 'stateless' model is not performance, but having a cleaner
model. It is very hard to track things on the stack or in different
handlers.
The next major step will be to try to reorganize the DataType/Task/UnknownTask
creation.
So far all features ( sax2, import, dynamic prop, classloader ) seem to work
fine with 1.5 - at least on all projects I'm working on.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273164 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
af97c64cb1
Make <project>'s default attribute required to stop the sky from falling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273163 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
8955734dc6
'java' attribute has never been used here. Get rid of it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273162 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
15c3ec9b26
Destroy the process in case the thread is interrupted
otherwise it may run forever.
PR: 10345
Submitted by: Hal.Hildebrand@hellblazer.com (Hal Hildebrand)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273160 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jon Skeet
c97bf5babb
Fixed up JavaDocs (where possible) to remove warnings (mostly about breakiterator).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273159 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
d4028badbd
Add ignores for more cache files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273158 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
f9121ee81e
Encapsulate some fields in Task and add some deprecation warnings to coresponding fields.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273157 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
12e8a63e2f
Remove redundent assignments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273156 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
764ef4fd85
untabify
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273154 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5c0429c7ac
Fix broken link.
Submitted by: Trevor Fields <fields_t@ociweb.com>
Add pointer to AntDoc.
Submitted by: Edouard Mercier <antdoc@noos.fr>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273151 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
ef45079a18
Remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273150 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
d1dfe60650
Remove javadoc for throws that no exist
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273149 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2db614f7f8
Add pointer to jMetra.
Submitted by: Todd Newton <Todd_Newton@notes.ntrs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273148 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
89cec29e1d
fix should go into 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273145 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
aa07dd4611
Make task replacements recreate their child elements when they get redefined.
PR: 10904
This should also fix the Axis build failure Sam has reported.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273144 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e69f35fd22
Merge changes from 1.5 branch to HEAD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273143 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
61a377b669
A bit of cleanup, remove duplicated code.
Implement the 'projectName.target' instead of super. I'm still trying
to find a way to allow Import task to hook in and support whatever
policy it wants.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273141 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
95b08cc54a
Improve debugging ( to find the super. problems with import ).
Smaller fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273140 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
cb8e13aaed
Implement the change in handling the top-level target before
executing other targets ( which is closer to the original
behavior ).
Import started to work a bit - but it complain about
circular dep on super.mb2, still investigating.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273135 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
b4532de802
Import task, first version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273134 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
75cdfc682e
Added import-related info to AntXmlContext.
Made few fields public - the whole thing will be refactored with
proper getter/setters after things are stable.
Added import processing ( the patch was modified a bit ).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273133 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
fc6a4383fa
* Add encoding attribute to <loadproperties>
* Remove dependency of <loadproperties> on StringInputStream
* Modify StringInputStream to support encoding
* Note that StringInputStream is not being used by any other Ant classes - the sole consumer was LoadProperties which no longer uses it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273132 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
03b6e25418
Merged all the changes from ProjectHelper.
The only thing not merged is 'description' - I would rather add a
'description' task, it's cleaner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273131 13f79535-47bb-0310-9956-ffa450edef68
23 years ago