Thanks! I 've ran the unittests... I saw the test you put in scout29 (JAXR01PublishOrgTest) ran fine so I'll look into that.

-----------------//-----------------------------------
every test above ran okay...

    [junit] Running org.apache.ws.scout.registry.infomodel.SlotTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.219 sec
[junit] Running org.apache.ws.scout.registry.publish.JAXR01PublishClassifica
tionSchemeTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2 sec
[junit] [ERROR] Test org.apache.ws.scout.registry.publish.JAXR01PublishClass
ificationSchemeTest FAILED
[junit] Running org.apache.ws.scout.registry.publish.JAXR01PublishConceptTes
t
every test below failed....
-----------------//-----------------------------------

Are you able to get a successful build with test enabled, after the steps below? I am very new to Scout and Juddi, so I might ask you for the creation scripts if I cannot find them myself.

Lin

Kurt T Stam wrote:
Thanks for the patch :). I will try it out later today.

How do you run the unittests? I run them with an juddi-embedded profile.
As configured in the BaseTestCase

     //LOCAL Transport
        final String INQUERY_URI      =
"org.apache.juddi.registry.local.InquiryService#inquire";
        final String PUBLISH_URI      =
"org.apache.juddi.registry.local.PublishService#publish";
        final String TRANSPORT_CLASS  =
"org.apache.ws.scout.transport.LocalTransport";

In modules/scout/scr/test/resources you can modify the juddi.properties

I use a mysql database for juddi so I use the following settings

# use a dataSource (if set to false a direct
# jdbc connection will be used.
juddi.isUseDataSource=false
juddi.jdbcDriver=com.mysql.jdbc.Driver
juddi.jdbcUrl=jdbc:mysql://localhost/juddi
juddi.jdbcUsername=juddi
juddi.jdbcPassword=juddi

This requires you to have database called juddi, and you need to have
run the creation scripts for it. (part of juddi)

Hope that helps,

--Kurt

Lin Sun (JIRA) wrote:
Fix scout maven 1 build issue so that the dependency jars can be downloaded 
automatically
-----------------------------------------------------------------------------------------

                 Key: SCOUT-31
                 URL: https://issues.apache.org/jira/browse/SCOUT-31
             Project: Scout
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Sun 15. SDK + Win XP
            Reporter: Lin Sun
         Assigned To: Anil Saldhana
             Fix For: 1.0


The patch contains the following changes:
1) added a few repos.
2) remove the repos specified the module level and to use the repos specified 
at etc/project.properties.
3) delete the packaging tag as they don't seem to be needed and cause build 
error.

With the patch, I am able to build scout trunk with a clean repo using maven 1. 
  If I skip test, I can get a build successful.  If I enable test, build will 
fail because of one or more unit tests failed.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to