<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
You could start by reading the jira comments ;-)<BR>
<BR>
It sais<BR>
<BR>
<BLOCKQUOTE>
    <I>Tests may be excluded from the compile target by the exclude file </I><BR>
    <BR>
    <I><A HREF="https://svn.jboss.org/repos/jbossws/stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt">https://svn.jboss.org/repos/jbossws/stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt</A> </I><BR>
    <BR>
    <I>This allows us to detect regression and have a unified testsuite across all supported containers </I><BR>
    <I>You will need to comment the exclude before you run tests-main</I><BR>
    <BR>
</BLOCKQUOTE>
cheers<BR>
-thomas<BR>
<BR>
On Tue, 2007-11-13 at 14:11 +0100, Carlo de Wolf wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">How do I run this test?</FONT>

<FONT COLOR="#000000">I already did a 'ant' &amp; 'ant jars'</FONT>

<FONT COLOR="#000000">Carlo</FONT>

<FONT COLOR="#000000">carlo@alien:~/work/jbossws-native-2.0.2$ ant -Dtest=org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase one-test</FONT>
<FONT COLOR="#000000">Buildfile: build.xml</FONT>

<FONT COLOR="#000000">prepare:</FONT>

<FONT COLOR="#000000">thirdparty-init:</FONT>
<FONT COLOR="#000000">     [echo] checksum.ok = true</FONT>

<FONT COLOR="#000000">thirdparty-get:</FONT>

<FONT COLOR="#000000">thirdparty-classpath:</FONT>

<FONT COLOR="#000000">tests-prepare:</FONT>

<FONT COLOR="#000000">     [echo] -----------------------------------------------</FONT>
<FONT COLOR="#000000">     [echo] jboss.home   = /home/carlo/work/jboss-head/build/output/jboss-5.0.0.Beta3</FONT>
<FONT COLOR="#000000">     [echo] excludesfile = /home/carlo/work/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt</FONT>
<FONT COLOR="#000000">     [echo] java.home    = /opt/jdk1.5.0_11/jre</FONT>
<FONT COLOR="#000000">     [echo] jboss.bind   = localhost</FONT>
<FONT COLOR="#000000">     [echo] -----------------------------------------------</FONT>

<FONT COLOR="#000000">tests-classpath-jboss50:</FONT>

<FONT COLOR="#000000">tests-classpath-jboss42:</FONT>

<FONT COLOR="#000000">tests-classpath-jboss40:</FONT>

<FONT COLOR="#000000">tests-classpath-jboss40-no-ejb3:</FONT>

<FONT COLOR="#000000">tests-classpath:</FONT>

<FONT COLOR="#000000">tests-init:</FONT>

<FONT COLOR="#000000">one-test:</FONT>
<FONT COLOR="#000000">    [junit] Running org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase</FONT>
<FONT COLOR="#000000">    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec</FONT>
<FONT COLOR="#000000">    [junit] Test org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase FAILED</FONT>

<FONT COLOR="#000000">BUILD SUCCESSFUL</FONT>
<FONT COLOR="#000000">Total time: 1 second</FONT>
<FONT COLOR="#000000">carlo@alien:~/work/jbossws-native-2.0.2$ cat output/tests/reports/TEST-org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase.txt</FONT>
<FONT COLOR="#000000">Testsuite: org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase</FONT>
<FONT COLOR="#000000">Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec</FONT>

<FONT COLOR="#000000">        Caused an ERROR</FONT>
<FONT COLOR="#000000">org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase</FONT>
<FONT COLOR="#000000">java.lang.ClassNotFoundException: org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefEJBTestCase</FONT>
<FONT COLOR="#000000">        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)</FONT>
<FONT COLOR="#000000">        at java.security.AccessController.doPrivileged(Native Method)</FONT>
<FONT COLOR="#000000">        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)</FONT>
<FONT COLOR="#000000">        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)</FONT>
<FONT COLOR="#000000">        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)</FONT>
<FONT COLOR="#000000">        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)</FONT>
<FONT COLOR="#000000">        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)</FONT>
<FONT COLOR="#000000">        at java.lang.Class.forName0(Native Method)</FONT>
<FONT COLOR="#000000">        at java.lang.Class.forName(Class.java:164)</FONT>

<FONT COLOR="#000000">On Tue, 2007-11-13 at 12:09 +0100, Thomas Diesler wrote:</FONT>
<FONT COLOR="#000000">&gt; Hi Carlo,</FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; could you please comment on </FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; Cannot lookup ejb3 remote proxy</FONT>
<FONT COLOR="#000000">&gt; <A HREF="http://jira.jboss.com/jira/browse/JBAS-4930">http://jira.jboss.com/jira/browse/JBAS-4930</A></FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; cheers</FONT>
<FONT COLOR="#000000">&gt; -thomas</FONT>
<FONT COLOR="#000000">&gt; </FONT>

</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx

</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>