Discussion and Support

Skip to content

It is currently Sat Feb 24, 2018 6:28 pm 

Reply to topic  [ 1 post ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Site Admin
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12111
Location: Tampa, FL
 Post subject: CharTool build notes for Eclipse
PostPosted: Mon Oct 04, 2010 8:51 pm 
So here's another (long-ish) ramble about what I had to do to get CharTool to build for me. Some of this harkens back to my experiences with MapTool -- there's a separate sticky thread for that one though.

So jay told me that he was ready for CT and IT to be pushed to the web site. I could simply grab the JARs and copy them to the server, hoping that I get everything put into place, but I wanted to ensure that I could build those tools myself using my Eclipse environment. Here's what I can remember of the build process...

1. I checked out the chartool project from SF.net (btw, for those who don't know you can use "sf.net" as an alias for "sourceforge.net" and their web server will provide a redirect; this just allows less typing).

2. I tried to build it and got errors. This was because the build.xml didn't have references to the three JARs needed to for ANT to do the build. (See the MapTool thread for how to setup the JARs Pack200, JS, and a third one that I don't recall.) Fix the references and try building again. It still fails, which leads me to step ...

3. Grab the gameSettings directory from the main web site because it didn't appear to be in the web project that CharTool was referring to. Note that the dependency is in the execution of the build.xml script but isn't part of any Eclipse build path setting. In other words, Eclipse doesn't know the dependency is even there and it can't help in that regard. I checked out the web project but with the files missing I had to search the rptools.net site and I finally found them. I will commit those changes to the web project in the next 24-48 hours so that others will be able to check out the project and have everything work.

Once I did the above I was able to build CharTool. Note that I already have a working build environment for MapTool so some required setup may have already been done as a result of getting Eclipse building MT correctly.

I now need to figure out what is involved in deploying CharTool to the rptools.net site and test that.

I have a game to prep for that runs tomorrow night though, so this will have to wait until Thursday. I do have a couple of weeks off starting next Monday so I'm hoping to make some more progress with MT, Maven, Git, and everything else. 8)

Display posts from previous:  Sort by  
Reply to topic  [ 1 post ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman