[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-development
Subject:    RE: [JBoss-dev] jbossnet build problem in 4.0 testsuite
From:       "Ruel Loehr" <ruel.loehr () jboss ! com>
Date:       2005-07-29 15:26:20
Message-ID: C2CDEFBECFC9A14892BCCFB4C95F48689CA6F2 () EX-201 ! mail ! navisite ! com
[Download RAW message or body]

I tried to duplicate this error without success.

Using both a 1.4 and 1.5 version of jdk I performed the following tests
both locally and on a QA machine from a clean checkout.

mkdir test
cd test
cvs co -r Branch_4_0 jboss-4.0.x
cd jboss-4.0
cd build
./build.sh
cd ../testsuite
../build.sh

And for an even more localized test:
Cd testsuite
./build.sh clean
./build.sh jbossnet-wsdl2java


I agree that it looks like your code was not generated but I have been
unable to duplicate the error.  The first thing the jbossnet-wsdl2
target does is attempt to generate the code from the wsdl.  If it failed
to generate the code it should have thrown an error there rather than in
the next step where it attempts to delete the 2 java files.

Does your build.testlog have any further info which may hold more clues?

     <java dir="${build.gen-src}" fork="yes" failOnError="true"
className="org.jboss.axis.wsdl.WSDL2Java">
      <sysproperty key="build.testlog" value="${build.testlog}"/>
      <sysproperty key="log4j.configuration"
value="file:${build.resources}/log4j.xml"/>
      <arg
value="-http://${node0}/HelloBean=org.jboss.test.jbossnet.admindevel"/>
      <arg
value="-Nhttp://${node0}:8080/jboss-net/services/Hello=org.jboss.test.jb
ossnet.admindevel"/>
      <arg value="${build.resources}/jbossnet/admindevel/hello.wsdl"/>
      <classpath refid="thirdparty.classpath"/>
    </java>
    <delete>
      <fileset
dir="${build.gen-src}/org/jboss/test/jbossnet/admindevel">
        <include name="HelloObj.java"/>
        <include name="HelloReplyObj.java"/>
      </fileset>
    </delete>



Ruel Loehr
JBoss QA




-----Original Message-----
From: jboss-development-admin@lists.sourceforge.net
[mailto:jboss-development-admin@lists.sourceforge.net] On Behalf Of
Scott M Stark
Sent: Friday, July 29, 2005 12:03 AM
To: jboss-development@lists.sourceforge.net
Subject: [JBoss-dev] jbossnet build problem in 4.0 testsuite

I did a clean checkout of the current jboss-4.0.x tag and tried building
the testsuite, and there is some problem with the 
 
init-code-generation:
    [mkdir] Created dir:
C:\cvs\JBoss4.0\jboss-4.0\testsuite\output\reports

jbossnet-wsdl2java:

BUILD FAILED
C:\cvs\JBoss4.0\jboss-4.0\testsuite\imports\code-generation.xml:814:
C:\cvs\JBos
s4.0\jboss-4.0\testsuite\output\gen-src\org\jboss\test\jbossnet\admindev
el not f
ound.

Total time: 18 seconds
[starksm@banshee9100 testsuite]$

I got past this by adding a failonerror="false":

    <delete failonerror="false" >
      <fileset
dir="${build.gen-src}/org/jboss/test/jbossnet/admindevel">
        <include name="HelloObj.java"/>
        <include name="HelloReplyObj.java"/>
      </fileset>
    </delete>

but then the build fails latter on:

compile-classes-only:
    [mkdir] Created dir:
C:\cvs\JBoss4.0\jboss-4.0\testsuite\output\classes
    [javac] Compiling 2453 source files to
C:\cvs\JBoss4.0\jboss-4.0\testsuite\o
utput\classes
    [javac]
C:\cvs\JBoss4.0\jboss-4.0\testsuite\src\main\org\jboss\test\jbossnet
\admindevel\ExampleTestCase.java:19: cannot find symbol
    [javac] symbol  : class Hello
    [javac] location: class
org.jboss.test.jbossnet.admindevel.ExampleTestCase
    [javac]    private Hello helloPort;
    [javac]            ^
    [javac]
C:\cvs\JBoss4.0\jboss-4.0\testsuite\src\main\org\jboss\test\jbossnet
\admindevel\ExampleTestCase.java:29: cannot find symbol
    [javac] symbol  : class HelloServiceLocator
    [javac] location: class
org.jboss.test.jbossnet.admindevel.ExampleTestCase
    [javac]       HelloServiceLocator locator = new
HelloServiceLocator();
    [javac]       ^
    [javac]
C:\cvs\JBoss4.0\jboss-4.0\testsuite\src\main\org\jboss\test\jbossnet
\admindevel\ExampleTestCase.java:29: cannot find symbol
    [javac] symbol  : class HelloServiceLocator
    [javac] location: class
org.jboss.test.jbossnet.admindevel.ExampleTestCase
    [javac]       HelloServiceLocator locator = new
HelloServiceLocator();
    [javac]                                         ^
    [javac]
C:\cvs\JBoss4.0\jboss-4.0\testsuite\src\main\org\jboss\test\jbossnet
\servicename\ServiceNameTestCase.java:27: cannot find symbol
    [javac] symbol  : class HelloBeanServiceLocator
    [javac] location: class
org.jboss.test.jbossnet.servicename.ServiceNameTestC
ase
    [javac]       HelloBeanServiceLocator locator = new
HelloBeanServiceLocator(
);
    [javac]       ^
    [javac]
C:\cvs\JBoss4.0\jboss-4.0\testsuite\src\main\org\jboss\test\jbossnet
\servicename\ServiceNameTestCase.java:27: cannot find symbol
    [javac] symbol  : class HelloBeanServiceLocator
    [javac] location: class
org.jboss.test.jbossnet.servicename.ServiceNameTestC
ase
    [javac]       HelloBeanServiceLocator locator = new
HelloBeanServiceLocator(
);
    [javac]                                             ^
    [javac]
C:\cvs\JBoss4.0\jboss-4.0\testsuite\src\main\org\jboss\test\jbossnet
\servicename\ServiceNameTestCase.java:28: cannot find symbol
    [javac] symbol  : class HelloBean
    [javac] location: class
org.jboss.test.jbossnet.servicename.ServiceNameTestC
ase
    [javac]       HelloBean port = locator.getHello();
    [javac]       ^
    [javac]
C:\cvs\JBoss4.0\jboss-4.0\testsuite\src\main\org\jboss\test\jbossnet
\servicename\ServiceNameTestCase.java:29: cannot find symbol
    [javac] symbol  : class Greeting
    [javac] location: class
org.jboss.test.jbossnet.servicename.ServiceNameTestC
ase
    [javac]       Greeting ret = port.sayHello();
    [javac]       ^
    [javac] Note: * uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 7 errors

BUILD FAILED
C:\cvs\JBoss4.0\jboss-4.0\testsuite\build.xml:309: Compile failed; see
the compi
ler error output for details.

clearly there is some code not being generated.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Inc.
xxxxxxxxxxxxxxxxxxxxxxxx 
 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic