harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Ozhdikhin" <pavel.ozhdik...@gmail.com>
Subject Re: [build] need help building harmony on windows
Date Thu, 26 Apr 2007 05:54:41 GMT
Naveen,

That's how I build on Windows (actual host names and ports are removed):

# Set environment
set PATH=c:\jrockit-jdk1.5.0\bin;c:\utils\apache-ant-1.6.5\bin;%PATH%
set JAVA_HOME=c:\jrockit-jdk1.5.0
set ANT_HOME=c:\utils\apache-ant-1.6.5
set ANT_OPTS=-Dhttp.proxyHost=proxy_host -Dhttp.proxyPort=proxy_port

# Checkout
svn co https://svn.apache.org/repos/asf/harmony/enhanced/trunk
cd trunk
ant populate_source

# Build classlib
cd working_classlib
ant fetch-depends
ant

# Build DRLVM
set CXX=msvc
set BUILD_CFG=debug
build.bat update
build.bat

Quite the same as on Linux and it worked fine for me. Please make sure
your do 'build clean' after doing 'svn update' - in many cases partial
rebuild did not work for me.

Thanks,
Pavel

On 4/26/07, Naveen Neelakantam <neelakan@uiuc.edu> wrote:
> I'll try rolling back and see what happens.
>
> On Apr 25, 2007, at 10:37 PM, Vladimir Ivanov wrote:
>
> > You can use r532300 for tests (r532301 was updated to show this
> > message as 'usage help').
> > That is for jitrino question I never saw it. I think, we should wait
> > our jit guys...
> >
> > thanks, Vladimir
> >
> >
> > On 4/26/07, Naveen Neelakantam <neelakan@uiuc.edu> wrote:
> >> I forgot to mention that I followed the directions on http://
> >> harmony.apache.org/quickhelp_contributors.html
> >>
> >> On Apr 25, 2007, at 10:09 PM, Naveen Neelakantam wrote:
> >>
> >> > I am trying to get a windows development environment setup to track
> >> > down a bug (HARMONY-1788), but I'm having trouble.
> >> >
> >> > I managed to build the classlib and drlvm on Windows 2003 using
> >> > Visual Studio .NET 2003 and the eclipse JDK, but whenever I try to
> >> > run the vm, I see the following:
> >> >
> >> > D:\neelakan\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk
> >> > \jre\bin>java
> >> > Harmony Java launcher
> >> > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache
> >> > Software Foundation or its licensors, as applicable.
> >> > java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
> >> >
> >> > Help?  I'm totally clueless on Windows...
> >> >
> >> > Naveen
> >>
> >>
>
>

Mime
View raw message