Skip to content

Commit ac9328b

Browse files
Comments. ISSUE: Xalan-test is currently relying on our having run the package target to avoid version numbers in jarfile names, which keeps test from running successfully pre-package... but that's when it _wants_ to run, so package can copy most recent results into the source archive as documentation. Easiest fix would be to change xalan-test to use ../xalan-java/* (the only form of wildcard that Java classpaths support). Assuming we do decided to fix this; xalan-java's ant build did *not* always run smoketests.
1 parent 726ed69 commit ac9328b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

integration-tests/pom.xml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@
6262
</plugin>
6363

6464
<!-- Invoke sibling xalan-test project for conformance tests?
65+
The Ant build for Xalan did *not* do so automagically,
66+
though it had convenience targets for doing so an
67+
for warning if the test suite was not where it was
68+
expected to be.
69+
6570
Ideally we want that done before packaging, so a current
6671
conformance run (at least the essential targets) is run
6772
befroe the tests and results are bundled into the
@@ -95,9 +100,11 @@
95100
-lib. It isn't as pretty as using the <antrun> task would
96101
be. But it appears to do the job.
97102
98-
It is actually unclear that this automatic xalan-test run
99-
was being done by the ant build. If it wasn't, we could
100-
defer this... but it's desirable for source packaging if/when.
103+
Since the ant build packaged but did not normally run the
104+
tests (or check for a successful run having been done), we
105+
don't actually have to do this right now. It's desirable if
106+
the test source includes proof of recent run against that
107+
source, but deferrable.
101108
-->
102109
<plugin>
103110
<groupId>org.codehaus.mojo</groupId>
@@ -106,7 +113,7 @@
106113
<executions>
107114
<execution>
108115
<id>xalan-test attempt</id>
109-
<phase>pre-</phase>
116+
<phase>pre-package</phase>
110117
<goals>
111118
<goal>exec</goal>
112119
</goals>

0 commit comments

Comments
 (0)