Skip to main content

running CVS version of LG3D is broken

13 replies [Last post]
amirsadig
Offline
Joined: 2004-07-01

I have tried today a fresh version of LG3D from CVS and build it. I got a lot of warnning.

when running it with "ant run-dev" ::

[java] Exception in thread "LG-splashstarter" java.awt.AWTError: Toolkit not found: org.jdesktop.lg3d.awt.xlg3dtoolkit
[java] at java.awt.Toolkit$2.run(Toolkit.java:843)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828)
[java] at java.awt.Window.getToolkit(Window.java:1127)
[java] at java.awt.Window.init(Window.java:369)
[java] at java.awt.Window.(Window.java:407)
[java] at java.awt.Frame.(Frame.java:402)
[java] at java.awt.Frame.(Frame.java:367)
[java] at javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1731)
[java] at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1808)
[java] at javax.swing.JWindow.(JWindow.java:168)
[java] at javax.swing.JWindow.(JWindow.java:120)
[java] at org.jdesktop.lg3d.toolkit.NonLGJWindow.(NonLGJWindow.java:28)
[java] at org.jdesktop.lg3d.displayserver.SplashWindow.(SplashWindow.java:60)
[java] at org.jdesktop.lg3d.displayserver.SplashWindow.showSplashscreen(SplashWindow.java:90)
[java] at org.jdesktop.lg3d.displayserver.SplashStarter.run(SplashStarter.java:70)
[java] Java 3D: Shape3D bounds enabled for transparency sorting
[java] Exception in thread "main" java.awt.AWTError: Toolkit not found: org.jdesktop.lg3d.awt.xlg3dtoolkit
[java] at java.awt.Toolkit$2.run(Toolkit.java:843)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828)
[java] at java.awt.Window.getToolkit(Window.java:1127)
[java] at java.awt.Window.init(Window.java:369)
[java] at java.awt.Window.(Window.java:407)
[java] at java.awt.Frame.(Frame.java:402)
[java] at java.awt.Frame.(Frame.java:367)
[java] at javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1731)
[java] at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1808)
[java] at javax.swing.JDialog.(JDialog.java:259)
[java] at javax.swing.JDialog.(JDialog.java:193)
[java] at org.jdesktop.lg3d.displayserver.ErrorDialog.(ErrorDialog.java:64)
[java] at org.jdesktop.lg3d.displayserver.LogHandler.publish(LogHandler.java:47)
[java] at java.util.logging.Logger.log(Logger.java:472)
[java] at java.util.logging.Logger.doLog(Logger.java:494)
[java] at java.util.logging.Logger.log(Logger.java:583)
[java] at org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler.(ServerHandler.java:83)
[java] at org.jdesktop.lg3d.displayserver.Main.main(Main.java:113)

------------------------------

here some of the output:
run-app:
Ignoring bootclasspath as build.sysclasspath has been set.
Ignoring bootclasspath as build.sysclasspath has been set.
[java] 28.07.2007 10:13:52 org.jdesktop.lg3d.displayserver.Main main
[java] INFO:
[java] LG3D Version : dev-1-0-1
[java] LG3D Build Time : 10:13 CEST 28 Jul 2007(0707281013)
[java] LG3D Build Type : user
[java] LG3D Java Version : 1.6.0-rc

[java] Java Version : 1.6.0-rc
[java] Java Vendor : Sun Microsystems Inc.
[java] Java Class Version : 50.0
[java] Java Class Path : /home/bukhari/programming/LG3D/lg3d-core/build/current/debug/lib/lg3d-core.jar:/home/bukhari/programming/LG3D/lg3d-core/build/current/debug/lib/lg3d-awt-toolkit.jar:/home/bukhari/programming/LG3D/lg3d-core/src:/home/bukhari/programming/LG3D/lg3d-core/ext/commons-cli-1.0.jar:/home/bukhari/programming/LG3D/lg3d-core/ext/escher-0.2.2.lg.jar:/home/bukhari/programming/LG3D/lg3d-core/ext/j3d-contrib-utils.jar:/home/bukhari/programming/LG3D/lg3d-core/ext/jxta.jar:/home/bukhari/programming/LG3D/lg3d-core/ext/nwn-0.7.jar:/home/bukhari/programming/LG3D/lg3d-core/ext/odejava.jar:/home/bukhari/programming/LG3D/lg3d-core/ext/satin-v2.3.jar:/home/bukhari/programming/LG3D/lg3d-core/ext/svgSalamander.jar
[java] App Codebase : null

[java] OS Name : Linux
[java] OS Arch : i386
[java] OS Version : 2.6.20-16-generic

[java] Def. Locale Language Code : de
[java] Def. Locale Country Code : DE

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
William Tracy

On 8/2/07, lg3d@javadesktop.org wrote:
> @ William Tracy
> did you run CVS version of LG?

Sorry, at the moment I don't even have access to a machine that runs
LG3D at all. (Stupid Inspiron has NO OpenGL support, and my main
desktop computer just died.) I'm just shooting in the dark, hoping to
help. :-P

--
William Tracy
afishionado@gmail.com -- wtracy@calpoly.edu

I'm right now looking for a summer software engineering internship in
northern California! My resume is online here:
http://wiki.java.net/bin/view/People/WilliamTracy

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

amirsadig
Offline
Joined: 2004-07-01

thank you krishna!

I have test ant and build very well.

now ant run-dev work fine.

ant run-app doesn't work.
to run app I start the Xvfb by hand and then use ant run-app. also this doesn't help because some, but
it start when adding

all src/devscripts/lg3d-* doesn't work at all

krishna_gadepalli
Offline
Joined: 2005-12-14

