Steve Loughran
e66d7c8754
Dont ask me why jikes decided to go all fussy on me. It has, and these are the corrections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276923 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
c31f5ae257
Somewhat reworked patch for bug# 31106, submitted by Isao Yanagimachi.
Took the opportunity to clean up the tasks slightly, such as removing duplication in various methods.
We need a unit test for long command line java, and many parameter java, just to see what breaks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276922 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
1fbd2fe328
people might reuse this task instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276920 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
bf772f7f97
white space changes only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276918 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
dfaa904e5c
plug memory leak in non-forked <junit>
PR: 27420
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276917 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
66676d22f4
Make sure test output gets grabbed early enough to capture everything.
PR: 30798
While fixing this, I noticed that printsummary="withOutAndErr" didn't
work with fork="true".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276916 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
Steve Loughran
c2a7acd9b1
javadoc fixup -only because IntelliJ is so fussy.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276908 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1c48e016c2
Fix for execution of top level tasks getting delayed by targets.
PR: 31487
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276905 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ccfc216622
Don't assume class.getClassLoader is not null, PR 31450
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276903 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
08c6cab4cc
Oops, better compile before commit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276902 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
6362427b08
Improved BWC, not that good, though
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276901 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8c9b19d0a2
Add a simple TestListener to each forked VM that does nothing but
write a single byte to a file.
If that file is empty when the test runner finishes, the VM has exited
and we should consider the tests as failed.
PR: 30333
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276900 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
6f4f0c6075
Throw in some unit tests for <junit> - one of them will fail related to bug 30333
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276899 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
9844e736fe
Make test pass on OS X
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276897 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
898679e8e4
Don't ignore invalid operation mode silently
PR: 30669
Submitted by: Ben Galbraith
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276894 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fc4482c260
remove modifying exception code for unknown<attribute/element>exception
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276891 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4b2db7c0ca
Add alwayslog attribute to <redirector>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276889 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5d2096725e
Typeo in defintion of <cvsversion> task causing it not be defined.
PR: 31403
Obtained from: Andy Wood
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276885 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d4ebf04094
Try to get the correct task/type name for an unsupported attribute/element
exception thrown by IntrospectionHelper
PR: 31389 and 29499
Reported by: Tamas Szeredi and Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276882 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
Peter Reilly
acd0bcd1e0
Add a new option -nouserlib to the ant command.
This allows running ant without loading the jars from ${user.home}/.ant/lib.
This is useful for building ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276880 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
b3b1c6dcc6
Close property file.
PR: 30469
Submitted by: Juerg Wanner <juerg at pyx dot ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276873 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
cea5e4cd96
adding debug message since the BuildException may be caught
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276872 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
12f0f8f38e
Remove unnecessary exists() check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276871 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
f94d46e400
fix sizeselector testcase
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276860 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0e46158a11
AntTypeDefintion#similarDefinition could be called in situations
where the loader for the class is not antclassloader
Obtained from: David Konecny
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276858 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ac747c8ca7
allow testcase to compile under jdk1.2.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276856 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0036584e2c
make IntrospectionHelper compile under jdk1.2.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276854 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
f16558e639
use copy constructor Simplified copying of Hashtables in propertyhelper.java
PR: 30163
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276852 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1e6b276526
Added searchpath attribute to <exec> for searching path
variables when resolveexecutable = true. Thanks to Stefan
for having already written the path-searching code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276847 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5e4cb9c6e6
Fixed javadoc for Task#handleErrorFlush
PR: 31153
Obtained from: Jayant Sai
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276843 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1ddab2c141
add xmlcatalog nested element to the xmlproperty task
PR: 27053
Obtained from: David Crossley and Dave Brondsema
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276840 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
2da1da584d
more to clean up
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276839 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0f723fa82a
Support different output formats in checksum, PR 16539, based on a patch by Mark R. Diggory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276838 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3c5028e3d0
Doesn't compile on JDK 1.3: IntrospectionHelper.java:1471: method is inherited from org.apache.tools.ant.IntrospectionHelper.NestedCreator and hides variable in outer class createAddTypeCreator(org.apache.tools.ant.Project,java.lang.Object,java.lang.String). An explicit 'this' qualifier must be used to select the desired instance.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276835 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e9930da203
InstantiationException.getCause() not in jdk 1.3.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276833 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
81531e4ccc
Root cause of InstantiationException may be null in class.newInstance()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276829 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fc0f7222fb
jikes compiles us now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276828 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
81334a5db0
mark two constants as static.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276826 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
543344b839
add a -cp option to Launcher.java to cause it to
treat CLASSPATH different from -lib options.
PR: 28046
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276820 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
be8d99f40e
javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276817 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
95b8582430
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276815 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Conor MacNeill
f314cb489c
Indicate the message that causes the loop
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276814 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jan Materne
5dc7ab6629
Let <move> compile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276810 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
284174e86e
Refactored Target invocation into org.apache.tools.ant.Executor
implementations.
PR: 21421, 29248
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276809 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
84bfc9dabe
Allow <move>'s file attribute to rename a directory.
PR: 22863
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276806 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
12f1e22e1f
Zip task did not create tasks when there are only empty directories in the selection
I have simply added a testcase, the code was already fixed by Matt Benson in Zip.java
revision 1.128
PR: 30365
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276804 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
16904c3c17
reverting previous change
compiler is called weblogic in the documentation
the testcase seems to have been wrong
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276803 13f79535-47bb-0310-9956-ffa450edef68
21 years ago