On Feb 24 2013 10:45 AM, Morten Omholt Alver wrote: > On 24 February 2013 18:23, EBo <e...@sandien.com> wrote: > >> I noticed that 2.9.2 was out (I've been completely focused at work >> and >> not keeping up with revisions), and just tried to build this on my >> Gentoo box. I have the following errors that keep it from building >> properly. Since Java is not one of the 40 languages I program in, >> could >> anyone make suggestions on what to try to fix this? >> >> Warnings (only a couple of examples, but fixing these will likely >> fix >> most if not all warnings): >> >> ===================== >> >> [javac] Compiling 616 source files to >> >> /var/tmp/portage/app-text/jabref-2.9.2/work/jabref-2.9.2/build/classes >> [javac] >> >> >> /var/tmp/portage/app-text/jabref-2.9.2/work/jabref-2.9.2/src/java/net/sf/jabref/PrefsDialog3.java:37: >> warning: [deprecation] com.jgoodies.forms.builder.ButtonBarBuilder >> in >> com.jgoodies.forms.builder has been deprecated >> [javac] import com.jgoodies.forms.builder.ButtonBarBuilder; >> >> ===================== >> >> Errors (all of the errors looks like it cannot find the addButton >> method): >> >> ===================== >> >> [javac] >> >> >> /var/tmp/portage/app-text/jabref-2.9.2/work/jabref-2.9.2/src/java/net/sf/jabref/PrefsDialog3.java:142: >> cannot find symbol >> [javac] symbol : method addButton(javax.swing.JButton) >> [javac] location: class >> com.jgoodies.forms.builder.ButtonBarBuilder >> [javac] bb.addButton(ok); >> [javac] ^ >> >> ===================== >> >> If you can suggest how to change all the addButtons, it is likely I >> can >> write an in ebuild script to just fix it on the fly. >> >> As a note, these are the jgoodies installed versions: >> >> [ebuild R ] dev-java/jgoodies-looks-2.3.1 >> [ebuild R ] dev-java/jgoodies-forms-1.3.0 >> [ebuild N ~] dev-java/jgoodies-common-1.4.0 USE="-doc -source" >> >> This means that jgoodies-common is not installed, and jgoodies-forms >> and jgoodies-looks are at version 1.3.0 and 2.3.1 respectively. >> These >> are the most up to date version which are marked stable on my >> distribution. >> >> Looking further into a couple of things, I am guessing that it is a >> problem with my jgoodies version. What version is required for >> Jabref-2.9.2? > > > I must admit I don't know at which version the API change which > causes you > trouble happened, but we build against Forms 1.6.0. We also use Looks > 2.5.2 > and Common 1.4.0, but I'm not sure if you need to upgrade these for > the > build to succeed.
I just updated common and looks to those version. I cannot get forms upgrade (updated ant, and it is even worse than before)... I will have to p[ut this on the way back burner until a much later time. EBo -- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Jabref-users mailing list Jabref-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jabref-users