harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: some question about drlvm
Date Wed, 26 Jul 2006 13:28:02 GMT
yes, that would do it :)


Vladimir Ivanov wrote:
> Seems, it depend on svn. My svn is not support '--non-interactive' option
> (file trunk\build\make\build.xml, line 323) and report 2 lines to output
> "svn: invalid option: --nonineractive
> Type 'svn help' for usage."
> that seems to be used to convert 'version_svn_tag_orig.h' to
> 'version_svn_tag.h'
> 
> thanks, Vladimir
> 
> 
> On 7/26/06, Alexey Petrenko <alexey.a.petrenko@gmail.com> wrote:
>>
>> I've built drlvm on Windows yesterday without any problem... Probably
>> this is a new issue...
>>
>> 2006/7/26, Vladimir Ivanov <ivavladimir@gmail.com>:
>> > 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 <alexey.a.petrenko@gmail.com> 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 <ustczz@gmail.com>:
>> > > > 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 <geir@pobox.com>:
>> > > > >
>> > > > > 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 <geir@pobox.com>:
>> > > > > >>
>> > > > > >> 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
>>
>>
> 

---------------------------------------------------------------------
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


Mime
View raw message