<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Brian,<br><br>thanks for the patch.<br><br>I agree that you can't use the current source in eclipse without manual work.<br>When I started with mkgmap and splitter I also started using eclipse (and coding in Java), so <br>I did more or less the same you did, but I did not dare to say that my<br>solution is "correct", probably it is far away from being a good solution.<br><br>I am not sure if my environment will continue to work with your patch.<br><br>1) My current environment looks like this:<br>- I am using Eclipse "Version: Juno Service Release 2 Build id: 20130225-0426" on a Windows 7 64 bit machine<br>- I have one directory called d:\eclipse_workspace containing sub directories mkgmap, splitter, display and others<br>for each project<br>- the source directories are located in d:\mkgmap or d:\splitter<br><br>2) When I try to reproduce problems in older mkgmap releases I close Eclipse, rename e.g. d:\mkgmp to d:\mkgmap_trunk<br>and do a svn checkout of the wanted sources to d:\mkgmap. Next I use ant dist to build.<br>After that I start Eclipse and do a refresh for the whole mkgmap project, maybe also a clean.<br>Sometimes I have to repeat the ant dist and refresh to be able to debug mkgmap in Eclipse.<br><br>Depending on the release of mkgmap that I am compiling I have to modify the names of libraries.<br><br>If I got it right, you suggest to use the source directory (e.g. d:\mkgmap in my case) also as working directory for Eclipse?<br><br>Gerd<br><br><div><hr id="stopSpelling">From: brianegge@gmail.com<br>Date: Wed, 22 Oct 2014 23:30:18 -0400<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: [mkgmap-dev] Eclipse<br><br><div>Hello,</div><div><br></div><div>I’ve recently downloaded the mkgmap source. I had no trouble compiling it with ant, but getting Eclipse to work took some effort. I’ve attached a patch file containing changes for Eclipse. </div><div><br></div><div>The specific changes are:</div><div>* update classpath to find current version of jars</div><div>* add ivyde settings</div><div>* add Eclipse setting file to specify source=1.7</div><div>* add splitter to ivy to compile ‘optional’ bit</div><div>* update URL of opengeo ivy repository</div><div>* add bin/tmp to ignore list</div><div><br></div><div>I see there is a git copy of this project, but it appears all commits are going through svn. I’d prefer to create a pull request on github than to attach a patch file, but am happy to do whatever works. </div><div><br></div><div>Attached is the patch file for review and merging to <a href="http://svn.mkgmap.org.uk/mkgmap/trunk" target="_blank">http://svn.mkgmap.org.uk/mkgmap/trunk</a>.</div><div><br></div><br><div><br></div><div>Regards,</div><div>Brian</div><br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                            </div></body>
</html>