BUILDING.txt 1.83 KB
Newer Older
1
Orekit can be built from source either using maven 3,
2
ant or eclipse.
3

4 5
Building with Maven 3:
 - Maven 3 can be downloaded here:
6
       http://maven.apache.org/download.html
7 8 9 10 11
 - If you are behind a proxy (which is a traditional
   setting in a corporate environment), then you need
   to configure maven to use it. This is explained
   in the maven documentation here:
   http://maven.apache.org/guides/mini/guide-proxies.html
12
 - run "mvn package" to automatically download all
13
   the required dependencies listed in the pom.xml file
14
   and create a file named target/orekit-x.y.jar where
15 16 17 18 19
   x.y is the version number

Building with Ant:
 - Ant can be downloaded here:
       http://ant.apache.org/bindownload.cgi
20 21 22 23 24
 - If you are behind a proxy (which is a traditional
   setting in a corporate environment), then you need
   to configure ant to use it. This is explained
   in the ant documentation here:
   http://ant.apache.org/manual/proxy.html
25
 - either download the Hipparchus jars from the Hipparchus project and
26
   put it in a lib directory just below the top-level orekit
27 28
   directory or edit the ant build.xml file to edit the get-hipparchus
   target that can automatically download Hipparchus
29 30
 - run "ant jar" to create a file named
   build/orekit-x.y.jar where x.y is the version number
31 32 33 34

Building with Eclipse:
 - Eclipse can be downloaded here:
       http://www.eclipse.org/downloads/
Luc Maisonobe's avatar
Luc Maisonobe committed
35 36 37 38 39 40 41 42
 - using your operating system tools, unpack the source distribution directly
   inside your Eclipse workspace
 - using Eclipse, import the project by selecting in the top level "File" menu
   the entry "Import..."
 - in the wizard that should appear, select "Maven -> Existing Maven Projects"
 - select the folder you just created in your workspace by unpacking the
   source distribution. The "pom.xml" file describing the project will be
   automatically selected. Click finish