Magesh Umasankar
e22b34c577
Use classpath of AntFilterReader if available.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271522 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
de1a987f23
Stefan's prediction coming true: AntFilterReader has its own classpath attribute and nested classpath element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271521 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5f07fcba57
Use a helper class to process chained readers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271518 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ec9595bfac
FilterReaderSet aware task to load Ant properties.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271516 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6a2b776bfc
A filter that attaches a prefix to every line of data read.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271515 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Costin Manolache
034b22b4f2
Checking in the modified ( and new ) files.
Most of the functionality in Main is moved into AntBean ( all public/protected
methods are now wrappers around AntBean's functionality, for backward compat).
Same in ProjectHelper - again, for backward compat the public/protected functions
are unchanged, old code can still call the old methods and get similar behavior.
In TaskAdapter - few improvements ( still more to go ) to allow a program
to control tasks that are in a child loader. That's extremely important to
get ant embeded and controlled in a programatic way ( Project may create
tasks in a child class loader, so casting will fail - the only way
to use them is by using introspection ). I've also added the ability
to 'adapt' beans that have multiple methods, not only execute()
Please review, try, let me know when I can commit it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271514 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
9ec9a279f5
Add copyright header.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
7f243c7f6a
Converts Tabs to Spaces.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271417 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
70f91ac465
Oh! the horrors of cut-n-paste. Copyright should have been 2002.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271416 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
defe5f24dc
Answer the question: "So what are filterreadersets and filterreaders anyway?"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271415 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4ad59f0fc5
Antlib proposal Second installment
Submitted by: Jose Alberto Fernandez <j_a_fernandez@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271407 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
5e16edc84e
Filter to read the last 'n' lines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271394 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f860a1bf81
Initialize whenever parameters (possibly) change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271393 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3ca907710e
1. Use a variable name that better represents the type of data stored.
2. Minor code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271392 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
439fe1882b
Filter to read the first 'n' lines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271391 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
2a299debca
Filter that replaces token strings with user supplied values. This is somewhat similar to <filterset> stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271380 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ef148d08a2
When passed through filters, the resulting size of the filtered data may be
larger than the actual file size. Keep reading till -1 is returned.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271379 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
2eb375f62c
And thus the JavaReader phoenix rises from the ashes of JavaDoc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271378 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
df18fb1a5c
Operate at the read() method level instead of at the read(char[]) method level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271377 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8aa365e5d7
1. Change Parameterizable interface's setParameters method signature such that it takes in an array of type Parameter instead of Hashtable.
2. Introduce "type" as an attribute to nested param.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271376 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
7265fdb8a8
1. Class marked as final.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271375 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e886871506
1. "final" modifiers introduced in relevant places.
2. BuildExceptions thrown only when failonerror is true.
3. A few variables renamed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271374 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
fe4e685019
Configurable -> Parameterizable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271372 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
15c4eb29a6
Bad example fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271371 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8b00ce3f42
Initial version of FilterReaderSet implementation with <loadfile> as example.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271370 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
778a6800cf
Use a wrapper for exceptions rather than the full stacktrace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271354 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
af01f285a1
fix summary orthograph
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271299 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b6f66230b3
fix javaddoc and unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271298 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4829434a73
Fix shouldRun logic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271288 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f4a6e35f35
Fix Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271287 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
8c68d48649
Make sure you do not compare apples to oranges
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271286 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b9fa4d494b
Initial commit. Was missed in the original one. Sorry Jose.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271282 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7ed2408117
upon Jose Alberto's request, updates to antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271281 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
634dbf216a
Code cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271275 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b67ae6c688
Implement if/unless into (Batch)TestElement
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271274 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9d81c4b279
Some cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271273 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6fd8df2dc2
Make XMLFormatter working.
It is assumed that all results are sent sequentially
so that we can figure to what testsuite belong a test.
TestCase.toString() might be misleading since we cannot
guarantee the format. I need to do it myself in
the runner.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271128 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
283bade37c
- Fixed elements to make sure that we have configured elements
in the accessors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271125 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c2b10718db
- Refactored the Server and TestRunner to deal with events.
- Added TestSummary (TestResult was better but is conflicting with JUnit)
which sole purpose is to provide a helpful summary of the sequence
to listeners.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271124 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b07408a415
Fix formatters by cleaning up some logic.
Events will now send a summary for each end of sequence.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271123 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
341ff9fbe6
Make sure that it collects testcases correctly inside directories.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271051 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b423c3cf7d
Allow to execute rjunit to check for real use case by running Ant tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271050 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9dd82220b2
Handy build file to run ant tests via rjunit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271049 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b1917be1c4
Fix package name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271047 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f1756e725f
Moving to rjunit package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271046 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
728221f4d8
Moving to rjunit package to avoid conflicts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271045 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
62ff30c775
Socket error occurs when running multiple times...there must be something
wrong with the shutdown
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271042 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b71d8a9255
Fix tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271041 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
982958016a
- Add equals method to event.
- Fix server shutdown
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271040 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
56498384ab
Removing the old listener
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271039 13f79535-47bb-0310-9956-ffa450edef68
24 years ago