You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2011/02/10 10:17:57 UTC

[jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

    [ https://issues.apache.org/jira/browse/UIMA-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992951#comment-12992951 ] 

Jörn Kottmann commented on UIMA-1717:
-------------------------------------

I now have a hudson account and added ci for OpenNLP.
If there is interest I could do it for UIMA also.

> Use Apache Hudson and Nexus repository facilities
> -------------------------------------------------
>
>                 Key: UIMA-1717
>                 URL: https://issues.apache.org/jira/browse/UIMA-1717
>             Project: UIMA
>          Issue Type: Wish
>          Components: Build, Packaging and Test
>            Reporter: Richard Eckart de Castilho
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The ASF seems to provide a continuous integration facility (c.f. http://wiki.apache.org/general/Hudson), as well as a Nexus Maven artifact repository (c.f. http://wiki.apache.org/portals/FrontPage/HowtoUseNexusForRelease). It would be great if UIMA would make use of these facilities, allowing for better testing as well as access to fresh snapshot artifacts. It would hopefully also facilitate things for people compiling UIMA or the UIMA sandbox on their private Hudson instances.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Jörn Kottmann <ko...@gmail.com>.
On 2/11/11 1:58 PM, Jörn Kottmann wrote:
> On 2/11/11 1:49 PM, Jörn Kottmann wrote:
>> For some reason there are two tests failing on hudson,
>> I believe one could be related to an encoding issue.
>
> In FileUtilTest we have the following piece of code:
>
> FileUtils.saveString2File(text, tmpFile1);
>
> text is a String which contains a German umlaut, depending
> on the platform local it might not be possible to encode and decode the
> umlaut correctly. In that case the umlaut is encoded as "?" and then 
> decoded
> "?", which fails the assertEquals which expects the correct umlaut.
>

To make the UIMA build independent of the local we have to drop this 
part of the
test where it writes the file without specifying the local. In the part 
of the test the  file is saved
with UTF-8 local which is available per Java Specification on every 
compliant JVM.

Jörn

Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Jörn Kottmann <ko...@gmail.com>.
On 2/11/11 1:49 PM, Jörn Kottmann wrote:
> For some reason there are two tests failing on hudson,
> I believe one could be related to an encoding issue.

In FileUtilTest we have the following piece of code:

FileUtils.saveString2File(text, tmpFile1);

text is a String which contains a German umlaut, depending
on the platform local it might not be possible to encode and decode the
umlaut correctly. In that case the umlaut is encoded as "?" and then decoded
"?", which fails the assertEquals which expects the correct umlaut.

Jörn


Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Jörn Kottmann <ko...@gmail.com>.
For some reason there are two tests failing on hudson,
I believe one could be related to an encoding issue, and
the other one I don't know.

https://hudson.apache.org/hudson/job/UIMA-SDK/1/org.apache.uima$uimaj-core/testReport/

I will try to investigate that on the weekend, in case no one knows 
whats the problem
on the first sight.

Jörn

On 2/11/11 12:36 PM, Marshall Schor wrote:
> +1
>
> Can you post pointers on what to read to climb the learning curve on using this
> CI at Apache?
>
> -Marshall
>
> On 2/10/2011 8:09 AM, Jörn Kottmann wrote:
>> What do you think about this Marshall, should we give it a try ?
>> We can easily instruct hudson to fetch everything, build it,
>> and send failure reports to the dev list.
>>
>> I believe we need multiple jobs for every trunk, so one for uimaj
>> and one for uima as. And maybe one for the sandbox.
>>
>> Next stage could be a deployment to the Snaptshot repo.
>>
>> Jörn
>>
>> On 2/10/11 10:17 AM, Jörn Kottmann (JIRA) wrote:
>>>       [
>>> https://issues.apache.org/jira/browse/UIMA-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992951#comment-12992951
>>> ]
>>>
>>> Jörn Kottmann commented on UIMA-1717:
>>> -------------------------------------
>>>
>>> I now have a hudson account and added ci for OpenNLP.
>>> If there is interest I could do it for UIMA also.
>>>
>>>> Use Apache Hudson and Nexus repository facilities
>>>> -------------------------------------------------
>>>>
>>>>                   Key: UIMA-1717
>>>>                   URL: https://issues.apache.org/jira/browse/UIMA-1717
>>>>               Project: UIMA
>>>>            Issue Type: Wish
>>>>            Components: Build, Packaging and Test
>>>>              Reporter: Richard Eckart de Castilho
>>>>     Original Estimate: 0h
>>>>    Remaining Estimate: 0h
>>>>
>>>> The ASF seems to provide a continuous integration facility (c.f.
>>>> http://wiki.apache.org/general/Hudson), as well as a Nexus Maven artifact
>>>> repository (c.f.
>>>> http://wiki.apache.org/portals/FrontPage/HowtoUseNexusForRelease). It would
>>>> be great if UIMA would make use of these facilities, allowing for better
>>>> testing as well as access to fresh snapshot artifacts. It would hopefully
>>>> also facilitate things for people compiling UIMA or the UIMA sandbox on
>>>> their private Hudson instances.
>>
>>


Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Jörn Kottmann <ko...@gmail.com>.
On 2/11/11 1:06 PM, Jörn Kottmann wrote:
> For UIMA-AS we should run the extensive tests on hudson. 
Is there a way to run these with some kind of maven profile,
e.g. -Pextensive-tests ?

Jörn

Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Jörn Kottmann <ko...@gmail.com>.
On 2/11/11 12:36 PM, Marshall Schor wrote:
> +1
>
> Can you post pointers on what to read to climb the learning curve on using this
> CI at Apache?
>
There is a wiki page describing a few common things to watch out for,
like setting a timeout, how to get mails through to the dev list and
what to do with long running jobs.

http://wiki.apache.org/general/Hudson

The setup itself is very simple, point it to the trunk e.g. uimaj and
tell it where to find the pom, then it can start building.

We could configure a trigger which polls our SCM every hour for changes
and if something changed start a build.

Should I go ahead and configure a hudson Job ? We can then tune and
extend it. For UIMA-AS we should run the extensive tests on hudson.

Jörn

Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Marshall Schor <ms...@schor.com>.
+1

Can you post pointers on what to read to climb the learning curve on using this
CI at Apache?

-Marshall

On 2/10/2011 8:09 AM, Jörn Kottmann wrote:
> What do you think about this Marshall, should we give it a try ?
> We can easily instruct hudson to fetch everything, build it,
> and send failure reports to the dev list.
>
> I believe we need multiple jobs for every trunk, so one for uimaj
> and one for uima as. And maybe one for the sandbox.
>
> Next stage could be a deployment to the Snaptshot repo.
>
> Jörn
>
> On 2/10/11 10:17 AM, Jörn Kottmann (JIRA) wrote:
>>      [
>> https://issues.apache.org/jira/browse/UIMA-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992951#comment-12992951
>> ]
>>
>> Jörn Kottmann commented on UIMA-1717:
>> -------------------------------------
>>
>> I now have a hudson account and added ci for OpenNLP.
>> If there is interest I could do it for UIMA also.
>>
>>> Use Apache Hudson and Nexus repository facilities
>>> -------------------------------------------------
>>>
>>>                  Key: UIMA-1717
>>>                  URL: https://issues.apache.org/jira/browse/UIMA-1717
>>>              Project: UIMA
>>>           Issue Type: Wish
>>>           Components: Build, Packaging and Test
>>>             Reporter: Richard Eckart de Castilho
>>>    Original Estimate: 0h
>>>   Remaining Estimate: 0h
>>>
>>> The ASF seems to provide a continuous integration facility (c.f.
>>> http://wiki.apache.org/general/Hudson), as well as a Nexus Maven artifact
>>> repository (c.f.
>>> http://wiki.apache.org/portals/FrontPage/HowtoUseNexusForRelease). It would
>>> be great if UIMA would make use of these facilities, allowing for better
>>> testing as well as access to fresh snapshot artifacts. It would hopefully
>>> also facilitate things for people compiling UIMA or the UIMA sandbox on
>>> their private Hudson instances.
>
>
>

Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Tommaso Teofili <to...@gmail.com>.
I think it'd be good to have it, I have also some experience in using it
with Clerezza so we can give it a try (we use it also to make automatic
snapshot deploy).
My 2 cents,
Tommaso

2011/2/10 Jörn Kottmann <ko...@gmail.com>

> What do you think about this Marshall, should we give it a try ?
> We can easily instruct hudson to fetch everything, build it,
> and send failure reports to the dev list.
>
> I believe we need multiple jobs for every trunk, so one for uimaj
> and one for uima as. And maybe one for the sandbox.
>
> Next stage could be a deployment to the Snaptshot repo.
>
> Jörn
>
>
> On 2/10/11 10:17 AM, Jörn Kottmann (JIRA) wrote:
>
>>     [
>> https://issues.apache.org/jira/browse/UIMA-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992951#comment-12992951]
>>
>> Jörn Kottmann commented on UIMA-1717:
>> -------------------------------------
>>
>> I now have a hudson account and added ci for OpenNLP.
>> If there is interest I could do it for UIMA also.
>>
>>  Use Apache Hudson and Nexus repository facilities
>>> -------------------------------------------------
>>>
>>>                 Key: UIMA-1717
>>>                 URL: https://issues.apache.org/jira/browse/UIMA-1717
>>>             Project: UIMA
>>>          Issue Type: Wish
>>>          Components: Build, Packaging and Test
>>>            Reporter: Richard Eckart de Castilho
>>>   Original Estimate: 0h
>>>  Remaining Estimate: 0h
>>>
>>> The ASF seems to provide a continuous integration facility (c.f.
>>> http://wiki.apache.org/general/Hudson), as well as a Nexus Maven
>>> artifact repository (c.f.
>>> http://wiki.apache.org/portals/FrontPage/HowtoUseNexusForRelease). It
>>> would be great if UIMA would make use of these facilities, allowing for
>>> better testing as well as access to fresh snapshot artifacts. It would
>>> hopefully also facilitate things for people compiling UIMA or the UIMA
>>> sandbox on their private Hudson instances.
>>>
>>
>

Re: [jira] Commented: (UIMA-1717) Use Apache Hudson and Nexus repository facilities

Posted by Jörn Kottmann <ko...@gmail.com>.
What do you think about this Marshall, should we give it a try ?
We can easily instruct hudson to fetch everything, build it,
and send failure reports to the dev list.

I believe we need multiple jobs for every trunk, so one for uimaj
and one for uima as. And maybe one for the sandbox.

Next stage could be a deployment to the Snaptshot repo.

Jörn

On 2/10/11 10:17 AM, Jörn Kottmann (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/UIMA-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992951#comment-12992951 ]
>
> Jörn Kottmann commented on UIMA-1717:
> -------------------------------------
>
> I now have a hudson account and added ci for OpenNLP.
> If there is interest I could do it for UIMA also.
>
>> Use Apache Hudson and Nexus repository facilities
>> -------------------------------------------------
>>
>>                  Key: UIMA-1717
>>                  URL: https://issues.apache.org/jira/browse/UIMA-1717
>>              Project: UIMA
>>           Issue Type: Wish
>>           Components: Build, Packaging and Test
>>             Reporter: Richard Eckart de Castilho
>>    Original Estimate: 0h
>>   Remaining Estimate: 0h
>>
>> The ASF seems to provide a continuous integration facility (c.f. http://wiki.apache.org/general/Hudson), as well as a Nexus Maven artifact repository (c.f. http://wiki.apache.org/portals/FrontPage/HowtoUseNexusForRelease). It would be great if UIMA would make use of these facilities, allowing for better testing as well as access to fresh snapshot artifacts. It would hopefully also facilitate things for people compiling UIMA or the UIMA sandbox on their private Hudson instances.