[Libreoffice] Registry keys for Windows compilation

Mat M matm at gmx.fr
Sun Nov 20 13:51:19 PST 2011


Hello
Le Sun, 20 Nov 2011 09:42:04 +0100, julien2412 <serval2412 at yahoo.fr> a  
écrit:

> Hello Denis and Matm (I had already answered to Jonathan :-) )
>
> Thanks about your answer. Between the moment I had posted on this thread  
> and
> your answer, I was trying another way.
> On this thread
> http://nabble.documentfoundation.org/REVIEW-try-to-improve-automatic-detection-for-Windows-building-tp3522110p3522110.html
> I put 2 simple patches to review.
> In oowinbuild, I added a hook to search directly in Windows registry if  
> the
> value is not found on mapped Windows registry provided by Cygwin
> (/proc/registry).
>
> Julien.
>

You should check for ANT_HOME reality before assigning it. I know many  
installs of Windows ant which do not have the env var set by default. So  
after checking in SOLAR_JAVA and fail, if ANT_HOME exists, use it, else  
use the command-line-provided path.

My 2 cents

Mathias


More information about the LibreOffice mailing list