Hi Amir
I dont know much about the X integration. I will point this out to Deron. If your fix works go ahead and commit it...
the src/devscripts/lg3d-dev script works for me. the lg3d-app doesnt (LG fails to connect to the X server). I will point this out to Deron too.

-krishna

Amir Bukhari

> I dont know much about the X integration. I will point this out to Deron. If your fix works go ahead and commit it...
> the src/devscripts/lg3d-dev script works for me. the lg3d-app doesnt (LG fails to connect to the X server). I will point this out to Deron too.
>
it seems that I have some trouble in my system. lg3d-* script doesn't
see my JAVA_HOME enviroment variable and it the end it set to "" and
thus the all script doesn't work for me.

I will try first to have a clean build system and then try again.

-amir

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

amirsadig
Offline
Joined: 2004-07-01

@ William Tracy
did you run CVS version of LG?

@brian
which changes you have done to the ANT script, to got LG running?
I need this. I realy dont use Swing inside LG.

thanks

Brian Demers

I will try to post a patch as soon as i get a chance (tonight or tomorrow)

Its not check in quality, i think there are still problems with the
build, but this is a start.

On 8/2/07, lg3d@javadesktop.org wrote:
> @ William Tracy
> did you run CVS version of LG?
>
> @brian
> which changes you have done to the ANT script, to got LG running?
> I need this. I realy dont use Swing inside LG.
>
> thanks
> [Message sent by forum member 'amirsadig' (amirsadig)]
>
> http://forums.java.net/jive/thread.jspa?messageID=229235
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

krishna_gadepalli
Offline
Joined: 2005-12-14

I have just committed changes that should fix the way lg3d-awt-toolkit.jar is built and some build xml files which were broken when Mac related changes were made.
-krishna

Brian Demers

Great,

Slightly off topic, but do your swing panels show up red? Any idea on
why mine would be?

This happens when I run the SwingNode test application also.

On 8/2/07, lg3d@javadesktop.org wrote:
> I have just committed changes that should fix the way lg3d-awt-toolkit.jar is built and some build xml files which were broken when Mac related changes were made.
> -krishna
> [Message sent by forum member 'krishna_gadepalli' (krishna_gadepalli)]
>
> http://forums.java.net/jive/thread.jspa?messageID=229243
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

krishna_gadepalli
Offline
Joined: 2005-12-14

I have fixed another issue which was causing the Swing windows to be oversized. Not all my swing panels are red. Only the Swing Node Test's waving panel - and I think that it is supposed to be red (not sure). Otherwise, the rest of the swing panels show up fine.
-krishna

amirsadig
Offline
Joined: 2004-07-01

I thing the sources on src/classes6 are not compiled.
why? I don't know.

also when building "ant all"

I got this error:
BUILD FAILED
/home/bukhari/programming/LG3D/lg3d-core/build.xml:121: The following error occurred while executing this line:
/home/bukhari/programming/LG3D/lg3d-core/build-tools/import/build-x11.xml:146: The following error occurred while executing this line:
/home/bukhari/programming/LG3D/lg3d-core/build-tools/import/build-x11.xml:155: Could not create task or type of type: javah.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'javah'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using .
- You are attempting to use a task defined using

or but have spelt wrong or not defined it at the point of use ################################ I use "Apache Ant version 1.6.5 compiled on July 5 2006" in netbeans 5.5.1 this error doesn't come
William Tracy

Without javah, it can't compile the header files to interact with the
native code. It looks like something is funky with your local
configuration.

Off the top of my head, are $ANT_HOME and $JAVA_HOME set correctly? As
a sanity check, can you locate $JAVA_HOME/bin/javah and run it
directly from the command line?

--
William Tracy
afishionado@gmail.com -- wtracy@calpoly.edu

I'm right now looking for a summer software engineering internship in
northern California! My resume is online here:
http://wiki.java.net/bin/view/People/WilliamTracy

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

Amir Bukhari

William Tracy schrieb:
> Without javah, it can't compile the header files to interact with the
> native code. It looks like something is funky with your local
> configuration.
>
> Off the top of my head, are $ANT_HOME and $JAVA_HOME set correctly? As
> a sanity check, can you locate $JAVA_HOME/bin/javah and run it
> directly from the command line?
>
$JAVA_HOME is set correctly and javah is in my $PATH

PATH=$JAVA_HOME/bin:$PATH

for $ANT_HOME I have never set it by hand. I installed ant from APT like:
apt-get install ant

I use the latest ubuntu.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

Brian Demers

All,

I was seeing a similar problem trying to run 'run-dev'
I hacked up the ant scripts to make it work, but I am still having all
kinds of problems trying to get my SwingNode code to work correctly
(which worked 9 months + months ago)

This might be a different thread... (buy fyi, I am working on the
Browser/Browser3D project)

Hope this helps.

Also, on a side note, the release targets don't work either, in my
opinion it seems most of the build targets have problems, is anyone
currently making vast improvements to the build?

I don't have any errors, in front of me so I can't be of much use.

On 7/29/07, Amir Bukhari wrote:
> William Tracy schrieb:
> > Without javah, it can't compile the header files to interact with the
> > native code. It looks like something is funky with your local
> > configuration.
> >
> > Off the top of my head, are $ANT_HOME and $JAVA_HOME set correctly? As
> > a sanity check, can you locate $JAVA_HOME/bin/javah and run it
> > directly from the command line?
> >
> $JAVA_HOME is set correctly and javah is in my $PATH
>
> PATH=$JAVA_HOME/bin:$PATH
>
> for $ANT_HOME I have never set it by hand. I installed ant from APT like:
> apt-get install ant
>
> I use the latest ubuntu.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net