You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2007/09/05 00:16:44 UTC

[jira] Created: (MIME4J-29) Remove cyclic dependecies between packages

Remove cyclic dependecies between packages
------------------------------------------

                 Key: MIME4J-29
                 URL: https://issues.apache.org/jira/browse/MIME4J-29
             Project: Mime4j
          Issue Type: Wish
    Affects Versions: 0.3
            Reporter: Stefano Bagnara
            Priority: Minor
             Fix For: 0.4


I found the following cycles in our packages:

oaj.mime4j.decoder
- oaj.mime4j.util
-- oaj.mime4j.field
--- oaj.mime4j.decoder

oaj.mime4j
- oaj.mime4j.message
-- oaj.mime4j

oaj.mime4j.field.datetime
- oaj.mime4j.field.datetime.parser
-- oaj.mime4j.field.datetime

oaj.mime4j.decoder
- oaj.mime4j.util
-- oaj.mime4j.field
--- oaj.mime4j.field.address
---- oaj.mime4j.decoder

I think we should try to remove the dependencies until we are in a 0.x release. The sooner, the better, even if this break backward compatibility.

WDYT?

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] Created: (MIME4J-29) Remove cyclic dependecies between packages

Posted by Bernd Fondermann <bf...@brainlounge.de>.
+1

Stefano Bagnara (JIRA) wrote:
> Remove cyclic dependecies between packages
> ------------------------------------------
> 
>                  Key: MIME4J-29
>                  URL: https://issues.apache.org/jira/browse/MIME4J-29
>              Project: Mime4j
>           Issue Type: Wish
>     Affects Versions: 0.3
>             Reporter: Stefano Bagnara
>             Priority: Minor
>              Fix For: 0.4
> 
> 
> I found the following cycles in our packages:
> 
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.decoder
> 
> oaj.mime4j
> - oaj.mime4j.message
> -- oaj.mime4j
> 
> oaj.mime4j.field.datetime
> - oaj.mime4j.field.datetime.parser
> -- oaj.mime4j.field.datetime
> 
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.field.address
> ---- oaj.mime4j.decoder
> 
> I think we should try to remove the dependencies until we are in a 0.x release. The sooner, the better, even if this break backward compatibility.
> 
> WDYT?
> 


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


[jira] Commented: (MIME4J-29) Remove cyclic dependecies between packages

Posted by "Jochen Wiedmann (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/MIME4J-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528619 ] 

Jochen Wiedmann commented on MIME4J-29:
---------------------------------------

Go for it.


> Remove cyclic dependecies between packages
> ------------------------------------------
>
>                 Key: MIME4J-29
>                 URL: https://issues.apache.org/jira/browse/MIME4J-29
>             Project: Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>            Priority: Minor
>             Fix For: 0.4
>
>
> I found the following cycles in our packages:
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.decoder
> oaj.mime4j
> - oaj.mime4j.message
> -- oaj.mime4j
> oaj.mime4j.field.datetime
> - oaj.mime4j.field.datetime.parser
> -- oaj.mime4j.field.datetime
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.field.address
> ---- oaj.mime4j.decoder
> I think we should try to remove the dependencies until we are in a 0.x release. The sooner, the better, even if this break backward compatibility.
> WDYT?

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (MIME4J-29) Remove cyclic dependecies between packages

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/MIME4J-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528404 ] 

Stefano Bagnara commented on MIME4J-29:
---------------------------------------

As wrote to the list here is the list of changes to remove the cycles:
----------
1) Move SimpleContentHandler from mime4j root package to message. It has
depedencies on the message package and no one depends on this. So either
"message" or a new package.

2) Move the encoding string constants from ContentTransferEncodingField
to MimeUtil.

3) Remove static method parse from DateTime and move the logic inside
DateTimeField.Parse class (the only user of that code).
--------------

> Remove cyclic dependecies between packages
> ------------------------------------------
>
>                 Key: MIME4J-29
>                 URL: https://issues.apache.org/jira/browse/MIME4J-29
>             Project: Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Priority: Minor
>             Fix For: 0.4
>
>
> I found the following cycles in our packages:
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.decoder
> oaj.mime4j
> - oaj.mime4j.message
> -- oaj.mime4j
> oaj.mime4j.field.datetime
> - oaj.mime4j.field.datetime.parser
> -- oaj.mime4j.field.datetime
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.field.address
> ---- oaj.mime4j.decoder
> I think we should try to remove the dependencies until we are in a 0.x release. The sooner, the better, even if this break backward compatibility.
> WDYT?

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Assigned: (MIME4J-29) Remove cyclic dependecies between packages

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara reassigned MIME4J-29:
-------------------------------------

    Assignee: Stefano Bagnara

> Remove cyclic dependecies between packages
> ------------------------------------------
>
>                 Key: MIME4J-29
>                 URL: https://issues.apache.org/jira/browse/MIME4J-29
>             Project: Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>            Priority: Minor
>             Fix For: 0.4
>
>
> I found the following cycles in our packages:
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.decoder
> oaj.mime4j
> - oaj.mime4j.message
> -- oaj.mime4j
> oaj.mime4j.field.datetime
> - oaj.mime4j.field.datetime.parser
> -- oaj.mime4j.field.datetime
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.field.address
> ---- oaj.mime4j.decoder
> I think we should try to remove the dependencies until we are in a 0.x release. The sooner, the better, even if this break backward compatibility.
> WDYT?

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (MIME4J-29) Remove cyclic dependecies between packages

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Bagnara resolved MIME4J-29.
-----------------------------------

    Resolution: Fixed

Done. Packaging may be improved more, but at least there are no cyclic dependencies now.

> Remove cyclic dependecies between packages
> ------------------------------------------
>
>                 Key: MIME4J-29
>                 URL: https://issues.apache.org/jira/browse/MIME4J-29
>             Project: Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>            Priority: Minor
>             Fix For: 0.4
>
>
> I found the following cycles in our packages:
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.decoder
> oaj.mime4j
> - oaj.mime4j.message
> -- oaj.mime4j
> oaj.mime4j.field.datetime
> - oaj.mime4j.field.datetime.parser
> -- oaj.mime4j.field.datetime
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.field.address
> ---- oaj.mime4j.decoder
> I think we should try to remove the dependencies until we are in a 0.x release. The sooner, the better, even if this break backward compatibility.
> WDYT?

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org