deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rudy De Busscher <rdebussc...@gmail.com>
Subject Re: integration tests working on WLS 12c
Date Sat, 25 Feb 2012 20:49:35 GMT
@Vineet

Thx, I'm going to try this as soon as I have the time for it.

Regards
Rudy

On 24 February 2012 22:42, Vineet Reynolds <Vineet.Reynolds@gmail.com>wrote:

> I seem to have jumped the gun with that response on twitter. It is only
> partially correct - Arquillian substitutes properties declared in
> arquillian.xml using the ${sys_prop:optional_default} notation, with the
> equivalent system property value or the specified default. It does not
> perform the substitution for environment variables.
>
> A new JIRA ticket has been created to cater to this requirement:
> https://issues.jboss.org/browse/ARQ-784
>
> For now, you could get Surefire/Failsafe (assuming that you're using Maven)
> to pass in a declared environment variable, as a system property. Assuming
> that you have a WLS_HOME environment variable, you can instruct Surefire to
> pass it as a system property:
>
>    <plugin>
>        <artifactId>maven-surefire-plugin</artifactId>
>            <configuration>
>                <systemPropertyVariables>
>                    <WLS_HOME>${env.WLS_HOME}</WLS_HOME>
>                </systemPropertyVariables>
>            </configuration>
>    </plugin>
>
> and configure the wlsHome property in arquillian.xml as:
>
>    <container qualifier="wls" default="true">
>        <configuration>
>             <property name="adminUrl">t3://localhost:7001</property>
>             <property name="adminUserName">weblogic</property>
>            <property name="adminPassword">welcome1</property>
>            <property name="target">examplesServer</property>
>            <property name="wlsHome">${WLS_HOME}</property>
>        </configuration>
>    </container>
>
> NB: Given the existence of two environment variables WL_HOME and WLS_HOME
> created by the setDomainEnv.cmd/sh script, I might be forced to break
> compatibility towards the intended use of the wlsHome property in the next
> release. I apologize in advance for this frustration, but I'll attempt to
> make any change as seamless as possible.
>
> --
> View this message in context:
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/integration-tests-working-on-WLS-12c-tp4416924p4418703.html
> Sent from the Apache DeltaSpike Incubator Discussions mailing list archive
> at Nabble.com.
>



-- 
Rudy De Busscher
http://www.c4j.be

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message