Skip to content

Commit 2339ad5

Browse files
committed
Moved Spring-WS to seperate dir
0 parents  commit 2339ad5

File tree

1,499 files changed

+99322
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,499 files changed

+99322
-0
lines changed

common-build/.cvsignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
build.properties
2+
*.jpx.local*
3+
*.log
4+
*.iws
5+
*.tws
6+
target
7+
dist
8+
gen-src
9+
bak
10+
mimedata
11+
ivy-cache

common-build/.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>common-build</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
</buildSpec>
9+
<natures>
10+
</natures>
11+
</projectDescription>

common-build/clover-targets.xml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?xml version="1.0"?>
2+
3+
<!--
4+
Copyright 2002-2005 the original author or authors.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
- - -
19+
Author: Colin Sampaleanu
20+
Author: Keith Donald
21+
22+
Ant XML fragment that contains useful targets for working with clover. These
23+
include targets to instrument (cloverize) project code, execute tests with clover,
24+
and produce test coverage reports.
25+
26+
This ant XML fragment is meant to be imported into a project build file, along with
27+
common-targets.xml. This is an optional module, and due to the way the ant import works,
28+
there is no way to automatically hook this up into the build. The importing project
29+
must override appropropriate 'hook' targets from common-targets.xml, and then have
30+
the override targets depend on both the targets from common-targets and those from here.
31+
32+
Note, for clover to work:
33+
- Make sure clover.jar and cenquatasks.jar is in your ant lib directory.
34+
- Make sure clover.jar is expressed as a test dependency for your project.
35+
-->
36+
37+
<project name="clover-targets" xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
38+
39+
<import file="common-targets.xml" />
40+
41+
<target name="clover.tasks" depends="retrieve">
42+
<taskdef resource="com/cenqua/ant/antlib.xml" classpath="${test.classpath}" />
43+
<taskdef resource="clovertasks" classpath="${test.classpath}" />
44+
</target>
45+
46+
<target name="-check.clover" depends="clover.tasks">
47+
<available property="clover.installed" classname="com.cenqua.clover.CloverInstr" />
48+
</target>
49+
50+
<target name="guard.noclover" depends="-check.clover" unless="clover.installed">
51+
<fail message="The target you are attempting to run requires Clover, which doesn't appear" />
52+
</target>
53+
54+
<target name="clover.init" depends="guard.noclover">
55+
<property name="target.clover.dir" value="${target.dir}/clover" />
56+
<mkdir dir="${target.clover.dir}" />
57+
<clover-setup initstring="${target.clover.dir}/coverage.db" tmpdir="${target.clover.dir}" preserve="true">
58+
<fileset dir="${src.java.main.dir}">
59+
<include name="**/*.java" />
60+
</fileset>
61+
</clover-setup>
62+
</target>
63+
64+
<target name="clover.instrument" depends="clover.init, compile" />
65+
66+
<target name="clover-report" depends="clover.instrument, tests-local" description="Produce a test coverage report">
67+
<clover-report>
68+
<current outfile="${target.clover.dir}/html">
69+
<format type="html" />
70+
</current>
71+
</clover-report>
72+
</target>
73+
74+
<target name="clover-summary" depends="clover.instrument, tests-local" description="Produce a test coverage summary">
75+
<clover-report>
76+
<current summary="yes" outfile="${target.clover.dir}/coverage.pdf">
77+
<format type="pdf" />
78+
</current>
79+
</clover-report>
80+
</target>
81+
82+
</project>

0 commit comments

Comments
 (0)