|
'n ddrylliog
|
 |
« Reply #30 on: 03. August 2007, 12:48:53 am » |
|
Ah.. I've never used xsd2jibx myself as I always hand-code the mapping files too LOL From your comment, I just thought you didn't know it existed. Did you get it working for the new .classpath files now?
Actually I can't work right now since I am not at home. Tomorrow night and Saturday, I will work. Promised.
|
|
|
|
|
Logged
|
|
|
|
|
horati
|
 |
« Reply #31 on: 03. August 2007, 02:07:22 am » |
|
Actually I can't work right now since I am not at home. Tomorrow night and Saturday, I will work. Promised.
I'm not depending on it at all so don't hurry for me. I just wanted to know if I could help through any additional roadblocks.
|
|
|
|
|
Logged
|
|
|
|
|
'n ddrylliog
|
 |
« Reply #32 on: 03. August 2007, 09:18:50 am » |
|
Yup, thanks for your interest in the thing, horati.
Actually you know what ? The interface will be redesigned from scratch, as it's not flexible enough at all, and doesn't satisfy me in many aspects. E.g. creating a self-launchable jar or an installer or a software module isn't necessarily a linear process.. I'll try to design a kind of GUI which I haven't seen yet, which goal is to display only the relevant information. If you want a counter-example, just look at what you've got when you read your ebay accounts : lots of texts, buttons, images, ... some people needs several minutes to figure out 1) what informations do they need to know and 2) how they can change what they want. I'm beginning to like Swing (come on, its performance has been improved and has become a non-issue, and it allows me to have a very small runtime jar for OneClick).
Actually "OneClick" begins to be a wrong name. "Ubiquity" would be better but I think it's already taken by a project. The idea being you can deploy the way you want, with the resources you have (e.g. if you don't have much bandwith, just rely on packages on other servers.. if you are a commercial game development company, you can burn your DVDs all-including).
In the end, we could even consider things like native launchers, e.g. creating an exe for windows, a makeself.sh for linux, a dmg? for mac. That shouldn't be that hard.
|
|
|
|
|
Logged
|
|
|
|
|
horati
|
 |
« Reply #33 on: 03. August 2007, 02:32:32 pm » |
|
For making Swing applications, have a look at www.jgoodies.com. There were 4 accompanying open source projects the last time I checked. Forms and data-binding are the most interesting. They make excellent UI creation much easier, especially native-appearance cross-platform. Obviously, it's all stuff that's possible with raw Swing but few developers use the plethora of constants available for things like spacing and exact colors when coding raw Swing. This takes care of all that.
|
|
|
|
|
Logged
|
|
|
|
|
kukanani
|
 |
« Reply #34 on: 03. August 2007, 07:00:53 pm » |
|
Well, sorry for taking so long in getting back to you, Amos, here is the classpath. Whoops, actually, I forgot which project produced the error, so it's either this one:
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry excluding="bin/" kind="src" path=""/> <classpathentry combineaccessrules="false" kind="src" path="/xith3d"/> <classpathentry combineaccessrules="false" kind="src" path="/xith-tk"/> <classpathentry kind="output" path=""/> </classpath>
or it's this one:
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path=""/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path=""/> </classpath>
|
|
|
|
|
Logged
|
xith.setCoolnessLevel(10); jMe.setCoolnessLevel(0); xith.rock();
|
|
|
|
|
|
kukanani
|
 |
« Reply #36 on: 04. August 2007, 02:01:38 am » |
|
Sorry, I still get the same error. I have managed to narrow it down to the first .classpath file that I put in, though. The other one works, but now I get a "Could not find the main class. Program will exit" error. What is the proper syntax for the "Main Class" TextField? Is it packages, slashes, dots, ?? 
|
|
|
|
|
Logged
|
xith.setCoolnessLevel(10); jMe.setCoolnessLevel(0); xith.rock();
|
|
|
|
'n ddrylliog
|
 |
« Reply #37 on: 04. August 2007, 04:26:59 pm » |
|
It's a "binary name", example "org.i.really.suck.at.Coding", you see ?
(i = me, not you)
|
|
|
|
|
Logged
|
|
|
|
|
kukanani
|
 |
