You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2007/07/30 13:17:53 UTC

[jira] Created: (UIMA-518) improve browser utilities to configured the used browser in UIMA

improve browser utilities to configured the used browser in UIMA
----------------------------------------------------------------

                 Key: UIMA-518
                 URL: https://issues.apache.org/jira/browse/UIMA-518
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.1, 2.2
            Reporter: Michael Baessler
            Priority: Minor


The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works

...

http://www.linuxworld.com/news/2006/101106-portland-project.html describes
xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
One utility enables visiting a Web page in the user's chosen browser.
On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
OSDL's xdg-utils extends the availability across distributions.
See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.


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


[jira] Commented: (UIMA-518) improve browser utilities to configured the used browser in UIMA

Posted by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600806#action_12600806 ] 

Eddie Epstein commented on UIMA-518:
------------------------------------

On MacOSX, the Safari browser comes up OK with the expected URL, but the command line shows:

$ java -cp ./uima-core.jar org.apache.uima.internal.util.BrowserUtil
Error in BrowserUtil.main():
java.lang.NullPointerException
        at org.apache.uima.internal.util.BrowserUtil.main(BrowserUtil.java:101)




> improve browser utilities to configured the used browser in UIMA
> ----------------------------------------------------------------
>
>                 Key: UIMA-518
>                 URL: https://issues.apache.org/jira/browse/UIMA-518
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>            Priority: Minor
>
> The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
> On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works
> ...
> http://www.linuxworld.com/news/2006/101106-portland-project.html describes
> xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
> One utility enables visiting a Web page in the user's chosen browser.
> On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
> OSDL's xdg-utils extends the availability across distributions.
> See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
> the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

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


[jira] Commented: (UIMA-518) improve browser utilities to configured the used browser in UIMA

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601033#action_12601033 ] 

Michael Baessler commented on UIMA-518:
---------------------------------------

Thanks Eddie for verifying. 

I fixed the test main() method to not throw NPE.

> improve browser utilities to configured the used browser in UIMA
> ----------------------------------------------------------------
>
>                 Key: UIMA-518
>                 URL: https://issues.apache.org/jira/browse/UIMA-518
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2, 2.2.1, 2.2.2
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>            Priority: Minor
>             Fix For: 2.3
>
>
> The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
> On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works
> ...
> http://www.linuxworld.com/news/2006/101106-portland-project.html describes
> xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
> One utility enables visiting a Web page in the user's chosen browser.
> On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
> OSDL's xdg-utils extends the availability across distributions.
> See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
> the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

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


[jira] Commented: (UIMA-518) improve browser utilities to configured the used browser in UIMA

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600424#action_12600424 ] 

Michael Baessler commented on UIMA-518:
---------------------------------------

I did some improvements for launching the system browser.

I did not use one of the available open source libraries. I check the availability of the most common browsers and use the first available browser in the list. Maybe we can create the list based on a Java configuration parameter so that users can modify if necessary. But currently I'm not sure if we really need this.

I also added some code that may work for MacOS. Can please someone verify :-)

> improve browser utilities to configured the used browser in UIMA
> ----------------------------------------------------------------
>
>                 Key: UIMA-518
>                 URL: https://issues.apache.org/jira/browse/UIMA-518
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>            Priority: Minor
>
> The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
> On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works
> ...
> http://www.linuxworld.com/news/2006/101106-portland-project.html describes
> xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
> One utility enables visiting a Web page in the user's chosen browser.
> On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
> OSDL's xdg-utils extends the availability across distributions.
> See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
> the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

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


[jira] Updated: (UIMA-518) improve browser utilities to configured the used browser in UIMA

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Baessler updated UIMA-518:
----------------------------------

    Affects Version/s: 2.2.1
                       2.2.2

> improve browser utilities to configured the used browser in UIMA
> ----------------------------------------------------------------
>
>                 Key: UIMA-518
>                 URL: https://issues.apache.org/jira/browse/UIMA-518
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2, 2.2.1, 2.2.2
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>            Priority: Minor
>             Fix For: 2.3
>
>
> The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
> On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works
> ...
> http://www.linuxworld.com/news/2006/101106-portland-project.html describes
> xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
> One utility enables visiting a Web page in the user's chosen browser.
> On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
> OSDL's xdg-utils extends the availability across distributions.
> See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
> the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

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


[jira] Commented: (UIMA-518) improve browser utilities to configured the used browser in UIMA

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600425#action_12600425 ] 

Michael Baessler commented on UIMA-518:
---------------------------------------

Verification can be done with the main() method of BrowserUtil class.

> improve browser utilities to configured the used browser in UIMA
> ----------------------------------------------------------------
>
>                 Key: UIMA-518
>                 URL: https://issues.apache.org/jira/browse/UIMA-518
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>            Priority: Minor
>
> The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
> On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works
> ...
> http://www.linuxworld.com/news/2006/101106-portland-project.html describes
> xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
> One utility enables visiting a Web page in the user's chosen browser.
> On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
> OSDL's xdg-utils extends the availability across distributions.
> See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
> the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

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


[jira] Closed: (UIMA-518) improve browser utilities to configured the used browser in UIMA

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Baessler closed UIMA-518.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3

> improve browser utilities to configured the used browser in UIMA
> ----------------------------------------------------------------
>
>                 Key: UIMA-518
>                 URL: https://issues.apache.org/jira/browse/UIMA-518
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2, 2.2.1, 2.2.2
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>            Priority: Minor
>             Fix For: 2.3
>
>
> The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
> On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works
> ...
> http://www.linuxworld.com/news/2006/101106-portland-project.html describes
> xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
> One utility enables visiting a Web page in the user's chosen browser.
> On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
> OSDL's xdg-utils extends the availability across distributions.
> See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
> the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

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


[jira] Assigned: (UIMA-518) improve browser utilities to configured the used browser in UIMA

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Baessler reassigned UIMA-518:
-------------------------------------

    Assignee: Michael Baessler

> improve browser utilities to configured the used browser in UIMA
> ----------------------------------------------------------------
>
>                 Key: UIMA-518
>                 URL: https://issues.apache.org/jira/browse/UIMA-518
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1, 2.2
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>            Priority: Minor
>
> The annotation viewer has the possibility to use the browser to show the annotation results. By default on Linux the "mozilla" browser is used.
> On "old" Linux systems, "mozilla" is correct to call, but I think on newer Linux systems, "mozilla" never works
> ...
> http://www.linuxworld.com/news/2006/101106-portland-project.html describes
> xdg-utils, and says Fedora, OpenSUSE, and Debian have already committed to installing the utilities.
> One utility enables visiting a Web page in the user's chosen browser.
> On Debian, this capability is available via the command "x-www-browser", which launches the user's graphical browser of choice.
> OSDL's xdg-utils extends the availability across distributions.
> See http://portland.freedesktop.org/wiki/ for details on xdg-utils.   It is licensed under the MIT license, and
> the MIT/X11 license is listed as category "A" (allowed) on Cliff's 3rd party page.

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