Re: [Jopenrpg-devel] An idea
Status: Alpha
Brought to you by:
tedberg
|
From: Ted B. <te...@us...> - 2002-05-10 14:46:20
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 09 May 2002 10:42 pm, David Hudson wrote: > Hmmm... It may be worth a try. I'll admit, I have never found the > OpenRPG/jopenRPG tree pane very intuitive, but putting all the objects > into a inspector pane may be a bit overwhelming to a user. However, a pane > with all that functionality would really save real estate. I say try it > out. Generally the object inspector will only be showing the properties for a single item at any given time. For instance, if you select a text node in the gametree the object inspector would show the properties for that node ( multiline y/n, text, show toolbar y/n, title, etc ). Map miniatures would be able to be viewed/editing en masse, but very little else would. > I am still having a few problems with the latest cvs build. The dev copy > from the website works fine for me however. When I build then run the cvs > copy, I first get Uh oh. Lemme see what I can do to help. > java.io.FileNotFoundException: null/jOpenRPG-log-properties.xml (No such > file or directory) > > Where should this file be? The "null" looks suspicious. That null *is* suspicious. :/ that null is System.getProperty( "java.user.home" ) and should be your 'home' directory. In windows that would be \windows, in linux it would be /home/<your username>. Odd that it's not working. Regardless, to get rid of this ... mmm. Do you have the file 'logger.properties' in your root source directory ( same place that build.xml would be )? It's a log4j config file, and with that in your root source directory ( assuming you run jopenrpg from there ) it shouldn't execute the line of code causing you grief. BTW: it occurs to me that the jOpenRPG-log-properties.xml file really *isn't* supposed to be XML. i must have been on drugs when I put that line in the code. duh. I'll get that fixed here shortly. > I also then get > > java.util.ConcurrentModificationException > at > org.jdom.ContentList$FilterListIterator.checkConcurrentModification(Content >List.java:1230) at > org.jdom.ContentList$FilterListIterator.hasNext(ContentList.java:942) at > net.etherstorm.jopenrpg.swing.gametree.RootNodehandler.importXML(JGameTreeP >anel.java:1881) at > net.etherstorm.jopenrpg.swing.gametree.RootNodehandler.importXML(JGameTreeP >anel.java:1889) at > net.etherstorm.jopenrpg.swing.gametree.RootNodehandler.importXML(JGameTreeP >anel.java:1889) at > net.etherstorm.jopenrpg.swing.gametree.RootNodehandler.<init>(JGameTreePane >l.java:1646) at > net.etherstorm.jopenrpg.swing.gametree.GameTreeModel.<init>(JGameTreePanel. >java:1227) at > net.etherstorm.jopenrpg.swing.gametree.JGameTreePanel.<init>(JGameTreePanel >.java:103) at > net.etherstorm.jopenrpg.swing.JMainFrame.<init>(JMainFrame.java:113) at > net.etherstorm.jopenrpg.ReferenceManager.getMainFrame(ReferenceManager.java >:298) at net.etherstorm.jopenrpg.jOpenRPG.main(jOpenRPG.java:85) > > The tree does not open in the Gametree pane. Even when I try to open it via > the file menu, I get the same error. > > Thanks > Dave This one is easy. :P You're using JDom-0.8.jar instead of 0.7. 0.8 has a lot of cool new features, one of which being some error checking. Apparently it doesn't like something I'm doing with the gametree. JDom 0.7 works fine still, and I'd recommend rolling back to that. The new nodehandler code I'm working on uses 0.8, so we'll move to the new version at some point I just don't know when yet. - -- Ted Berg jOpenRPG Project [http://jopenrpg.sourceforge.net/] PGP ID 219A86B2 F4A0 410E 4E37 F3D5 DA33 1FBC 3A38 028D 219A 86B2 Unauthorized use of this .sig may constitute violation of US law. echo Qba\'g gernq ba zr\! |tr 'a-zA-Z' 'n-za-mN-ZA-M' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE82904OjgCjSGahrIRAi2sAJ9dEvG7gnCkTuhqs0IhKbu24cQv8gCgjtDJ ULICzFe3HamO5bEZIkOGJhE= =J5Fd -----END PGP SIGNATURE----- |