In message <[EMAIL PROTECTED]> <BF12A25F.2C8%rufwor [EMAIL PROTECTED]>, Bailey writes: >I've got an app I've all but ported to 1.1.x that uses ORO, which, of >course, is targeting more recent versions of Java. The most useful thread >in the archives seems to be this one: > >http://mail-archives.apache.org/mod_mbox/jakarta-oro-user/200209.mbox/%3c200 >[EMAIL PROTECTED] > >Any luck with the forced volunteering from several years ago? I'd offer my
The situation is the same as before. It's a simple port, but the obstacles (by no means insurmountable) are really build and packaging issues. I suppose the one thing that has changed is that Didge (Dave Masser-Frye) implemented the Velocity Preprocessor (http://vpp.sourceforge.net/), which provides an all-Java solution for conditional compilation. The downside is requiring users to download and install Velocity and VPP to compile ORO. But I suppose switching from Ant to Maven for the build system would alleviate that (except, of course, then you'd need Maven). >Fwiw, I'm only using a few objects for some simple regexps: >import org.apache.oro.text.regex.MatchResult; >import org.apache.oro.text.regex.Pattern; >import org.apache.oro.text.regex.PatternCompiler; >import org.apache.oro.text.regex.PatternMatcher; >import org.apache.oro.text.regex.PatternMatcherInput; >import org.apache.oro.text.regex.Perl5Compiler; >import org.apache.oro.text.regex.Perl5Matcher; > >Can I volunteer anyone to jump start me an let me know what I'll need to >port along with those (support files -- eg, just the regex namespace?)? If all you're interested in doing it is porting it for your purposes, it's very easy. It's almost as simple as changing all HashMaps to Hashtable and all ArrayLists to Vector. Actually, now that I read it, what I said in my original email that you quoted probably covers everything. Now, if you're interested in porting it and keeping the port in the main source tree, that's a little more involved. You need to integrate conditional compilation and the building of separate packages into the build system and then submit patches. I encourage you to do that. The only way it's going to get done is if someone with a need does it. BTW, could you share why you are backporting to JDK 1.1.x? Besides sheer curiousity, I just finished writing an article that mentions some of the reasons people need to remain compatible with older JVMs and if I overlooked one, I'd like to include it. daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]