« Reply #38 on: 21. September 2007, 03:25:34 am » |
|
Hmm...I still seem to get it while using OneClick. Here is a link to a Java Web Start test for my app...tell me if it works for you. Sorry about the long download time. It's my new Exodus Online site. My co-dev dropped out of the project. He knew a lot of HTML, but in some ways it's better that I'm in this alone. I can update the site however I choose, whenever I choose, etc. And, no, there are no bad references to you in this site. http://www.speedtrail.net/users/allevato8/index.htmOn the "Play" link.
|
|
|
|
|
Logged
|
xith.setCoolnessLevel(10); jMe.setCoolnessLevel(0); xith.rock();
|
|
|
|
Mathias 'cylab' Henze
|
 |
« Reply #39 on: 21. September 2007, 09:15:23 am » |
|
Does not work for me: java.io.FileNotFoundException: The base-folder does not exist (".\Images\Terrain"). at org.xith3d.utility.resources.ResourceLocator.setBaseURL(ResourceLocator.java:122) at org.xith3d.utility.resources.ResourceLocator.setBaseURL(ResourceLocator.java:148) at org.xith3d.utility.resources.ResourceLocator.<init>(ResourceLocator.java:324) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.prepareTerrain(Exodus3dWorld.java:471) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.prepareHeiarchy(Exodus3dWorld.java:198) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.<init>(Exodus3dWorld.java:153) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.main(Exodus3dWorld.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
|
|
|
|
|
Logged
|
|
|
|
Marvin Fröhlich
Xith Lord
Administrator
Guru
   
Offline
Posts: 4403
May the 4th, be with you...
|
 |
« Reply #40 on: 21. September 2007, 11:17:47 am » |
|
Instead of ".\Images\Terrain"
You must use this: "Images/Terrain"
Marvin
|
|
|
|
|
Logged
|
|
|
|
Marvin Fröhlich
Xith Lord
Administrator
Guru
   
Offline
Posts: 4403
May the 4th, be with you...
|
 |
« Reply #41 on: 21. September 2007, 11:33:32 am » |
|
After clicking the Play link the following message is displayed forever: Link Session Pending...
Marvin
|
|
|
|
|
Logged
|
|
|
|
|
kukanani
|
 |
« Reply #42 on: 21. September 2007, 01:12:02 pm » |
|
Instead of ".\Images\Terrain"
You must use this: "Images/Terrain"
Marvin Thanks for the tip, but my code actually reads: heightMap = new HeightMapSampler(new ResourceLocator("./Images/Terrain/") .getResource("long island_dark_2.jpg")); When I drop the "." it just gives me an error: java.io.FileNotFoundException: The base-folder does not exist ("\Images\Terrain"). at org.xith3d.utility.resources.ResourceLocator.setBaseURL(ResourceLocator.java:122) at org.xith3d.utility.resources.ResourceLocator.setBaseURL(ResourceLocator.java:148) at org.xith3d.utility.resources.ResourceLocator.<init>(ResourceLocator.java:324) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.prepareTerrain(Exodus3dWorld.java:471) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.prepareHeiarchy(Exodus3dWorld.java:198) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.<init>(Exodus3dWorld.java:153) at exodus.game.threeD.worlds.zero.three.Exodus3dWorld.main(Exodus3dWorld.java:178) And, of course I can't use forward slashes because of escape codes. After clicking the Play link the following message is displayed forever: Link Session Pending...
Marvin Is that all? I mean, are there any images on the page, any borders, etc.? The words "Link Session Pending" are only supposed to be for show, because the transmission is supposed to be coming from outer space, but nothing is really happening when it says that. I guess you have JavaScript enabled on your computer, so it's not that. What browser are you using? I have tested this on Internet Explorer and Mozilla Firefox.
|
|
|
|
« Last Edit: 21. September 2007, 01:19:05 pm by kukanani »
|
Logged
|
xith.setCoolnessLevel(10); jMe.setCoolnessLevel(0); xith.rock();
|
|
|
Marvin Fröhlich
Xith Lord
Administrator
Guru
   
Offline
Posts: 4403
May the 4th, be with you...
|
 |
« Reply #43 on: 21. September 2007, 01:19:15 pm » |
|
I'm using Mozilla Firefox. But I have also tested in on Konqueror (shows the same).
I have attached a screenshot of what I am seeing.
Marvin
|
|
|
|
|
Logged
|
|
|
|
|
kukanani
|
 |
« Reply #44 on: 21. September 2007, 01:41:42 pm » |
|
Oh, OK. Yeah, that's right. Like I said, those words are just for show, but maybe I should get rid of them - they are kind of confusing.
|
|
|
|
|
Logged
|
xith.setCoolnessLevel(10); jMe.setCoolnessLevel(0); xith.rock();
|
|
|
|