[GraphHopper] How to modify and rebuild GraphHopper.java (server side)

marcosi66 at virgilio.it marcosi66 at virgilio.it
Mon Feb 17 11:44:28 UTC 2014


Hello everybody,
I want to add a function to modify a file text that an user send me, to do that, first of all, I try to create a function to open/reader a file text in my GraphHopper.java file(in the GRaphhopper main project), but when I do " ./graphhopper.sh web map.osm" nothing change(even if I cancel all the code in GraohHopper.java) .... I try to use the command "mvn clean war:war" on my project directory but there are so many error like this:

[INFO] Reactor Summary:
[INFO] 
[INFO] GraphHopper Parent Project ........................ FAILURE [0.569s]
[INFO] GraphHopper ....................................... SKIPPED
[INFO] GraphHopper Tools ................................. SKIPPED
[INFO] GraphHopper Android ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.118s
[INFO] Finished at: Mon Feb 17 12:42:18 CET 2014
[INFO] Final Memory: 14M/162M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-cli) on project graphhopper-parent: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


What I have to do? And why there is this problem?

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140217/3ab1efee/attachment.html>


More information about the GraphHopper mailing list