axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayachandra Sekhara Rao Sunkara (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1669) some samples require Junit but dependency is not in build.xml
Date Mon, 22 Nov 2004 07:39:26 GMT
     [ http://nagoya.apache.org/jira/browse/AXIS-1669?page=comments#action_55727 ]
     
Jayachandra Sekhara Rao Sunkara commented on AXIS-1669:
-------------------------------------------------------

Hi!
I've identified apart from this jms/stub/JMSURLStubTest.java a few other files in the sub
directories of samples directory, most of which are actually some kind of Test cases (don't
know why they are appearing in samples directory, rather than in test directory). I've listed
out all of them and made changes in the appropriate build.xml files which include them for
compilation mentioning to compile them only if junit is present. This would avoid build from
failing as reported in the bug report 

> some samples require Junit but dependency is not in build.xml
> -------------------------------------------------------------
>
>          Key: AXIS-1669
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1669
>      Project: Axis
>         Type: Bug
>   Components: Samples
>     Versions: current (nightly)
>     Reporter: Aleksander Slominski

>
>      [java] component-compile:
>      [java]      [echo] C:\Offnet\ws-axis\java\samples\jms\build.xml
>      [java] axis-clover-setenv:
>      [java] axis-clover-setup:
>      [java] setenv:
>      [java] copy:
>      [java] compile:
>      [java] [wsdl2java] WSDL2Java C:\Offnet\ws-axis\java/samples/jms/stub/GetQuo
> te.wsdl
>      [java]   [foreach] Parsing XML file:  C:\Offnet\ws-axis\java/samples/jms/st
> ub/GetQuote.wsdl
>      [java]   [foreach] Generating C:\Offnet\ws-axis\java\build\work\samples\jms
> \stub\xmltoday_delayed_quotes\GetQuoteService.java
>      [java]   [foreach] Generating C:\Offnet\ws-axis\java\build\work\samples\jms
> \stub\xmltoday_delayed_quotes\GetQuoteServiceLocator.java
>      [java]   [foreach] Generating C:\Offnet\ws-axis\java\build\work\samples\jms
> \stub\xmltoday_delayed_quotes\GetQuote.java
>      [java]   [foreach] Generating C:\Offnet\ws-axis\java\build\work\samples\jms
> \stub\xmltoday_delayed_quotes\GetQuoteBindingStub.java
>      [java]     [javac] Compiling 7 source files to C:\Offnet\ws-axis\java\build
> \classes
>      [java]   [foreach] C:\Offnet\ws-axis\java\samples\jms\stub\JMSURLStubTest.j
> ava:25: package junit.framework does not exist
>      [java]   [foreach] import junit.framework.AssertionFailedError;
>      [java]   [foreach]                        ^
>      [java]   [foreach] C:\Offnet\ws-axis\java\samples\jms\stub\JMSURLStubTest.j
> ava:26: package junit.framework does not exist
>      [java]   [foreach] import junit.framework.TestCase;
>      [java]   [foreach]                        ^
>      [java]   [foreach] C:\Offnet\ws-axis\java\samples\jms\stub\JMSURLStubTest.j
> ava:42: cannot resolve symbol
>      [java]   [foreach] symbol  : class TestCase
>      [java]   [foreach] location: class samples.jms.stub.JMSURLStubTest
>      [java]   [foreach] public class JMSURLStubTest extends TestCase {
>      [java]   [foreach]                                     ^
>      [java]   [foreach] C:\Offnet\ws-axis\java\samples\jms\stub\JMSURLStubTest.j
> ava:59: cannot resolve symbol
>      [java]   [foreach] symbol  : method assertTrue (java.lang.String,boolean)
>      [java]   [foreach] location: class samples.jms.stub.JMSURLStubTest
>      [java]   [foreach]         assertTrue("getQuote is null", getQuote != null)
> ;
>      [java]   [foreach]         ^
>      [java]   [foreach] 4 errors
>      [java] BUILD FAILED
>      [java] C:\Offnet\ws-axis\java\buildSamples.xml:61: The following error occu
> rred while executing this line:
>      [java] C:\Offnet\ws-axis\java\xmls\targets.xml:44: The following error occu
> rred while executing this line:
>      [java] C:\Offnet\ws-axis\java\samples\jms\build.xml:64: Compile failed; see
>  the compiler error output for details.
>      [java] Total time: 1 minute 40 seconds

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message