From dev-return-39646-apmail-openoffice-dev-archive=openoffice.apache.org@openoffice.apache.org Thu Aug 1 13:15:36 2013 Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86DD210D65 for ; Thu, 1 Aug 2013 13:15:36 +0000 (UTC) Received: (qmail 30182 invoked by uid 500); 1 Aug 2013 13:15:36 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 30075 invoked by uid 500); 1 Aug 2013 13:15:36 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 30055 invoked by uid 99); 1 Aug 2013 13:15:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 13:15:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of orwittmann@googlemail.com designates 209.85.212.181 as permitted sender) Received: from [209.85.212.181] (HELO mail-wi0-f181.google.com) (209.85.212.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 13:15:30 +0000 Received: by mail-wi0-f181.google.com with SMTP id en1so1814748wid.8 for ; Thu, 01 Aug 2013 06:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=GDEqui0y7yViFfI/lsDBDCkYDQFp1j//AU2i4ApIb8o=; b=0QItjhdetvn0kxFlKXePZvYO+6hOYHjApayHbhEer11gZ42WkTxLH3t9FMTf049jB5 Jqk6bRfixLbtlFAbNFRe0UPbs+YYBnaKyjKEquXWFWDGd9pXoXfUoGfScGg4QH8dLkJE xYZ95gMl6qBX4nVmKIVFOva6pH2sCBOCKu6I1MMPz3dOUnlfCWpiUvzLAswiYSgVNLrf 36zjusVZ8hpJyF+dxDErPOsBsOsnIazkkWQPfkXcZOpx/LbPXhReBJwahgTFa4tzdN9r 58KV0tzWI7VQARXDUcYSsMOTuFChBEPWJRnzekBAo6dP4UXk36WajP8cikrZqDujIgbI BCaw== X-Received: by 10.194.243.226 with SMTP id xb2mr1238011wjc.67.1375362909048; Thu, 01 Aug 2013 06:15:09 -0700 (PDT) Received: from [9.155.131.90] (deibp9eh1--blueice2n2.emea.ibm.com. [195.212.29.172]) by mx.google.com with ESMTPSA id nb12sm3760220wic.3.2013.08.01.06.15.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Aug 2013 06:15:08 -0700 (PDT) Message-ID: <51FA5F58.5090203@googlemail.com> Date: Thu, 01 Aug 2013 15:15:04 +0200 From: Oliver-Rainer Wittmann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: "dev@openoffice.apache.org" Subject: [Build Environment] Windows - build using Java 7 (JDK 1.7) without having Visual Studio Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Our current documentation about building AOO on Windows [1] (legacy one [2]) references JDK 1.6 and Visual Studio 2008 Express as needed software tools in order to build AOO on Windows. You might know that these are no longer officially available for Windows. Thus, I decided to work on a Windows build environment _without_ Visual Studio 2008 and _with_ JDK 1.7. I managed to build current trunk on a Windows 7 64bit HomePremium system using Java 7 (JDK 1.7) and without an installed Visual Studio instance. The problems which I need to solve on my way to the installation set were: (1) New version 2.7.1-1 of cygwin tool 'patch'. Version 2.7.1-1 now takes line endings in the patch file and in the file to be patch serious. Thus, the application of a patch fails when the line endings are different. Solution is to tweak the calling of the cygwin tool 'patch'. (2) Building module accessibility. In accessibility/bridge/source/java/ 'javah' is used to create a C header file from a Java class. This does not work with JDK 1.7 as the classpath does not contain the needed references to our UNO-API Java classes. Solution is to adjust the classpath for this 'javah' call. There are issues 121690 [3] and 121754 [4] regarding building with Java 7 (JDK 1.7) and HSQLDB. I think these issues are the duplicates of each other [please, can one of the people involved in these issues - e.g. Fred, Ariel or Andrea confirm this? Thx in advance]. As far as I understood these issues are solved. Please correct me, if I am wrong. My build was not hit by any build problem regarding modules hsqldb and connectivity. The installation of my build successfully passes the so-called smoketest - open document /main/smoketestdoc/[platform]/bin/smoketestdoc.sxw and hit start button. On a Windows system with JRE 6 the installation of my build does not recognize installed JRE 6 as an Java runtime environment (Menu - Tools - Option - Java). This is no problem from my point of view as our Windows users should not have JRE 6 installed anymore on their systems due to its security risks. Does somebody contradicts? I will soon update our documentation [1] in order to enable newcomers to build AOO under Windows. I will also update the reference to the Windows SDK, because for building without stlport on Windows the SP1 of the corresponding Windows SDK is needed - see issue 122500 [5]. [1] http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows [2] http://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows [3] https://issues.apache.org/ooo/show_bug.cgi?id=121690 [4] https://issues.apache.org/ooo/show_bug.cgi?id=121754 [5] https://issues.apache.org/ooo/show_bug.cgi?id=122500 Best regards, Oliver. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org