Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Orekit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaëtan Pierre
Orekit
Commits
077c18ae
Commit
077c18ae
authored
7 years ago
by
Luc Maisonobe
Browse files
Options
Downloads
Patches
Plain Diff
Improved building instructions from Eclipse.
parent
a8b19c95
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/site/markdown/building.md
+34
-6
34 additions, 6 deletions
src/site/markdown/building.md
with
34 additions
and
6 deletions
src/site/markdown/building.md
+
34
−
6
View file @
077c18ae
...
...
@@ -95,9 +95,37 @@ site at the [Eclipse Foundation](http://www.eclipse.org/downloads/).
The simplest way to use Orekit with Eclipse is to follow these steps:
*
unpack the distribution inside your Eclipse workspace
*
import the project as an "Existing Maven Project"
Everything should be configured automatically, including the dependency
to the underlying mathematical library.
*
using your operating system tools, unpack the source distribution directly
inside your Eclipse workspace. The source distribution file name has a name
of the form orekit-x.y-sources.zip where x.y is the version number. Unpacking
this zip file should create a folder of the form orekit-x.y in your 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
The Orekit library should be configured automatically, including the dependency
to the underlying mathematical library. Note however that the tutorials
that are present in the source distribution are not automatically added by
this process (because the tutorials correspond to extra code and as such they
are not referenced in the pom.xml file).
Now you have an orekit-x.y project in you workspace, and you can create your
own application projects that will depend on the Orekit project.
You can also check everything works correctly by running the junit tests.
If you want to go further and run the tutorials, you should update the
project configuration to add them. In the Eclipse Package Explorer tab,
right-click on the orekit-x.y project and select from the conext menu
the entry "Build Path -> Configure Build Path...". Then in the wizard that
should appear, select the "Source" tab in the right pane, click the button
"Add Folder...", open the "tutorials" folder, select the two sub-folders
"java" and "resource" and click "OK". Now the projects should display the
tutorials. Note that since 9.0, you need to have an "orekit-data" folder
in your home directory in order to run the tutorials.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment