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
40f66c43db
Updates link to JDEE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276960 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
66ca57654d
Replace all is dangerous
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276959 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
Jesse N. Glick
7c20aeab98
If this works, my CVS access is working OK...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276949 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
276a003a91
disable .NET tests until Mono on Brutus works as it should
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276948 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
49253c6238
Typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276946 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
ba92c99509
Add pointer to Antlion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276943 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
2aaaa9be98
update selector to go with the move
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276930 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
Peter Reilly
dd59f330e2
remove -noclasspath from build.sh and build.bat
It was not BC and may have caused a gumpy glitch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276924 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
Stefan Bodewig
89531ee354
fix license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276915 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
68ec6c3b56
document classpathref for <typedef>
PR: 31555
Reported by: Nathan Robertson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276913 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
d3b7b08ba1
clean machines reveal invalid assumptions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276910 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
40cfb498fd
clarify conditional target execution logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276909 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
efc64ca276
move to 1.6 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276906 13f79535-47bb-0310-9956-ffa450edef68
21 years ago