From: Matt B. <gud...@ya...> - 2006-12-20 15:35:15
|
--- Matt Sgarlata <Mat...@wh...> wrote: > Hello again Matt, sorry I'm still being slow with my > responses, but I'm > still trying to catch up from my week away from work > :) > > In response to a previous email, you're right the > ChainedConverter can't > just fall back on the implementation of > isTransformable in > BaseTransformer but it does so anyway. So that is > definitely broken. I > probably haven't caught that in real life because I > haven't actually > used the ChainedConverter to do anything, it was > more just trying out an > idea to see if I could get it to work. I have a test case that exhibits the problem, and would be happy to fix ChainedConverter. > > Here are responses to your most recent email, > inline: > > > MorphTestCase.testCopyToDestWithoutGetter() is not > > even in CVS, though it's in the 1.0.1 release; in > any > > event, it probably bears some discussion as to > what > > would be correct behavior here. > > As far as this one goes, the current version you sent me fixes this by removing the String setter; you probably remember this or have looked at it recently. I take this to mean the behavior of the library is correct as you see it in this case, and that the test case was flawed. > I haven't been able to connect to CVS for some time, > and I again was not > able to connect today. So the code in CVS is fairly > old. I sent you > the latest Morph distribution. > Thanks! I guess sf.net is still a little flaky on the overall. :( I note that I can hit anonymous CVS today, so it seems like it is better than it has been earlier in the year, when anon cvs was unavailable for a month or so, or more... > I haven't been cutting new releases because, as I > mentioned, it takes me > a good 2-3 hours to do a release. The problem is > there are nearly a > half dozen programs I have to use (ant to prepare > the release, ftp to > upload the release, secure ftp to upload the website > to the web server, > secure telnet to unzip the new version of the > website and make sure I > put it in the right directory) In addition to this > being a huge pain in > the neck, I also don't even have most of these > programs on my computer > anymore because I have a new laptop. Since I only > use most of these > programs every few months it means I have to relearn > how to use them > each time. > I'm assuming Ant isn't the part you have to relearn, though I wonder why you don't include a buildfile with morph. If you had to rewrite it every time, then sure... > My boss is on vacation right now, but I'll see if > maybe we can setup my > company's SVN repository so that it hosts Morph. > That way I'll be able > to connect to it, and hopefully we can get you > access as well. I guess if it's more reliable than sf, that's something. It strikes me, though, that Ivy just joined the Apache incubator in part because the project's growth was stifled by its residence behind corporate walls; it had a two-person developer community. Again, I very much like Morph's design, want to use it, and am eager to do my share to bring it a few more percent forward (not saying I can bring it to 100% but I see a few places I'd like to touch). There's also java.net and google code, though the sf web hosting feature is nice. Also, I could look into what it would take to get Morph into the Apache incubator, if that is something you (and your company if they retain any claim to Morph) might be interested in. Let me go ahead and explain that parenthetical: if a project becomes an Apache project, no copyright holder has to relinquish copyright. Rather than be interpreted as having spoken to the contrary, I want to clarify this up front. The only thing you or your company (depending on Morph's status with regard to you both) must do is grant the ASF a license to use the code blah blah basically in a way that allows the ASF to distribute the code under the ASL, which is, of course, how you're already distributing it. I would think this would mean there shouldn't be any issues from your end, but you never can tell. Again, I hope I'm not coming across as trying to bully you in any way here. :) Perhaps more of an issue would be recognizing in exactly what capacity Morph might be a good fit as an ASF project, if at all. I can go ahead and do some preliminary investigation in this regard--and feel free to offer any opinion here; in any event, I definitely won't start any balls rolling or wheels turning until I know more about your estimate of the feasibility here. > Perhaps > I can get web space for Morph as well, because > although it does see a > good bit of traffic, it shouldn't be anything too > crippling. If you had web space, that would mitigate some of the drawbacks of google or java.net, though the behind-closed-doors thing would still exist. I just hate to see OSS go from more-open to less-open in any way; please understand that by this I certainly don't mean any reflection on your company, with which I am by no means familiar. > > The other two failures appear to be time-zone > related > > as I am in CST and these are expecting something > with > > EST. I will have a look at these, but FYI they > are > > > > DefaultToTextConverterTestCase.testValidPairs() > > TimeToTextConverterTestCase.testValidPairs() > > > I changed my timezone to Pacific time and received > the same error you > describe. I'm retrieving the default time format > using this call: > > DateFormat.getDateTimeInstance(DateFormat.LONG, > DateFormat.LONG); > > I think the bug is in the test case, not in the > converters. I've > explicitly hardcoded EST into the String for the > test in > BaseToTextConverterTestCase line 112: > > String converted = "January 30, 2005 11:51:02 AM > EST"; Yes, but since you set the offset of the Calendar you'd think it could/should work. I have been playing around with this, but haven't quite gotten it there yet. -Matt B. > > Matt > > ------------------------------------------------------------------------- > 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 |