On Nov 10 2012 3:33 PM, Morten Omholt Alver wrote:
> On 10 November 2012 21:37, EBo <e...@sandien.com> wrote:
>
>> When I went puruzing the net I found a note that JabRef-2.9 honors 
>> key
>> overwrite, so I thought I would try it out...
>>
>> I get the following errors when trying to build it on a Gentoo box:
>>
>>      ...
>>      [javac]
>>
>> 
>> /var/tmp/portage/app-text/jabref-2.9_beta/work/jabref-2.9b/src/java/net/sf/jabref/oo/OOBibBase.java:175:
>> cannot find symbol
>>      [javac] symbol  : variable Bootstrap
>>      [javac] location: class net.sf.jabref.oo.OOBibBase
>>      [javac]          XComponentContext xContext =
>> Bootstrap.bootstrap();
>>      [javac]                                       ^
>>
>
>
> There are a number of libraries that must be available at build time, 
> which
> the Gentoo ebuilds normally take care of. This error seems to 
> indicate that
> one (or all) of the OpenOffice/LibreOffice SDK libraries is missing. 
> These
> libraries are called unoil.jar, juh.jar, jurt.jar and ridl.jar, and 
> copies
> of these are distributed with the source packages we distribute for 
> JabRef.

Morten,

The original ebuild I based this off of had a patch to remove OO 
support.  After I sent the email I went in and got it to compile.  As a 
note, I have OO on my machine, but might need to change over to 
calligra.

While running, I get the exact same behavior with using [key:auth] (ie. 
if the key does not exist, then write nothing in the field - not even 
the available author).  Looking at the documentation I had that back to 
front and is not the way to accomplish what I was hoping to do.  As a 
note, the "key" entry was developed to replace the editor/author when 
none exist.

What I need in a couple of instances is to completely overwrite the 
citation key when it generates something that is non-intuitive (like in 
the case of citing the original authors whose names are written in 
Devanāgarī.

As a note, when I built 2.9 and click on Options -> Preferences I get 
the following error:

==================
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 
com.jgoodies.forms.builder.ButtonBarBuilder2.addGlue()V
         at net.sf.jabref.PrefsDialog3.<init>(PrefsDialog3.java:141)
         at net.sf.jabref.JabRefFrame$4.run(JabRefFrame.java:666)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at spin.Invocation.evaluate(Invocation.java:181)
         at spin.off.SpinOffEvaluator$1.run(SpinOffEvaluator.java:114)
         at java.lang.Thread.run(Thread.java:679)
================

I was able to get the preferences to come back by adding in the 
following diff:

=============
--- /tmp/jabref-2.8.1.orig/build.xml    2012-08-04 21:51:25.631246392 
+0300
+++ build.xml   2012-08-04 21:53:15.375866716 +0300
@@ -230,7 +230,7 @@
         </target>

         <!-- Jars up project -->
-       <target name="jars" depends="build, unjarlib">
+       <target name="jars" depends="build">
                 <mkdir dir="${build.lib}" />

                 <mkdir dir="${build.tmp}" />
@@ -251,12 +251,6 @@
                         <fileset dir="${src.dir}">
                                 <include name="plugins/**" />
                         </fileset>
-             <!-- Done by MrDlib -->
-            <fileset dir ="${java.dir}">
-                <include 
name="spl/localization/spljabref.properties"/>
-                <include name="spl/gui/ajax-loader.gif"/>
-                <include name="spl/gui/mrdlib header.png"/>
-            </fileset>
              <!-- Done by MrDlib -->
                         <fileset dir="${lib.dir}">
                                 <include name="EndNote.zip" />
================

hope this helps...

   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_nov
_______________________________________________
Jabref-users mailing list
Jabref-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jabref-users

Reply via email to