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 <[EMAIL PROTECTED]>:
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 <[EMAIL PROTECTED]>: > > 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 <[EMAIL PROTECTED]>: > >> > >> 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: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]