Re: [Openjnlp-devel] UPDATED: Please help, I want to submit a patch for OpenJNLP
Brought to you by:
kherr
From: Grant W. <gr...@na...> - 2005-03-22 01:34:04
|
Chad, I haven't looked at OpenJNLP in quite awhile, so I apologize for not responding quicker. I spoke briefly with Kherr this afternoon, and there are some issues we should look at. First off, to build OpenJNLP use the build file in devel/targets/ cd build/targets ant build -or- ant compile second, I added your patch to Gestalt.java to check for WindowsXP. Gestalt.java should be at revision 1.3 now unless I did something wrong. I ran into one other bug, which was an odd double semicolon in IconFactory that the 1.4 compiler didn't like which is now fixed... which brings me to the final bigger problem: The big barrier to compiling on windows is the MacOSAppHandler class, which imports the OSX specific MRJ classes. There may be others, but I think tat is the one that complains the most. Obviously, this needs to be addressed, possibly with some trickery in the build.xml file. The easiest hack, really, is to delete it and then edit the classes that use it... (openjnlp.desktop.MasterFrame comes to mind) until we get another solution in place using Ant. Ah, the joys of integrating java into various environments. Grant On Mar 21, 2005, at 5:21 PM, Chad Woolley wrote: > Ah , I overlooked those build files. Unfortunately they don't work > out of the box. But it's a start... > > Thanks, > Chad > > nm...@ve... wrote: > >> On Mon, Mar 21, 2005 at 01:40:59PM -0700, Chad Woolley wrote: >>> (please disregard prior email with similar title, it was from wrong >>> address, plus I posted the patch now) >> Hi Chad, >> As you can see, OpenJNLP isn't very active these days... but I'm using >> it and somehow managed to figure out the build. Alas, I did that so >> long ago that I don't remember what I had to struggle to figure out or >> what changes I had to make. Looking at my current source installation, >> I see a couple of Ant buildfiles. I build it with the "compile" target >> in the targets/build.xml buildfile. Hope that's enough to point you in >> the right direction. >> Nathan >>> Hi, >>> >>> We want to use OpenJNLP, but it's not working out of the box. I >>> posted >>> about this here: >>> >>> http://sourceforge.net/mailarchive/forum.php? >>> thread_id=6803515&forum_id=2420 >>> >>> Anyway, I hacked this and got it to work (Far as I can tell, it's >>> because XP isn't being checked for as an OS). The patch is in >>> SourceForge bugtracker: >>> >>> http://sourceforge.net/tracker/index.php? >>> func=detail&aid=1167849&group_id=21045&atid=121045 >>> >>> However, I'm clueless about how to build OpenJNLP from the source. >>> The >>> structure confuses me (I've worked with several other OS projects). >>> I >>> saw CodeWarrior mentioned somewhere, but I've never used it. >>> >>> Can someone give me some guidance here? Do I have to download a >>> trial >>> of CodeWarrior to build OpenJNLP, or does someone have some Ant >>> scripts >>> or something that I can use instead to build? >>> >>> Thanks, >>> Chad > |