Re: [Openjnlp-devel] UPDATED: Please help, I want to submit a patch for OpenJNLP
Brought to you by:
kherr
From: Chad W. <li...@th...> - 2005-03-22 16:22:08
|
Hi, On the OSX stuff - can you do all that code via reflection and avoid the compile-time dependency? Ugly, but might work. Jakarta Commons Beanutils has some libs which make reflection less (although still) painful... -- Chad Grant Wood <gr...@na...> wrote: > 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 |