[jboss-as7-dev] No config XSLT transform for basic integration tests (#751)
Ondřej Žižka
ozizka at redhat.com
Fri Dec 2 01:08:16 EST 2011
Hi,
before someone starts copying XML snippects across all pom.xml's, let me
remind:
The concept is (was) to do the changes recursively from global to
sub-module specific:
1) Copy AS from ${jboss.dist} to target/jbossas
2) Do the global changes like IP/ports/database config
3) Let the submodules copy this to their target/jbossas and perform
their specific config changes.
These warnings started appearing after the test files were moved to
modules:
[copy]
Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/smoke does not exist.
[copy]
Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/clustering-udp-0 does not exist.
[copy]
Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/clustering-udp-1 does not exist.
[copy]
Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/iiop-client does not exist.
[copy]
Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/iiop-server does not exist.
I guess someone forgot to edit the ant script.
Ondra
Thomas Diesler píše v Čt 01. 12. 2011 v 16:40 +0100:
> The XSLT transform that I need does more than just tweak the ports.
>
> The general requirement would be that a set/group of test can do a
> transformation of the original config before it runs. This works for
> smoke tests, which run against a transformed server config (i.e.
> target/jbossas-smoke/configuration) but not for the basic integration tests.
>
>
> -thomas
>
> On 12/01/2011 01:16 PM, Kabir Khan wrote:
> > As suggested on the mailing list last week. If we change the config files to use port-offset="${jboss.port.offset:0}" and make the tests use -Djboss.port.offset=??? instead there might not be any need for xslt to change the portes.
> >
> > ---
> > Reply to this email directly or view it on GitHub:
> > https://github.com/jbossas/jboss-as/pull/751#issuecomment-2974043
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20111202/53c360fd/attachment.html
More information about the jboss-as7-dev
mailing list