On 07/01/2014 12:26 PM, JNGF wrote:
> Hi Abhishek,
> Thanks for getting back to me about this. I'm using the binary
> version of Open Wonderland.
>
> Please would explain in further detail how to go about updating the code
> from the SVN as this is something I've not done before?
In your base wonderland directory there are two files that end in
.example. Edit them both and save them minus the .example. It's all in
the README-build.txt file, which I assume is present in the binary
package as well. Keep in mind about ALL binaries is that they are
compiled for the lowest common denominator, which could include i396.
Use the source, Luke, if at all possible.
Install Oracle Java JDK, ant and subversion.
Open a terminal window
Create a src/ subdirectory off of your user directory.
cd into src/
Create a trunk/directory off of the new src/ directory.
cd into trunk/
Type (copy/paste) this into trunk/ from a terminal window command line
and run these commands:
svn checkout
https://openwonderland.googlecode.com/svn/trunk wonderland
svn checkout
https://openwonderland-modules.googlecode.com/svn/trunk/0.5
wonderland-modules
svn checkout
https://openwonderland-video.googlecode.com/svn/trunk
wonderland-video
You'll see three new directories.
cd into wonderland/ and do the edits I mentioned to the two files.
If you do not have networking setup use URL.hostname
http://localhost:8080 and wonderland.webserver,host=address 127.0.0.1
(remove the hash mark to uncomment out the default use)
Then, while in the wonderland directory, type:
ant
and when that is done type:
ant run-server
That's it! When you see the announce that webhost localhost is running
on 8080 then open your browser and point it to
127.0.0.1:8080
One caveat though. If you are running Windows, and have spaces in your
directory tree like "/my user' well MicroSoft being the supreme idiots
that they are, provides spaces in directory names ~by default~ as at one
point they thought they could cleverly control the server market, which
they later didn't.
Spaces in file and directory names is a MicroSoft invention which
doesn't fly on the net. Especially with other OS's that run the
Internet. Java doesn't seem to like it either. So, try to keep your
install directory tree free of spaces in directory/filenames. It's just
good accepted practices for servers. Ric