From dev-return-32378-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Sat Mar 01 21:05:11 2008 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 34987 invoked from network); 1 Mar 2008 21:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2008 21:05:11 -0000 Received: (qmail 56049 invoked by uid 500); 1 Mar 2008 21:05:05 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 56021 invoked by uid 500); 1 Mar 2008 21:05:05 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 56012 invoked by uid 99); 1 Mar 2008 21:05:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 13:05:05 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [196.25.240.80] (HELO ctb-mesg-1-2.saix.net) (196.25.240.80) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 21:04:18 +0000 Received: from animal (dsl-243-109-250.telkomadsl.co.za [41.243.109.250]) by ctb-mesg-1-2.saix.net (Postfix) with SMTP id 74A728CCC for ; Sat, 1 Mar 2008 23:04:26 +0200 (SAST) Message-ID: <001601c87bdf$da32e0b0$0300000a@animal> From: "Johnny Kewl" To: Subject: Harmony Dev Environment On XP? Date: Sat, 1 Mar 2008 23:04:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Antivirus: avast! (VPS 080101-0, 2008/01/01), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org .... this is what I did... -- svn co http://svn.apache.org/repos/asf/harmony/enhanced/trunk -- ant -Dauto.fetch=true -- ant populate-src Then to make it a little easier I installed Visual Studio 2005 and MASM Then I run this script @echo off if not exist "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" goto missing echo call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" @set PATH=C:\Program Files\Microsoft Visual Studio 8\VC\bin;%PATH% @set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\Include;%INCLUDE% @set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\Lib;%LIB% call ".\eclipse.exe" goto :eof :missing echo Missing file echo "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" goto :eof Then I Load E:\Harmony\working_classlib\build.xml in eclipse... can see all the tasks and run them -- ant fetch-depends At this stage Xerces gives trouble.... the file size that comes in is 4 megs, the one on the site is 6 megs... ? so MD5 file fails unless done manually -- build Then is complains about cant compile something in /concurrent... so I downloaded the "Windows Src" pack on the site found the missing folder and the Java compiles... When it tries to compile the native stuff it complains about a double declaration of _Win_NT_Ver in the a threading module... I change the Window header file that was getting upset to NT4... forget the module off hand Then it gets passed that compiles a few files and gets stuck here hyerrorhelpers.c(122) : warning C4013: 'sprintf' undefined; assuming extern returning int I started fiddling with code... adding window header files to Harmony code but that really makes in mad ;) Then I took the whole of the Windows download and copied it over the SVN download... in the hope headers would fix... Now its is really screwed... wont even get through the Java compile... I get an error I have no idea what it means BUILD FAILED E:\Harmony\working_classlib\build.xml:113: The following error occurred while executing this line: E:\Harmony\working_classlib\make\build-java.xml:120: java.lang.reflect.InvocationTargetException I think the only place to start is to setup an environment that works on XP... the way I'm trying seems not to work... Maybe there is a way to tell eclipse to use another compiler dont know, build script is looking for nmake and thats the only way I could figure out to give it one... ? ... me stuck ;)