Re: [morph-developer] getting involved
Brought to you by:
orangeherbert,
sgarlatm
From: Matt B. <gud...@ya...> - 2006-12-18 22:58:47
|
Responses inline: --- Matt Sgarlata <mat...@sp...> wrote: > Hi Matt - > > Sorry I didn't respond to the email you sent me last > week; I was sick > most of the week and I just started catching up on > emails today. Just glad to be hearing back. :) > You're > right, I haven't done much work on Morph in the past > year. However, we > do use it rather extensively in one of my projects > at work so we do > uncover problems with it from time to time. > Unfortunately, it takes > around 3 hours for me to update the website and > prepare a build, which > vastly dwarfs the amount of time I get to actually > spend working on the > project. This is why when I fix bugs I don't turn > around and do a new > release right away. Sure; obviously the release cycle can't be instantaneous. Are there any particular roadblocks in the actual release process you are aware of? > > I would love to see you get involved in the project, > and obviously > forking has a major negative which is that fixes I > develop won't make it > to you and vice versa. I don't suppose you have > worked with any other > hosting services and know of one that works well? > If not, I'm sure we > can move forward on SourceForge. I have worked on a couple of sf projects (user orangeherbert): first, Romain Guy's now-defunct Java text editor Jext and its associated plugins project. More recently, for a very short time, I worked on Dozer, an sf-hosted library with similar goals to Morph but nowhere near the code quality level. It is possible that Morph's much prettier design might equal a performance deficiency compared to Dozer (Dozer had pretty good performance going for it) but truly I doubt that Dozer's huge if-else-else constructs are going to be way faster than Morph's "good OO" polymorphic approach. ;) I'm just getting into Morph, however, so haven't really been able to put its performance to the test. Beyond sourceforge, I am a member of the Apache Ant Project Management Committee, and that's where my main body of OSS experience lies. Apache is a cool community IMHO but moving Morph there would be a pain: incubation process, etc. though it might be a possibility to consider in the future. I am pretty low in the overall Apache pecking order, but some of the other folks at Ant are a little higher up. Not sure if any of them have a vested interest in a library like Morph. :| > > Can you describe the bug you found in the software? > It's possible I've > already prepared a fix but not released it. > First, let me explain that I tend to read OSS code before ever trying to run against it, just one of my personal idiosyncrasies... I like to know what to expect. So I was browsing back and forth through the API docs and ended up reading the ChainedConverter code. What I found was that it didn't properly implement ExplicitTransformer. How I proved this was to write a small converter that uses a TypeMap to implement ExplicitTransformer. I created two instances with the following mappings: instance 1: A.class=B.class, B.class=C.class instance 2: B.class=C.class, D.class=E.class All five of these classes are just simple extensions of Object with no body. I chained these two instances together with a ChainedConverter; we'll call it "cc". Now, you can see that, for example, A is transformable to C because instance 1 can transform A to B and instance 2 can transform B to C. Thus cc.isTransformable(C.class, A.class) == true. But because ChainedConverter simply inherits the default isTransformableImpl from BaseTransformer, cc.isTransformable(E.class, A.class) == true also, but it is obvious by looking at the configuration that this is not true. I have this setup in a junit TestCase. Further, I have just built and tested the morph-1.0.1 release, and get 132 of 732 tests failed. :( -Matt B. > Matt > > Matt Benson wrote: > > Morph looks very promising, but I am pretty sure I > > already have a bug to report. ;) What's the best > way > > to get involved with this apparently slightly > dormant > > project, or do I need to fork my own version? :( > > > > br, > > Matt > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of > IT > > Join SourceForge.net's Techsay panel and you'll > get the chance to share your > > opinions on IT & business topics through brief > surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > morph-developer mailing list > > mor...@li... > > > https://lists.sourceforge.net/lists/listinfo/morph-developer > > > > > > > -- > This message is intended only for the named > recipient. If you are not the intended recipient, > you are notified that disclosing, copying, > distributing, or taking any action in reliance on > the contents of this information is strictly > prohibited. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > morph-developer mailing list > mor...@li... > https://lists.sourceforge.net/lists/listinfo/morph-developer > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |