Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 32711 invoked from network); 26 Jul 2006 06:59:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 06:59:08 -0000 Received: (qmail 51784 invoked by uid 500); 26 Jul 2006 06:59:04 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 51748 invoked by uid 500); 26 Jul 2006 06:59:04 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 51737 invoked by uid 99); 26 Jul 2006 06:59:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 23:59:04 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of alexey.a.petrenko@gmail.com designates 64.233.184.230 as permitted sender) Received: from [64.233.184.230] (HELO wr-out-0506.google.com) (64.233.184.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2006 23:59:03 -0700 Received: by wr-out-0506.google.com with SMTP id i34so946087wra for ; Tue, 25 Jul 2006 23:58:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tq2BlRN3FnIJkmqboIq9kq/SkE+KfKFt/Vv/9zppwfB2R51nWQ2nqSvEMsL8mYhLMOCMcwqApmMBpM4ZmXVW+JWTypU5dBsRBx7UqB4UN27r0wfYadGaC6+oDOMieQYDgZl7SEj4cc0AY4Rf/Po+9jVcxX71i6DlGJ/PZCtZu+k= Received: by 10.65.105.13 with SMTP id h13mr6538305qbm; Tue, 25 Jul 2006 23:58:42 -0700 (PDT) Received: by 10.65.139.19 with HTTP; Tue, 25 Jul 2006 23:58:42 -0700 (PDT) Message-ID: Date: Wed, 26 Jul 2006 10:58:42 +0400 From: "Alexey Petrenko" To: harmony-dev@incubator.apache.org Subject: Re: some question about drlvm In-Reply-To: <7273946b0607252348t65ff679fpe23b63a161a8f0ae@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6342af3e0607251845m610dc622ub7326df51d79313d@mail.gmail.com> <44C6D795.4070808@pobox.com> <6342af3e0607251951g323ea1d7o5fc47a91850a4550@mail.gmail.com> <44C6EC6E.2010408@pobox.com> <6342af3e0607252318t7200913fp3ef58dc1d706650b@mail.gmail.com> <7273946b0607252348t65ff679fpe23b63a161a8f0ae@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've built drlvm on Windows yesterday without any problem... Probably this is a new issue... 2006/7/26, Vladimir Ivanov : > I can't build drlvm on my WinXP with message: > [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) : error > C2001: newline in constant > [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error > C2015: too many characters in constant > [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error > C2143: syntax error : missing ';' before 'constant' > [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error > C2501: 'Type' : missing storage-class or type specifiers > [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error > C2001: newline in constant > > Seems, the define of VERSION_SVN_TAG was splited to 2 string... > thanks, Vladimir > > > On 7/26/06, Alexey Petrenko wrote: > > > > First of all, welcome to Harmony! :) > > > > Awt and Swing modules are already in svn. So you do not need to > > download them separately. > > > > Just checkout clean classlib repository, run > > depends/libs/build/fetch-awt-depends.sh script and finally run "ant > > -Dwith.awt.swing=true". > > > > If you are using drlvm do not forget to copy new classlib to its > > deploy directory or just rerun drlvm build script. > > > > And let us now about the results! :) > > > > SY, Alexey > > > > > > > > 2006/7/26, zouqiong : > > > en, i download the swing, awt package from > > > > > > http://issues.apache.org/jira/browse/HARMONY-528 > > > > > > and i follow the instructions in READ.txt > > > > > > but when i compile the misc, the error comes as follows: > > > > > > Buildfile: build.xml > > > > > > timestamp: > > > [echo] build-date=20060727 > > > [echo] build-time=20060727_1415) > > > [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386 > > > [echo] with java home = /usr/local/jdk1.5.0_06/jre VM version = > > > 1.5.0_06-b05 vendor = Sun Microsystems Inc. > > > > > > setname.win: > > > > > > setname.linux: > > > > > > init: > > > [echo] platform name=lnx > > > [taskdef] Could not load definitions from resource cpptasks.tasks. It > > > could not be found. > > > [typedef] Could not load definitions from resource cpptasks.types. It > > > could not be found. > > > [echo] if.x86_64=${if.x86_64} > > > [echo] if.x86=true > > > [echo] if.ipf=${if.ipf} > > > [echo] create base dirs... > > > > > > init.java_home: > > > [echo] JAVA_HOME=/usr/local/jdk1.5.0_06 > > > > > > init.win: > > > > > > init.linux: > > > > > > compile.api: > > > [echo] Compiling api classes from > > > > > /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java, > > > > > /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java > > > [javac] Compiling 10 source files to > > > /home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes > > > > > > BUILD FAILED > > > > > /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257: > > > Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be > > found. > > > > > > i can build the drlvm on the same platform successfully, and i think the > > > drlvm also need > > > Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' > > > > > > so how the error comes? Thanks a lot for telling me the answer. > > > > > > 2006/7/26, Geir Magnusson Jr : > > > > > > > > From this I deduce you built it yourself :) > > > > > > > > If you want Swing/AWT included, you need to : > > > > > > > > 1) Follow directions in depends/lib/build to get the dependencies. > > > > > > > > 2) set the property "with.awt.swing" to true when building... > > > > > > > > geir > > > > > > > > > > > > zouqiong wrote: > > > > > fc5 gcc-3.4.6 > > > > > > > > > > 2006/7/26, Geir Magnusson Jr : > > > > >> > > > > >> Are you using a snapshot or did you build it yourself? > > > > >> > > > > >> What platform? > > > > >> > > > > >> geir > > > > >> > > > > >> > > > > >> zouqiong wrote: > > > > >> > does drlvm support for swing classlib? > > > > >> > > > > > >> > when I run Java2Demo.jar which is compiled with jdk, some error > > > > comes: > > > > >> > > > > > >> > java.lang.NoClassDefFoundError: javax/swing/JPanel > > > > >> > at java.lang.VMClassRegistry.defineClass() > > > > >> > at java.lang.ClassLoader.defineClass() > > > > >> > at java.security.SecureClassLoader.defineClass() > > > > >> > at java.net.URLClassLoader.findClassImpl() > > > > >> > at java.net.URLClassLoader$4.run() > > > > >> > at java.security.AccessController.doPrivilegedImpl() > > > > >> > at java.security.AccessController.doPrivileged() > > > > >> > at java.net.URLClassLoader.findClass() > > > > >> > at java.lang.ClassLoader.loadClass() > > > > >> > at java.net.URLClassLoader$SubURLClassLoader.loadClass() > > > > >> > Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel > > > > >> > at java.net.URLClassLoader.findClass() > > > > >> > at java.lang.ClassLoader.loadClass() > > > > >> > at java.net.URLClassLoader$SubURLClassLoader.loadClass() > > > > >> > at java.lang.ClassLoader.loadClass() > > > > >> > at java.lang.VMClassRegistry.defineClass() > > > > >> > > > > > >> > how can i solve the problem? Thanks a lot. > > > > >> > > > > > >> > > > > >> > > --------------------------------------------------------------------- > > > > >> Terms of use : http://incubator.apache.org/harmony/mailing.html > > > > >> To unsubscribe, e-mail: > > harmony-dev-unsubscribe@incubator.apache.org > > > > >> For additional commands, e-mail: > > harmony-dev-help@incubator.apache.org > > > > >> > > > > >> > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > > > > > > > > > > > > > > > -- > > Alexey A. Petrenko > > Intel Middleware Products Division > > > > --------------------------------------------------------------------- > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > -- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org