You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scout-dev@ws.apache.org by "Lin Sun (JIRA)" <sc...@ws.apache.org> on 2007/05/01 19:46:15 UTC

[jira] Created: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


Re: [jira] Created: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

Posted by Lin Sun <li...@gmail.com>.
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: scout-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: scout-dev-help@ws.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


Re: [jira] Created: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

Posted by Kurt T Stam <ks...@apache.org>.
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: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


[jira] Assigned: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam reassigned SCOUT-31:
------------------------------

    Assignee: Kurt Stam  (was: Anil Saldhana)

> 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: Kurt Stam
>             Fix For: 1.0
>
>         Attachments: Scout31.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


[jira] Closed: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam closed SCOUT-31.
--------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.0)
                   1.0rc1

> 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
>            Assignee: Kurt Stam
>             Fix For: 1.0rc1
>
>         Attachments: Scout31.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


[jira] Reopened: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam reopened SCOUT-31:
----------------------------


Need to add the right Fix Version

> 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
>            Assignee: Kurt Stam
>             Fix For: 1.0rc1
>
>         Attachments: Scout31.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


[jira] Updated: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

Posted by "Lin Sun (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun updated SCOUT-31:
-------------------------

    Attachment: Scout31.patch

tested with a clean repo and worked fine.

> 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
>
>         Attachments: Scout31.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


[jira] Closed: (SCOUT-31) Fix scout maven 1 build issue so that the dependency jars can be downloaded automatically

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam closed SCOUT-31.
--------------------------

    Resolution: Fixed

Applied patch, retested. Downloads succeed and all unittest pass

> 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: Kurt Stam
>             Fix For: 1.0
>
>         Attachments: Scout31.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org