ow-util-ant-tasks-1.3.2/ 0000755 0001750 0001750 00000000000 10643716622 014013 5 ustar mkoch mkoch ow-util-ant-tasks-1.3.2/build.xml 0000644 0001750 0001750 00000003571 10415436572 015642 0 ustar mkoch mkoch
This task analyzes dependencies between groups of classes and produces a report. Group of class is defined with include/exclude declaration. The report format can be a simple ASCII text printed on screen, or an xml files. This task is based on ASM 2.x.
Here is an exemple of xml report ( the dtd).
The task class is DependencyAnalyser.
Attribute | Description | Required |
dir | the root directory of classes | No |
output | the report file. If the file extension is xml, the report format is XML, otherwise simple indented text. | No (by default the report is on screen) | showContent | indicates if the report must list groups content. | No (default is false) |
The group nested element is a fileset. All includes files must be .class file. This nested element has a dir attribute for the root of the fileset. By default the root directory is the one specified at task level.
This first example analyzes dependencies classes from the directory output/build. There is 3 groups (ejb, jdo and common). The xml report file is output/build/dependency.xml :
<taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar"> ... <dependency dir="output/build" showContent="true" output="output/build/dependency.xml"> <group name="ejb"> <include name="**/EJB*.class"/> <include name="**/ejb/*.class"/> <include name="**/ejb/*/*.class"/> <include name="javax/persistence/**/*.class"/> </group> <group name="jdo"> <include name="**/JDO*.class"/> <include name="**/jdo/*.class"/> <include name="**/jdo/*/*.class"/> <include name="javax/jdo/**/*.class"/> </group> <group name="common"> <include name="**/*.class"/> <exclude name="**/EJB*.class"/> <exclude name="**/JDO*.class"/> <exclude name="**/ejb/*.class"/> <exclude name="**/ejb/*/*.class"/> <exclude name="**/jdo/*.class"/> <exclude name="**/jdo/*/*.class"/> </group> </dependency>
Copyright © 2000-2005 France Telecom. All rights Reserved.
ow-util-ant-tasks-1.3.2/doc/JUnitTestReportAggregator.html 0000644 0001750 0001750 00000004325 10415430150 022524 0 ustar mkoch mkochThis task aggregates several JUnit reports localiazed in a hierarchy. It produces an index.html page referencing specified JUnit reports. In addition the index.html contains a summary of each sub JUnit reports.
To use this task, you have to specify at least the 'srcdir' attribute which defines the root location of JUnit report to aggregate. With include/exclude xml node it is possible to specify more precisely which reports must be managed.
The task class is JUnitTestReportAggregator.
Attribute | Description | Required |
srcdir | the root directory to find JUnit report | Yes |
destdir | the root directory to find JUnit report | No (default is the srcdir value) |
This first example creates a report in 'output/test' of all JUnit reports found from this root location:
<taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar"> ... <junit-report-aggregator srcdir="output/test"/>
This second example creates a report in 'output' of JUnit reports found
from in 'output/test/reports/foo' and 'output/test/reports/bar':
<taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar"> ... <junit-report-aggregator srcdir="output/test/reports" destdir="output> <include name="foo"/> <include name="bar"/> </junit-report-aggregator>
Copyright © 2000-2005 France Telecom. All rights Reserved.
ow-util-ant-tasks-1.3.2/doc/MultipleAnt.html 0000644 0001750 0001750 00000004772 10415430150 017700 0 ustar mkoch mkochThis task is an extention of the ant task. It permits to invoke several build.xml file in a same time. This task supports include and exclude node based on the
The task class is MultipleAnt.
Attribute | Description | Required |
dir | The root location used for include and exclude condition. | Yes |
antfile | the buildfile to use. Defaults to "build.xml". This file is expected to be a filename relative to the dir attribute given. | No |
target | The name of the target to execute in found ant files. If no target is specified the default target of the ant file is run. | No |
This first example calls default target of all ant files found in the directory 'foo':
<taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar"> ... <multipleant dir="foo"/>
This second example calls default target of ant files found in the
directory 'foo' and which the name starts with 'ow_myproject':
<taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar"> ... <multipleant dir="foo"/> includes="**/ow_myproject*"
This third example calls the target 'test1' of ant files found in the
directory 'foo'':
<taskdef resource="ow.tasks" classpath="lib/ow_util_ant_tasks.jar"> ... <multipleant dir="foo"/> target="test1"
When an ant file does not contains the specified target no error is generated. If no ant file contains the target, then a warning message is printed
Copyright © 2000-2005 France Telecom. All rights Reserved.
ow-util-ant-tasks-1.3.2/doc/antmanual.css 0000644 0001750 0001750 00000001606 10415430150 017237 0 ustar mkoch mkoch /* * Copyright 2003-2004 Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ body { background-image:url(/images/beta.png) } code, pre { font-family : "Courier New", Courier, monospace; font-size : 13px; background : #F2F7F2; color : #000000; padding: 4px; white-space: pre; border: 1px black solid; margin: 0px 30px 10px 10px; } ow-util-ant-tasks-1.3.2/doc/index.html 0000644 0001750 0001750 00000000667 10415430150 016550 0 ustar mkoch mkoch