Nicolas Lalevee
eb08ea9fd0
Add the possibility to register a custom command line argument processor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1385262 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
Matthew Jason Benson
3d706ab818
java 5 updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375137 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
38688e7583
Add a log mode which logs nothing but ant task output and build failures; useful for using ant output in scripts, like for cacti for instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1373334 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
ceaf7b9c69
@Override not supported when implementing interface methods in JDK 5 javac.
(Spec compliance bug fixed in JDK 6 even for -source 5.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1345337 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
1d63aeddfa
Bug 51792 - Unable to override system properties with 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1343304 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
589af888eb
-f/-file/-buildfile accepts a directory containing build.xml.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1204655 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
5f20b99140
microoptimizations. PR 50716
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1066963 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
db666cd282
remove useless import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1035336 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
568f81e947
trademark
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1034687 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
bdf0cfed42
fix my english
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1033072 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
3849918afc
If there is -d, debug mode, make the -p, project help, print the dependencies of the targets
This will help debugging extension points
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1032931 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
f67b8649e8
reinstate prefix handling of property task at the expense of even more state in a thread-unfriendly class and with a new attribute on two tasks to make everybody happy. PR 49373.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@959019 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3f4cb68def
resolve properties defined via -propertyfile against each other. PR 18732
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@954939 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
af5b94e9d9
drop version check now that ant-nodeps.jar has been removed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@948667 13f79535-47bb-0310-9956-ffa450edef68
15 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
Nicolas Lalevee
df121a6cf5
PR 47830 : implementation of the ProjectHelperRepository to make Ant able to choose a ProjectHelper, and some doc about it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@819284 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
99529fd6c5
At least try to log the real reason of an error. PR 26086
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@708584 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
94da71c764
change command line parser so that version is only printed once - and version as well as diagnostics methods know the current loglevel. The former is PR 45695, the later useful for 45692.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@689477 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
7ea420955e
normalize build file name. In essence, turn relative file names given on the command line into absolute ones. Submitted by: Justin Vallon. PR: 44323
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@633480 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
ab98957ff3
-typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@541546 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
d5836ac061
Changes after static code analysis.
Code totally equivalent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526545 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
1af32c7d51
project cannot be null, few lines bewore and next line would throw NPE.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526485 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
71812c8dc2
bug id 41904; -autoproxy broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@520382 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
5fc15284f3
checkstyle: make method smaller
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491721 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
530826d076
making method a little smaller
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
fbec743802
Bugzilla: 41226 Target from imported file listsed twice
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
a0023f4852
automatic proxy handling is only there if -autoproxy is set; marked as such in the docs. -noproxy is removed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485920 13f79535-47bb-0310-9956-ffa450edef68
19 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
Jan Materne
ae5166d215
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464439 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
69c95afa02
Some Javadoc corrections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432709 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
91ee1ced95
This is a little bit of fun; something asked for on the mail list. You can now use -main to specify a new entry point for ant, so if you override ant.Main with a subclass, you can switch to that.
It has a side effect of making ant a generic launcher of things; anything that implements AntMain.startAnt.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421588 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
a1448bb07d
Little something to make it easier for things that subclass main to change its exit behaviour. Its been on my HDD for a while. If people object to it, I'll roll it back, as its not anything I'm actively using...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416182 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
7eb22e8cdc
indicated when methods/classes became deprecated, as to give us the possibility to remove deprecated methods in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@396012 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
1e6540e597
Adding property storing the ant core library.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388848 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
e84f6000f4
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291011 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
b31c3d79f0
Add java1.5 system proxy support, as per bug 36174.
I do not see any evidence of this working on my kde/linux system; I will check out and test on Windows.Other tests on other platforms welcome.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278520 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
761f82ae31
moving some magic names into place, using them where needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278417 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
eaa5e66103
Make -projecthelp output display even in -quiet mode.
PR: 17471
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278367 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
81b65c0eaa
Improved the newInstance method in ClasspathUtils, and used this method from
the places where newInstances are made and Throwable is caught.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278346 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
923140f496
added a special case that detects -cp and -lib calls in Main, and tells the caller that they have a probable version mismatch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278263 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
cbeaa439d9
renamed hidden variables
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277744 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
75ebbe52b6
unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277408 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
42e242e090
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277406 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
d75862ba28
I pulled out a bit of pre-1.2 testing, but the code it wrapped is probably unneeded, as we dont set a security manager.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277396 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
ff04e875ee
Minor update in ant help. description for -nouserlib and -noclasspath were on one line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277331 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d84de6b846
-noclasspath option
Added -noclasspath option to allow running ant WITHOUT using CLASSPATH env
variable. Modified ant.bat to do this so that %CLASSPATH% is not looked at.
Modified build.sh and build.bat to use the option.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276912 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
f6c27e5849
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276911 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1beb540cd6
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276881 13f79535-47bb-0310-9956-ffa450edef68
21 years ago