Peter Reilly
39868ef368
Properties.propertyNames() should be used instead of .keys():
fix for previous fix - use getProperty() and not get()
fix for PropertySet
PR: 27261
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276971 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7e145de4f1
Properties.propertyNames() should be used instead of .keys().
PR: 27261
Obtained from: Mike Murray
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276969 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a39b8f902e
Removed too much with my last patch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276967 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6515402721
NPE using XmlLogger and antlib
check if the value of the name attribute is not null
set the taskname of the antlib task
PR: 31840
Obtained from: Mariano Benitez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276965 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
39404a0194
Better error reporting when users set the wrong default namespace.
PR: 30660
Submitted by: Kevin Greiner <kgreiner at xpediantsolutions dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276963 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a245b4e9e6
compiler attributes is used to determine command line arguments even in the fork case, this warning is misleading. PR: 31664
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276961 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d2ceff2d4e
Move GetLibrariesTest to make tests compile without httpclient
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276958 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
045a7004a1
Repository support; needs http client 2.x and commons-logging.
Broken: repository references (you'll see in the test results)
not tested: authenticated access to the repository.
Already had a feature request for multiple repository support;
would be nice. That and better diagnostics on failure.
Note that we dont currently probe ibiblio for availaibility; that was taking longer than the fetches themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276957 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a340fef0f6
Concat task instance could not be run twice
PR: 31814
Reported by: elara at smartops dot com (Eduardo)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276953 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4e1ca8adac
ExecTask executes checkConfiguration() even though os does not match.
PR: 31805
Obtained from: David Boon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276951 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7228bef97c
add failall value for onerror attribute of <typedef>
PR: 31685
Obtained from: steve morin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276950 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
9f4c2a3be6
Errors thrown before we fire startTestSuite cause problems in setOutAndErr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276945 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3c231b4ee7
The code that tries to detect a crashing forked VM in <junit> breaks
down when the VM runs multiple tests.
The old code used a TestFormatter and detected a crash if the expected
output had not been written. If multiple tests get run in one VM, the
TestRunner ignores the filename that has been passed in - and the task
doesn't find any output.
Even if it didn't ignore the file name, a single non-crashing test
would have made the task think, the VM finished in a healthy way.
Make the crash-detection more explcit and let the TestRunner cooperate
more than before.
This bug has been presented by Gump in cooperation with the Hivemind
build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276942 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
52af56afe8
define <ispingable>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276941 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
8e933d962a
ispingable is defined, corrected validation logic (I think :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276940 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
00a70173b2
Apt docs. Also flipped the nocompile flag in name and meaning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276939 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7924a0f5e5
remove a debug system.out from XmlProperty.java
Reported By: Ricky Panaglucci
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276937 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
278fa07a5b
apt tool
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276936 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
c0bda1b4cc
Fed up with complaints about rmic generated code not having its source files found. Now you can turn it off.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276935 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
5f78c07e3b
Wrapper for Apt tool in Java1.5, from bug ID 29978
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276934 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
8c49a2b843
Test that verifies XML parser version (Xerces) and feature set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276933 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
689641b018
accessors to command line are occasionally useful when working with java
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276932 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
1a5baa2ad8
raise log level of targets to match that of task events
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276931 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b76a450b32
Move optional conditions to a suitable place
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276929 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
e0447a7385
First of the Java1.5 extensions. Closest j2se has for detecting offline state, though I note J2ME and JavaWebStart have offline tests.
Needs tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276928 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c3c765a2b6
Documentation fixes for PVCS task.
PR: 31582
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276927 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
95b30f07cc
Make Gump happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276926 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
a5a1cf2395
Restore <move>'s ability to replace existing files and/or write
into existing directories.
PR: 31031
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276925 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
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