Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59302 - JabRef, upgrade to 1.5
Summary: JabRef, upgrade to 1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Java team
URL: http://jabref.sf.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-03 12:08 UTC by Morten O. Alver
Modified: 2004-08-23 18:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morten O. Alver 2004-08-03 12:08:33 UTC
Source bz2 available at:
https://sourceforge.net/project/shownotes.php?release_id=257899

JabRef 1.5 uses two external jars, looks-1.2.2.jar (JGoodies Looks) and antlr.jar (Antlr parser generator v. 2.7.4). Both jars are provided with the source package, under "lib/". Since Antlr has its own ebuild, this jar can be removed from the source package, and set as a compile time + runtime dependency (must be in classpath at runtime). The Ant build file tries to add these two jars to the compile classpath. The "unjarlib" target unpacks the jars to the build directory.

I can't find JGoodies Looks in Portage, but if it is in there somewhere, of course the same can be done there.
Comment 1 Morten O. Alver 2004-08-03 16:20:23 UTC
The source package to use is titled Jabref-1.5.tar.bz2. Please DO NOT use the file titled JabRef-1.5.tar.bz2 (with capital R) - it is defect, and was replaced with the new one in the download section as soon as the problem was discovered.
Comment 2 Chris Aniszczyk (RETIRED) gentoo-dev 2004-08-15 11:18:08 UTC
Bumped.
Comment 3 antoine marmignon 2004-08-16 14:06:35 UTC
I get this error when trying to run jabref:
Exception in thread "main" java.lang.NoClassDefFoundError: com/jgoodies/plaf/windows/ExtWindowsLookAndFeel

I think it has something to do with the external jars needed.
Comment 4 Morten O. Alver 2004-08-16 15:18:37 UTC
I made the JabRef release (not the Gentoo ebuild), and I found the same problem as Antoine Marmignon saw. I'm sorry, I didn't explain well enough. The problem is fixed by making sure the targets "compile unjarlib jars" are run in this order. "unjarlib" unpacks the class that the exception reports missing, and many others, into the build directory. "jars" creates the jar with those classes included.

Sorry about this mess.... hopefully you'll be able to fix it now - otherwise tell me; I can provide a package that builds properly using the default ant target.
Comment 5 Michael Schilling 2004-08-17 03:17:09 UTC
Hi!

I experienced the same as antoine marmignon (comment #3). So I downloaded the jar file directly from sourceforge and replaced the /usr/share/jabref/lib/jabref.jar

Now everything runs fine.
Comment 6 ron sayers 2004-08-22 08:45:14 UTC
I followed instructions in comment #5 from Michael Panhorst and it got mine running as well. Thanks
Comment 7 Chris Aniszczyk (RETIRED) gentoo-dev 2004-08-23 18:58:03 UTC
Thanks for all your help guys. The problem is resolved in portage.