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]