Steve Loughran
1e2a96f9e6
adding some more stuff; nothing too hard
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272324 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
fa2af03388
Link to CVS Branching and Merging documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272323 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
23fc24e9d4
Identify a txt2html convertor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272322 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
bba7a96e33
Conor's release instructions...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272321 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
0c253dc762
Coding standard conformance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272320 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6454a8ffac
In <zip> and <jara> only reset internal state at the end of execute,
not the attributes and child elements obtained via configuration.
Add a new method that allows the task instances to be reset to their
unconfigured state.
PR: 7552
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272319 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
69dc5eee02
convert fatal TransformerExceptions into BuildExceptions for TraxLiaison.
PR: 7405
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272318 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6270426641
improve Ant's error message if encoding decl of build file is invalid.
PR: 7825
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272317 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
5e7aa5c0e5
Javadoc and style updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272316 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
dd0e8824b4
capture System.out and System.err and pass it to the formatters in
<junit> with fork=yes as well.
PR: 5377
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272315 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
07a3027bb2
Add a check in depend so that if a class file is out of date and the
source file cannot be determined, the class is not deleted and a warning
is given.
PR: 7312
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
7be61ff46c
More output management
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272313 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c17d143ac3
swallow characters that are illegal in XML documents.
PR: 6351
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272312 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
959b74fcb6
Checkstyle setup for checking Ant code base.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272311 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
7fe322a216
Output management
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272310 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
37fe632d83
Initial refactoring of <depend> task to make it a bit clearer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272309 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a1714edc18
Tolerance should not apply to source file checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f8cfa36161
Minor cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272307 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
f5ba55efa1
Changed container config from Parameters to Context, to allow Objects to
be used in the config:
* All services that used to implement Parameterizable now implement Contextualizable.
* Changed 'myrmidon.home' to a File, and the paths to File[].
* DefaultEmbeddor now deploys Antlibs from all directories in 'myrmidon.lib.path',
rather than just a single dir. Can't specify alternative service
implementations (temporarily broken).
* Added 'myrmidon.antlib.path', which DefaultWorkspace uses to search for <import>-ed
antlibs.
* Replaced --task-lib-dir with --antlib-path, which appends directories to
'myrmidon.antlib.path'
* Added --ext-path, which appends directories to 'myrmidon.ext.path'.
* DefaultClassLoaderManager now uses the container config to locate the shared
classloader, rather than using the context classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272306 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
8cab56ee0e
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272305 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a3d6a54f95
Test depend cache
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272304 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3c96ebf5a3
<depend> task does not handle case where an inner and outer class are written at
different times since they have a mutual dependency. I have introduced a 100
millisecond tolerance to catch this situation
PR: 7529
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272303 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
7eb8a34e54
* Rolled back change to PropertyResolver.resolveProperties(), so that it
uses a TaskContext again. Added some regression tests.
* Changed Embeddor.createWorkspace() to use a Map, rather than a Parameters,
to supply initial workspace properties. Initial properties can be Objects,
rather than only Strings. Got rid of the Object -> String convertion from
<ant> and <antcall>.
* Generalised ExecutionFrame, so that it can represent any execution scope
(root, workspace, project, task, inherited, etc), rather than just task scope:
- Replaced getTaskContext() with getPropertyStore().
- Replaced getTypeManager() with getServiceManager().
* Executor is now responsible for creating TaskContext.
* Changed DefaultExecutor to use the configurer provided by the execution frame.
* Added ExecutionContainer, a lifecycle interface which is used to supply the
root execution frame to a service which executes tasks (directly or indirectly).
* Changed interaction between DefaultEmbeddor and workspaces. Embeddor is now
responsible for creating the base property store for workspaces. ExecutionContainer
is used to pass this to workspaces. Parameterizable is now used to pass
container params to workspaces (which matches how it is used with all the
other services).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272302 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6638f2ac2b
Move assertion statement inside try block and make the testcase pass on Windows environments with dubious java.home
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272301 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8edaa455e6
Close PrintStreams if logfile is being used. Leaving the streams open causes test case failures on Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272300 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e2aa7c41ea
Add -source switch to <javadoc>
PR: 5645
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272299 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
7473605fdb
Correct mutant build error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272298 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d1549366e5
Make <java> handle exceptions gracefully if failonerror="true" in
non-forked mode as well.
PR: 6353
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272297 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
8f4aa8719c
Refactor to use a single DTDLocation instance
Still need to integrate XMLCatalog with these tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272296 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
9212083abf
Doc fixes (PR 7453).
Also, add column headings to tables.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272295 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1f992c596b
rework inheritance tree for DirSet and FileSet, they are not
interchangeable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272294 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3bad2ab3a0
Describe change to ejbjar dependency behaviour
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272293 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2c3767a537
Add capability to classfileset to specify the root classes
using a fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272292 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f5b6799863
Add documentation for <java>'s new timeout attribute.
PR: 5299
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272291 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0614659ed5
2002
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272290 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a4a3c8cb37
Make sure the example works
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272289 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
0f1259d2f3
* Moved PropertyStore to interfaces.property. Left DefaultPropertyStore
where it was.
* Changed PropertyResolver.resolveProperties() to use a PropertyStore,
rather than a TaskContext.
* Changed PropertyStore methods to throw a TaskException.
* Changed contract of PropertyStore.getProperty() to throw exception if the
requested property is not set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272288 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
e06736172f
Forgot to move the messages across.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272287 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9f71c862fe
New depend checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272286 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
3c46d4557a
Create temp file in user.dir (PR 4590).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272285 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
20b0507cd3
adding inheritRefs to <antcall>, for better consistency with ant. The default is of course false.
No need to update whatsnew, as that already implies that antcall does this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272284 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
23337b5063
adding inheritRefs to <antcall>, for better consistency with ant. The default is of course false.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272283 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
909ef56547
Setup to suport more test sets for depend task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272282 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
9b18f927fe
Make Sun coding standards (and Conor) happy :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272281 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
70b7bb1065
overide -> override; writer -> file; fix line-breaks/spacing so
the output's a bit neater.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272280 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
d29c41d16c
Add cygpath handling of JIKESPATH (PR 6943).
Also remove superfluous if on ANT_OPTS setting.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272279 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
17f7feb790
Moved a bunch of classes to framework.nativelib:
- Argument
- ArgumentList
- Commandline
- EnvironmentData
- EnvironmentVariable
- Execute
- LoggingExecOutputHandler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272278 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
beed9501eb
Renamed DependencyMetricsTest -> DependencyMetricsTestCase, so that it gets run.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272277 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
f563831080
Fix DIRLIBS to allow for space (iow, more quoting crud -- gack!)
(PR 5178)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272276 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
aacfb068cc
Axed a bucketload of classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272275 13f79535-47bb-0310-9956-ffa450edef68
24 years ago