Changeset 3958 for TI01-discovery


Ignore:
Timestamp:
29/05/08 12:14:45 (11 years ago)
Author:
cbyrom
Message:

Update docs with setting up instructions for eclipse
and test running instructions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ws-Discovery2-upgrade/readme.txt

    r3945 r3958  
    44NB, completing the build here assumes you have both apache axis2 and ant installed.  The AXIS2_HOME environment variable 
    55should be set to point to the top level directory of the axis2 install.  If you are deploying locally to tomcat, you need 
    6 to set CATALINA_HOME to the home dir of the tomcat install.  Also, you may need to copy jdom.jar into your java jre/ext/lib dir 
    7 to get the compile working. 
     6to set CATALINA_HOME to the home dir of the tomcat install. 
    87 
    98The build file, \srcgen\buildDiscovery.xml, now includes targets to run the WSDL2Java code generation and do all the setting up 
     
    1716ant -f buildClient.xml - defaults to building the service jar 
    1817 
    19 NB, to get the DiscoveryService.wsdl file to be generated properly, you will likely have to temporarily rename the jsr  
     18NB, to get the DiscoveryService.wsdl file to be generated properly, you may have to temporarily rename the jsr  
    2019file, as mentioned below.  Also note that the WSDL2JAVA operation generates its own unique version of xmlbeans which is then 
    2120referenced by the generated code - as such you should be careful not to mix the xmlbeans code generated between doing client 
    2221and service jar builds. 
     22 
     23Eclipse set up 
     24------------------- 
     25To remove build errors in the code, ensure that the client build is ran, and eclipse is refreshed to pick the 
     26generated code.  Add all the jars in the resources dir to the build classpath and also add all the jars in the AXIS2_HOME/lib 
     27dir. 
     28 
     29Running tests 
     30---------------- 
     31There are a few JUnit tests that can be ran to check the basic integrity of the web service.  From these to be ran from inside 
     32eclipse, you'll need to add the generated XBeans-packaged.jar (in build/lib) to the build path. 
    2333 
    2434Trouble Shooting 
Note: See TracChangeset for help on using the changeset viewer.