dwins / mapnik2geotools

Using the Scala XML API to translate from Mapnik XML to GeoTools' SLD dialect
64 stars 22 forks source link

Application doesn't start at all #38

Closed m407 closed 11 years ago

m407 commented 11 years ago

Under openSUSE 12.3 I was unable to launch nor gui nor console application. After I built the application simple ~/sbt or ~/sbt run results into

Starting sbt version 0.11.2 ...
[info] Loading project definition from /home/m407/Projects/mapnik2geotools/project
[info] Set current project to mn2gt (in build file:/home/m407/Projects/mapnik2geotools/)
dwins commented 11 years ago

Hi @m407 , I don't know much about openSUSE but I just set up a virtual machine from the GNOME live installer. I added the 'git' and 'openjdk-1.7.0-devel' packages, and installed SBT from the tar archive. After this setup 'sbt run' is successful (well, I didn't load any maps or styles on the VM but it does pop up a window at least.) So I don't know what the problem might be in your setup.

I suggest that you clear out your working directory and try again from scratch. To do this, use the 'git clean -dxn' command to list files that would be deleted. If any of the listed files are important to you, move them out of the mapnik2geotools folder. Then use 'git clean -dxf' to really delete the files. After this 'sbt run' should resolve dependencies, compile the code, and start up the GUI.

m407 commented 11 years ago

Thanks for reply. I think I've figured out the problem. sbt`s shell launcher seems to be incorrect couse I managed to launch the application directly

java -Xmx2048M -jar /usr/share/java/sbt-launch.jar