<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Andrey,<br>
      <br>
      after the calling the graphhopper.sh script there is a jar file in
      target/ (-> something like graphhopper-with-dependencies.jar)
      which is suitable for deployment on such a machine.<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote cite="mid:1371306291.365746789@f305.mail.ru" type="cite">
      Thank you for advice about maven -o mode. Problem is that when I
      run graphhopper first time, it download files from repository and
      when I start graphhopper offline on other machine, it trys to
      download them. So I need the way when I copy project on other
      machine and it will works without internet.  <br>
      <br>
      <br>
      Пятница, 31 мая 2013, 13:40 UTC от
      <a class="moz-txt-link-abbreviated" href="mailto:graphhopper-request@openstreetmap.org">graphhopper-request@openstreetmap.org</a>:<br>
      <blockquote style="border-left:1px solid #0857A6; margin:10px;
        padding:0 0 0 10px;" class="mailru-blockquote">
        <div id="">
          <div class="js-helper js-readmsg-msg">
            <style type="text/css"></style>
            <div id="viewmessagebody" class="mr_read__body"> <base
                target="_self" href="https://e.mail.ru/">
              <div id="style_13700076240000000725_BODY">Send GraphHopper
                mailing list submissions to<br>
                <a moz-do-not-send="true"
                  href="sentmsg?compose&To=graphhopper@openstreetmap.org">graphhopper@openstreetmap.org</a><br>
                <br>
                To subscribe or unsubscribe via the World Wide Web,
                visit<br>
                <a moz-do-not-send="true"
                  href="http://lists.openstreetmap.org/listinfo/graphhopper"
                  target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
                or, via email, send a message with subject or body
                'help' to<br>
                <a moz-do-not-send="true"
                  href="sentmsg?compose&To=graphhopper%2drequest@openstreetmap.org">graphhopper-request@openstreetmap.org</a><br>
                <br>
                You can reach the person managing the list at<br>
                <a moz-do-not-send="true"
                  href="sentmsg?compose&To=graphhopper%2downer@openstreetmap.org">graphhopper-owner@openstreetmap.org</a><br>
                <br>
                When replying, please edit your Subject line so it is
                more specific<br>
                than "Re: Contents of GraphHopper digest..."<br>
                <br>
                <br>
                Today's Topics:<br>
                <br>
                   1. Re: Offline model of Graphhopper (Peter K)<br>
                <br>
                <br>
----------------------------------------------------------------------<br>
                <br>
                Message: 1<br>
                Date: Fri, 31 May 2013 15:40:01 +0200<br>
                From: Peter K <<a moz-do-not-send="true"
                  href="sentmsg?compose&To=peathal@yahoo.de">peathal@yahoo.de</a>><br>
                To: GraphHopper Java routing engine <<a
                  moz-do-not-send="true"
                  href="sentmsg?compose&To=graphhopper@openstreetmap.org">graphhopper@openstreetmap.org</a>><br>
                Subject: Re: [GraphHopper] Offline model of Graphhopper<br>
                Message-ID: <<a moz-do-not-send="true"
                  href="sentmsg?compose&To=51A8A831.4090105@yahoo.de">51A8A831.4090105@yahoo.de</a>><br>
                Content-Type: text/plain; charset="iso-8859-1"<br>
                <br>
                Hi Andrey,<br>
                <br>
                the routing service is available offline but you still
                need the online<br>
                map! For Android we've mapsforge which produces offline
                maps. And for<br>
                the desktop we could use an old version of mapsforge (or
                in some months<br>
                0.4 of it) but I cannot do this due to lack of time at
                the moment (your<br>
                contributions is welcome via pull request though :)) !<br>
                <br>
                Regarding your issue: after one successful build with
                maven (with<br>
                internet) you can try to put "-o" on the command line
                (offline mode) and<br>
                the disconnect the internet + restart.<br>
                See <a moz-do-not-send="true"
                  href="http://stackoverflow.com/q/7233328/194609"
                  target="_blank">http://stackoverflow.com/q/7233328/194609</a><br>
                <br>
                Regards,<br>
                Peter.<br>
                <br>
                > In my project I want to use web server without
                internet. So I've got :<br>
                > 1 Virtual machine with internet and one without
                internet. On first VM<br>
                > I run GH-web server one time with internet and
                after that it starts<br>
                > without net. I copy GH-web server project from
                first machine(it works<br>
                > in offline) and starting in offline on second
                machine. And it try's to<br>
                > download files. What files should I download from
                first machine or<br>
                > previously download from internet to start web
                server without internet<br>
                > at all. <br>
                ><br>
                ><br>
                ><br>
                > andrey@ubuntu:~/graphhopper-master$
                ./graphhopper.sh web pskov.osm<br>
                > ## using java 1.7.0_21 (64bit) from
                /usr/lib/jvm/jdk1.7.0_21<br>
                > ## using existing osm file pskov.osm<br>
                > ## existing jar found<br>
                >
                core/target/graphhopper-0.1-SNAPSHOT-jar-with-dependencies.jar<br>
                > ## now web. JAVA_OPTS=-XX:PermSize=300m
                -XX:MaxPermSize=300m<br>
                > -XX:-UseGCOverheadLimit -Xmx1500m -Xms1500m<br>
                > *********************ALL MUST
                WORK*******************<br>
                > [INFO] Scanning for projects...<br>
                > Downloading:<br>
                > <a moz-do-not-send="true"
