Antoine Levy-Lambert
51ce8fac72
fix for Target rewriting for nested "include" only works when "as" is specified, Bugzilla PR 54940
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1481662 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Matthew Jason Benson
da5f3bfd25
java 5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375571 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
944210b384
BR 53550, thanks to Tim Pokorny
Improve the resolution of the extension point to bind to:
- first try the extension point which might be in the same file
- then try the one in the root file
Still some work to do: there might be intermediate file in the import stack which we would to resolve the name against, but the ProjectHelper doesn't hold the prefix stacking.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373326 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
d377aa50f3
BR 53549
Make the ProjectHelper class expose the method which properly bind targets and extension points.
Thanks to Jean-Louis Boudart
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373321 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
91daac5ad7
#53405 : ExtensionPoint doesn't work with nested import/include
Thanks to Jean-Louis Boudart
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1350000 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
6b7bc9e535
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
33b564a183
JDK 5.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1328047 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
e21405f8ee
JDK 5.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1328028 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
ea33301047
#52829 : ResourceCollection now Iterable<Resource>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1326760 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
acaefe7e82
typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090304 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
70abcb7f5d
Make an enum like class for the values of the missing extension point behavior
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1035335 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3ef6daa0c0
according to the javadocs of JarURLConnection the separator is !/ not ! - this allows dealing with jars in directories that contain a ! in their name, as long as it is not at the end of the directory name. PR 50007
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1001756 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
bd52e7b9b1
allow targets to deal with missing extension points. PR 49473. Submitted by Danny Yates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@957170 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
13941782fe
extension-point doesn't work with import. PR 48804
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@938315 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
2c468c2121
don't warn about duplicate project names if importing the same URL twice. PR 49162
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@936784 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
510f6b08f6
target-group -> extension-point
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@895567 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
6cb11c4a23
try a bit harder to close the archive when reading a build file. Since that still doesn't work, add a task to brutally close jars and use it in import-url-test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@890827 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e1cd13c79b
support creating url resources relative to other URLs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@880590 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
42f31b452b
Fix import's file attribute if file is imported from URL, test it, document it. Note to self - url resource needs a way to create relative urls. Not to self - the duplication in the manual pages for import and include must stop.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@836334 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
2ef9a200ad
allow import of FileProvider or URLProvider resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@832990 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
28ca062311
Use URLProvider instead of URLResource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@830209 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Nicolas Lalevee
89ddfa3d6c
- use the project helper repository for antlib too
- change the ProjectHelper API to start using Resource instead of URL or File
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@829947 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
08bdfe8f1b
allow target-group attribute to use a comma-separated list
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@719198 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
2077f6716f
Add target-group, a special target that must be empty and whose dependency list may be extended by other target(-group)s using their (new) target-group attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@718943 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
193919c329
make sure prefix isn't set to project name in import. make sure it is set even when no target has been encountered in include.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713745 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6b2378c2e6
Make prefix separator configurable, nest prefixes in include
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713373 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
32c6ef39e4
add an <import> variant named <include> that matches EasyAnt's <use>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713016 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
dcf31da592
add 'as' attribute to <import> in order to control the imported target's prefixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713005 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6a02f44830
use the configured ProjectHelper to parse antlib descriptors, if possible, PR 42208.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@695865 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
073153dd37
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@565104 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
3be2b26d81
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557021 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
5184f14831
formatting & MagicNames
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@549699 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
0aa2b2528f
some checkstyle changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469717 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f5c95e9ca4
add fall-back for undefined references that are parsed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465065 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d7f1401f85
Defer references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453770 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
583cfae0e5
Do not set ant.file.{projectname} when the project name
is not set in the <project> tag. (as discussed)
Bugzilla report: 39920
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453401 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
585cd59bf5
People should not think that "file:../master.xml" is a meaningful URI.
Ant historically supports it but normal XML parsers do not.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@425879 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Alexey N. Solofnenko
768aeff3fc
Restored butchered imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@398781 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Alexey N. Solofnenko
0ee0b54fd4
Added static accessors to parser handlers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@398780 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
dfaca18fce
set target's name before the depends attribute - leads to more meaningful errors. PR 37655
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393610 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
dfc1bee394
Add debugging messages for Gump failure.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@327253 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
c5a01d909c
Removed unused local variables.
I think there is an error in ConCat, see added comment.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278420 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
607f1c7357
use of fileUtils.close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278319 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
3d66f4ef91
Allways create qualified targets in imported build files
PR: 28444
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278272 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
af2f9b8506
allow url'ed source's to be used as build files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278186 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0a36bf20ec
check for same targets in a source file
PR: 34566
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278179 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
257dadeaf0
Make use of FileUtils in a uniform way via the getFileUtils method and a static final reference in the using files.
Also removed unused/* imports along the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277295 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0e1abe82d1
Set the location for the default target (the location will be the project tag)
PR: 32267
Reported by: Yves Martin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277048 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
12efb8ddef
several javadoc fixes.
PR: 30410
Submitted by: Brant Langer Gurganus
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277025 13f79535-47bb-0310-9956-ffa450edef68
21 years ago