Matthew Jason Benson
a2f47371e7
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537886 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d46731bc2c
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537881 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b1a4d51f9f
early exit for empty substring with optional verbose log message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537880 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
f8e682b391
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537878 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
16be80c8a5
fix failing test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537876 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
a6bd85b4da
add failing test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537875 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
fb392e87b9
add a test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537874 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
751fe711d2
remove assertion of something we're not actually testing here
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537873 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d6bcb1600b
ws; [delete, touch] => truncate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537871 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
c2162d25b4
minor javadoc tweaks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537862 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
15661f9afb
ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537859 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
a2acf8dfb9
-new antunit test for echoxml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537347 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
32d22c0e23
-test for new ResourceContains condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537345 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
18a6ba8332
-new ResourceContains condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537344 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
8f7d13068c
-remove erroneous space
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537343 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
1358eddd92
-new ResourceContains condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537342 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
d579cf5617
-doc typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537334 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
b38e6068cb
-remove whitespace, use antunit-base.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537333 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
f18d4b424d
Allow javafx to be run.
The current version of openjfx has a requirement
that beans are defined with their types in
the format <bean-name>:<class-name>
Hopefully, this will change, in the meantime
this hack allows openjfx scripts to be run
in ant as follows:
<script language="FX" manager="javax">
<classpath>
<fileset dir="${user.home}/apps/openjfx/trunk/lib"/>
</classpath>
import javafx.ui.*;
Frame {
title: "hello"
width: 200
height: 50
content: Label {
text: "Hello World"
}
visible: true
}
</script>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537194 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
0c9ce8cd21
exclusivity
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537023 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
79901525e8
striplinecomments comment nested text value
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537021 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
de1642bdb7
fix (I think) encoding for InputStream from StringResource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537018 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
98b17accfd
add another test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536878 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
c9ae2fb990
-use antunit-base
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536740 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
67f7de212f
-use antunit-base
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536739 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d618e1f811
concat fixlastline/nested text regression; PR 42369
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536592 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b941f2ef44
massive refactorings to Concat: fix failing testcases in HEAD, and implement ResourceCollection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536579 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
3ce64dd501
okay, REALLY finish antunitizing the length test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536575 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
6c7290dcbe
finish antunitizing length test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536570 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b6f9e9aecd
wtf
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536557 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
37d079946a
antunitize length test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536552 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
dffefa0a03
add importable file to give any antunit file a base for running itself
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536549 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
512567d2f6
refactorings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536548 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
08f27b19f2
if either resource to be compared has an unknown size, we must compare content
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536536 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b4101f5424
constructor with passed-in ProjectComponent and default loglevel
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536358 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
e9a41d2a09
guard against empty name oobe
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536356 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
6b652facf6
add a new constructor for programmatic construction of a StringResource with property substitution (will support fixing broken Concat tests)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536355 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
8b667be264
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536353 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
5486fb50f0
ws/doc/unnecessary else
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536352 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
9154805783
add assertion message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536221 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
b29f5e1567
Bugzilla 42334: System properties may be none string objects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@535312 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
7dbe072645
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534434 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
382f81dea5
Avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@534433 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
6d0fd1ee4c
fix the header. Sometimes the IDE get's over enthusiatic, and unless I add some location-awareness plugin, it assumes my laptop is always doing work code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533567 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
758a6bcb93
Pr: 42259 inspired on optimization suggested by Tom Brus
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533498 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
95ce6ff3dc
-use FileUtils.close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533464 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
88e48dbdd3
little bit of code review
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533214 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
4fbce1074a
ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533122 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
b6f25e8e14
Bug #41597 ; scriptdef should be resource-enabled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533121 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
0fdff180f1
bug 42276: support nested text
bug 42277: String resources can have properties double expanded
Nested text is allowed, and property expansion is done at the tail end of a write, not on every read.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533115 13f79535-47bb-0310-9956-ffa450edef68
18 years ago