I have been using Geoserver on Apache Tomcat in Windows and I want to install GeoExplorer. It is an OpenGeo Suite tool, and its source code is found here.

I have downloaded the source code and tried to compile it using WinAnt to generate a .WAR file. However, this resulted in error messages and I am stuck. Is my way correct or what must I do to fix this problem?

The error occurred when trying to build using WinAnt. The source code was added to C:\Temp\GeoExplore, then I navigated to that directory in a Command window and issued the ant command. The resulting errors are below, and are also linked at http://notepad.cc/errorGeo

C:\Temp\GeoExplorer>ant
Buildfile: C:\Temp\GeoExplorer\build.xml
init:
[echo] pulling in submodules
BUILD FAILED
C:\Temp\GeoExplorer\build.xml:26: Execute failed: java.io.IOException: Cannot run program "git.cmd": CreateProcess error=2, System cannot find the file(translated to english)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:615)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=2, Sistem belirtilen dosyay?
bulam?yor
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:189)
at java.lang.ProcessImpl.start(ProcessImpl.java:133)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 24 more
Total time: 0 seconds

This is difficult to help fix without knowing the exact errors. Can you please edit your question to include any error messages you've received, and let us know when the errors occurred (e.g. when generating the .WAR, or after deployment)?
–
user3461Mar 29 '13 at 12:37

I put the source code in C:\Temp\GeoExplore\. After that i ran CMD and got into that dir and i gave "ant" command. Here is the link that contains full of errors.. notepad.cc/errorGeo. THX...
–
mete7Mar 29 '13 at 13:17

1 Answer
1

Install Java, Git, Ant and Maven are not enough, I've succeed build that geoexplorer.war by using some git url change. Use the branch 4.1 and build using "mvn install" don't forget to build dependencies first.