# harmony-dev mailing list archives

##### Site index · List index
Message view
Top
Subject Re: some question about drlvm
Date Wed, 26 Jul 2006 07:28:01 GMT
```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'

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...
>
> > 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...
> >
> >
> > 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
> > >
> > > 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
> > > >
> > > >
> > > > 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
> 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:
> > > found.
> > > >
> > > > i can build the drlvm on the same platform successfully, and i think
> the
> > > > drlvm also need
> > > >
> > > > 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()
> ()
> > > > > >> > Caused by: java.lang.ClassNotFoundException:
> javax.swing.JPanel
> > > > > >> >        at java.net.URLClassLoader.findClass()
> ()
> > > > > >> >        at java.lang.VMClassRegistry.defineClass()
> > > > > >> >
> > > > > >> > how can i solve the problem?  Thanks a lot.
> > > > > >> >
> > > > > >>
> > > > > >>
> > > ---------------------------------------------------------------------
> > > > > >> To unsubscribe, e-mail:
> > > harmony-dev-unsubscribe@incubator.apache.org
> > > > > >> For additional commands, e-mail:
> > > harmony-dev-help@incubator.apache.org
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
> ---------------------------------------------------------------------