The "cd -P" will resolve symlinks.
Also for debugging, I have added automatically executed commands:
it will execute in gdb: run, backtrace, then automatcally quit.
So the user will not need to understand gdb console, everything is automatic.
And the user gets automatically backtrace.
* src/components/ogre/EmberOgre.cpp, src/components/ogre/EmberOgre.h, src/components/ogre/OgreSetup.cpp, src/components/ogre/OgreSetup.h, src/main/Application.cpp, src/main/Application.h, src/main/Ember.cpp, configure.ac, ember.conf, ember.in: changed how the plugins are loaded. Instead of trying one path and then quitting if not successful, try with a series of paths that are most probable.
* src/components/ogre/EmberOgre.cpp, src/components/ogre/Makefile.am, src/components/ogre/OgreSetup.cpp, src/components/ogre/resources.cfg, configure.ac, ember.in, src/services/config/ConfigService.cpp, src/components/ogre/widgets/Makefile.am, src/components/ogre/modeldefinitions/Makefile.am, src/components/ogre/cegui/Makefile.am, media/packs/Makefile.am: changed a little how the media is handled. In the distribution, the media under prefix/share/ember/media/ is now divided into "user" and "shared". Upon start, if there is no ~/.ember/ember-media-0.4.2, the "user" media will be copied there. And then WFUT will be run. This media is only around 1MB. The "shared" media will be accessed as previous. The reason is that the media that is in "user" is such that due to Ogre it can't have any duplicate resources. So while we might have duplicate media in downloaded through WFUT for the "shared" media, we can't have it for the "user" media, and thus it needs to be available only from one location.
* ember.bin:
* Add support for gcj-compiled wfut.
* Write the version number to a file, so that we might use if for something useful in the future
* .cvsignore: added "var" to ignored dirs
* ember.dox.in: fixed name
* Ember.kdevelop: updated project file
* ember.in, ember, configure.ac:
* remove the ember script and instead use the ember.in which will set the correct media path based on the version
* cleaned up the script and adapted to a newer version of WFUT.jar
* configfile: removed it since we now specify the server at the command line
* ember.bat: updated for new version of WFUT.jar and new channel
* ember.conf: added version info
* ember.spec.in: updated, don't know if it will work though, we'll use autopackage mainly. I'll test it when i have time, if it doesn't work it's ok to yell at me for it.