You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2007/08/06 16:15:59 UTC

[jira] Created: (CLI-140) Make some CLI classes serializable

Make some CLI classes serializable
----------------------------------

                 Key: CLI-140
                 URL: https://issues.apache.org/jira/browse/CLI-140
             Project: Commons CLI
          Issue Type: Improvement
          Components: CLI-1.x
    Affects Versions: 1.1, 1.0
            Reporter: Henning Schmiedehausen
            Priority: Minor


A number of CLI classes are serializable and could be used e.g. with RMI if only they would implement Serializable

- Option.java
- OptionGroup.java
- CommandLine.java
- Options.java



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


[jira] Commented: (CLI-140) Make some CLI classes serializable

Posted by "Brian Egge (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLI-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542745 ] 

Brian Egge commented on CLI-140:
--------------------------------

I took a look at the CLI-140_no_141.patch, and I don't see any reason why it shouldn't be applied.  I ran a clirr check, and the changes are backwards compatible.

INFO: 4000: org.apache.commons.cli.CommandLine: Added java.io.Serializable to the set of implemented interfaces
INFO: 4000: org.apache.commons.cli.Option: Added java.io.Serializable to the set of implemented interfaces
INFO: 4000: org.apache.commons.cli.OptionGroup: Added java.io.Serializable to the set of implemented interfaces
INFO: 4000: org.apache.commons.cli.Options: Added java.io.Serializable to the set of implemented interfaces


> Make some CLI classes serializable
> ----------------------------------
>
>                 Key: CLI-140
>                 URL: https://issues.apache.org/jira/browse/CLI-140
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-1.x
>    Affects Versions: 1.0, 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: CLI-140_no_141.patch, CLI-140_yes_141.patch
>
>
> A number of CLI classes are serializable and could be used e.g. with RMI if only they would implement Serializable
> - Option.java
> - OptionGroup.java
> - CommandLine.java
> - Options.java

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


[jira] Updated: (CLI-140) Make some CLI classes serializable

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLI-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated CLI-140:
------------------------------

    Fix Version/s: 1.2

Consider for 1.2.

> Make some CLI classes serializable
> ----------------------------------
>
>                 Key: CLI-140
>                 URL: https://issues.apache.org/jira/browse/CLI-140
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-1.x
>    Affects Versions: 1.0, 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>
>
> A number of CLI classes are serializable and could be used e.g. with RMI if only they would implement Serializable
> - Option.java
> - OptionGroup.java
> - CommandLine.java
> - Options.java

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


[jira] Issue Comment Edited: (CLI-140) Make some CLI classes serializable

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLI-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519681 ] 

bayard edited comment on CLI-140 at 8/14/07 7:04 AM:
------------------------------------------------------------

Consider for 1.2, especially if a patch shows up ;)

      was (Author: bayard):
    Consider for 1.2.
  
> Make some CLI classes serializable
> ----------------------------------
>
>                 Key: CLI-140
>                 URL: https://issues.apache.org/jira/browse/CLI-140
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-1.x
>    Affects Versions: 1.0, 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>
>
> A number of CLI classes are serializable and could be used e.g. with RMI if only they would implement Serializable
> - Option.java
> - OptionGroup.java
> - CommandLine.java
> - Options.java

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


[jira] Updated: (CLI-140) Make some CLI classes serializable

Posted by "Bjorn Townsend (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLI-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bjorn Townsend updated CLI-140:
-------------------------------

    Attachment: CLI-140_yes_141.patch
                CLI-140_no_141.patch

Implemented serializable in the classes mentioned above. Note that Henning's patch to CLI-141 also implements Serializable in the Option class. Since I don't know which of these patches might be applied first, I've created two:

If you have already applied the patch for CLI-141, apply CLI-140_yes_141.patch.

If you have not already applied the patch for CLI-141, apply CLI-140_no_141.patch.

> Make some CLI classes serializable
> ----------------------------------
>
>                 Key: CLI-140
>                 URL: https://issues.apache.org/jira/browse/CLI-140
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-1.x
>    Affects Versions: 1.0, 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: CLI-140_no_141.patch, CLI-140_yes_141.patch
>
>
> A number of CLI classes are serializable and could be used e.g. with RMI if only they would implement Serializable
> - Option.java
> - OptionGroup.java
> - CommandLine.java
> - Options.java

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


[jira] Closed: (CLI-140) Make some CLI classes serializable

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLI-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed CLI-140.
-----------------------------

    Resolution: Fixed

Applied 'yes' patch: 596142.

> Make some CLI classes serializable
> ----------------------------------
>
>                 Key: CLI-140
>                 URL: https://issues.apache.org/jira/browse/CLI-140
>             Project: Commons CLI
>          Issue Type: Improvement
>          Components: CLI-1.x
>    Affects Versions: 1.0, 1.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: CLI-140_no_141.patch, CLI-140_yes_141.patch
>
>
> A number of CLI classes are serializable and could be used e.g. with RMI if only they would implement Serializable
> - Option.java
> - OptionGroup.java
> - CommandLine.java
> - Options.java

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