<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Nico,<br>
<br>
hmmh, strange. Maven should be automatically downloaded to
graphhopper/maven if not found in the path variable...<br>
<br>
Regards,<br>
Peter<br>
<br>
On 09.03.2015 19:34, Nico Nijman wrote:<br>
</div>
<blockquote
cite="mid:CAHw0u+zLVkgrSf3Ba3khfz_W7r1OiLP-N380HNevTN6icXdLDQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I think I got myself fooled by using windows. My maven was
installed in c:\program files\maven. </div>
<div>After checking for the jar file I downloaded the new
release and ran the script again. This time i noticed some
remarks about looking for maven in c:\program\bin . It seems
the script can't handle the space in the default file address
on windows, so I moved maven to c:\temp\maven and updated the
system variables and that made it work.</div>
<div><br>
</div>
<div>Thanks for your help.</div>
<div><br>
</div>
<div>Kind regards, Nico</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-03-09 19:04 GMT+01:00 Nico Nijman
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:nico.nijman@gmail.com" target="_blank">nico.nijman@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I found some jars in \core\target</div>
<div>
<div>08-03-2015 15:06 3.257.441
graphhopper-0.4.0-RC1-android.jar<br>
</div>
<div>07-03-2015 22:57 1.093.221
graphhopper-0.4.0-RC1-tests.jar</div>
<div>08-03-2015 15:05 560.152
graphhopper-0.4.0-RC1.jar<br>
</div>
</div>
<div>No with dependencies.</div>
<div><br>
</div>
<div>In \tools\target i found</div>
<div>
<div>Directory of C:\temp\graphhopper-0.4\tools</div>
<div>07-03-2015 22:20 <DIR> .</div>
<div>07-03-2015 22:20 <DIR> ..</div>
<div>03-03-2015 23:49 2.514 pom.xml</div>
<div>07-03-2015 22:20 <DIR> src</div>
<div> 1 File(s) 2.514 bytes</div>
<div> 3 Dir(s) </div>
</div>
<div>No jar with dependencies, actually no jars at all.
Are there some tricks to generate the missing jar?</div>
<div><br>
</div>
<div>Kind regards, Nico Nijman</div>
<div>
<div class="h5">
<div><br>
</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-03-09 11:36 GMT+01:00
Peter <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:graphhopper@gmx.de"
target="_blank">graphhopper@gmx.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px
0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>can you check what<br>
ls tools/target/*jar<br>
<br>
gives you? There should be a
jar-with-dependencies<br>
<br>
Peter
<div>
<div><br>
<br>
On 08.03.2015 16:56, Nico Nijman wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am trying to compile/build a
small map on a windows 7 machine,
using cygwin64. I managed to
compile/build a map with version
0.3, but since there now is a nice
0.4 version I would like to use that
in my app and this results in a
message that errors occurred when
loading the map.</div>
<div><br>
</div>
<div>I can understand this, so I would
like to re-compile my map with
graphhopper version 0.4. When I
tried to run "./graphhopper.sh
import map_son.pbf" I got a bunch of
error messages that have to do with
the line ends ( {\r is considered an
unknown command), I could get around
this by removing some linebreaks. </div>
<div><br>
</div>
<div>In the end I got "graphhopper.sh"
to the point where I think it should
start to do something, but then it
gave me this output:</div>
<div>
<div>====================================================<br>
</div>
<div>
<div>Nico@Nijman
/cygdrive/c/temp/graphhopper-0.4<br>
</div>
<div>$ ./graphhopper.sh import
map_son.pbf</div>
<div>## using java from
C:\Program
Files\Java\jdk1.7.0_71\</div>
<div>## using existing osm file
map_son.pbf</div>
<div>## now building graphhopper
jar:
core/target/graphhopper-0.4.0-RC1-jar-with-dependencies.jar</div>
<div>## using maven at C:\Program
files\maven</div>
<div>## now import.
JAVA_OPTS=-XX:PermSize=60m
-XX:MaxPermSize=60m -Xmx1000m
-Xms1000m -server</div>
<div>Error: Could not find or load
main class
com.graphhopper.tools.Import</div>
<div><br>
</div>
<div>Nico@Nijman
/cygdrive/c/temp/graphhopper-0.4</div>
<div>$</div>
</div>
<div>====================================================<br>
</div>
</div>
<div><br>
</div>
<div>The jar files were succesfully
created, but it seems the script
can't access them. </div>
<div><br>
</div>
<div>Does anyone know where I could
look to solve this problem?</div>
<div>Does anyone have experience with
the use of this script in
combination with windows and
cygwin64?</div>
<div><br>
</div>
<div>Thanks in advance for any advice.</div>
<div><br>
</div>
<div>Kind regards, Nico</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>