[Libreoffice] bug in Jar_ScriptProviderForJava.mk?

Michael Stahl mstahl at redhat.com
Wed Nov 16 04:16:09 PST 2011


On 16/11/11 12:48, Noel Grandin wrote:
>
>
> Michael Stahl wrote:
>>
>> hmm... if you edit Jar_ScriptProviderForJava.mk, and move ScriptFramework.jar first, what happens then?
>>
>> also you could try to edit solenv/gbuild/JavaClassSet.mk, and in the definition of gb_JavaClassSet_add_jar replace all
>> "eval" with "info", which should print some debug output (but it won't build that way...)
>>
>
> Moving the ScriptFramework.jar line around doesn't change anything.
>
> Replacing eval with info gives me this:
>
> /cygdrive/c/libreoffice/libo/workdir/wntmsci12.pro/JavaClassSet/Jar/ScriptProviderForJava/done : CLASSPATH :=
> $(CLASSPATH);/cygdrive/c/libreoffice/libo/solver/wntmsci12.pro/bin/ScriptFramework.jar

hmm...so clearly it is added to CLASSPATH, but it does not end up in the 
command; that is most mysterious...

what is the command like if, in the definition of 
gb_JavaClassSet__command (solenv/gbuild/JavaClassSet.mk), you
a) replace gb_Helper_abbreviate_dirs_native with
            gb_Helper_abbreviate_dirs
b) remove the first line "$(call gb_Helper_abbreviate_dirs_native,\"
    [and the matching closing parenthesis on the last line as well]



More information about the LibreOffice mailing list