href="http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom"
                  target="_blank">http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom</a><br>
                > [ERROR] The build could not read 1 project ->
                [Help 1]<br>
                > [ERROR]<br>
                > [ERROR] The project
                com.graphhopper:graphhopper-web:0.1-SNAPSHOT<br>
                > (/home/andrey/graphhopper-master/./web/pom.xml) has
                1 error<br>
                > [ERROR] Non-resolvable parent POM for<br>
                > com.graphhopper:graphhopper-parent:0.1-SNAPSHOT:
                Could not transfer<br>
                > artifact org.sonatype.oss:oss-parent:pom:7 from/to
                central<br>
                > (<a moz-do-not-send="true"
                  href="http://repo.maven.apache.org/maven2"
                  target="_blank">http://repo.maven.apache.org/maven2</a>):
                repo.maven.apache.org: Name or<br>
                > service not known and 'parent.relativePath' points
                at wrong local POM<br>
                > @ com.graphhopper:graphhopper-parent:0.1-SNAPSHOT,<br>
                > /home/andrey/graphhopper-master/pom.xml, line 16,
                column 13: Unknown<br>
                > host repo.maven.apache.org: Name or service not
                known -> [Help 2]<br>
                > [ERROR]<br>
                > [ERROR] To see the full stack trace of the errors,
                re-run Maven with<br>
                > the -e switch.<br>
                > [ERROR] Re-run Maven using the -X switch to enable
                full debug logging.<br>
                > [ERROR]<br>
                > [ERROR] For more information about the errors and
                possible solutions,<br>
                > please read the following articles:<br>
                > [ERROR] [Help 1]<br>
                > <a moz-do-not-send="true"
href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException"
                  target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException</a><br>
                > [ERROR] [Help 2]<br>
                > <a moz-do-not-send="true"
href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException"
                  target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException</a><br>
                ><br>
                > <br>
                ><br>
                ><br>
                > _______________________________________________<br>
                > GraphHopper mailing list<br>
                > <a moz-do-not-send="true"
                  href="sentmsg?compose&To=GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
                > <a moz-do-not-send="true"
                  href="http://lists.openstreetmap.org/listinfo/graphhopper"
                  target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
                <br>
                <br>
                -- <br>
                GraphHopper.com Your way is our destination!<br>
                <br>
                -------------- next part --------------<br>
                An HTML attachment was scrubbed...<br>
                URL: <<a moz-do-not-send="true"
href="http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130531/4aa80814/attachment.html"
                  target="_blank">http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130531/4aa80814/attachment.html</a>><br>
                <br>
                ------------------------------<br>
                <br>
                _______________________________________________<br>
                GraphHopper mailing list<br>
                <a moz-do-not-send="true"
                  href="sentmsg?compose&To=GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.openstreetmap.org/listinfo/graphhopper"
                  target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
                <br>
                <br>
                End of GraphHopper Digest, Vol 34, Issue 2<br>
                ******************************************<br>
              </div>
              <base target="_self" href="https://e.mail.ru/"> </div>
          </div>
        </div>
      </blockquote>
      <br>
      <br>
      -- <br>
      Андрей Иванов<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>