Commit b961e6b8 authored by Luc Maisonobe's avatar Luc Maisonobe

added assembly generation

parent 9de59c56
bin
bin-tests
doc
build
Orekit can be built from source either using maven 2,
ant or eclipse (with the m2eclipse plugin).
Building with Maven 2:
- Maven 2 can be downloaded here:
http://maven.apache.org/download.html
- running "mvn package" automatically downloads all
the required dependencies listed in the pom.xml file
and creates a file named target/orekit-x.y.jar where
x.y is the version number
Building with Ant:
- Ant can be downloaded here:
http://ant.apache.org/bindownload.cgi
- edit the automatically generated build.xml file to
handle dependencies as they are available in your
system (the generated file tries to mimic maven
behaviour and download them, which may not be what
you want)
- running "ant jar" creates a file named
target/orekit-x.y.jar where x.y is the version number
Building with Eclipse:
- Eclipse can be downloaded here:
http://www.eclipse.org/downloads/
- open orekit as a java project (the eclipse .project
is already provided with the orekit source distribution)
- configure the dependencies in the build path as they
are available in your system (the .classpath file
is configured to use a maven 2 repository, which may
not be what you want)
- build the project as usual using eclipse features
This diff is collapsed.
OREKIT relies on the following third-party products:
commons-math from the Apache Software Foundation
http://jakarta.apache.org/commons/math/
released under the Apache license, version 2 see LICENSE-Apache.txt
slf4j from Quality Open Software
http://www.slf4j.org/
released under the MIT license, see LICENSE-slf4j.txt
logback from Quality Open Software
http://logback.qos.ch/
released underf the LGPL license, see LICENSE-logback.txt and LICENSE-lgpl.txt
Orekit (ORbit Extrapolation KIT) is a CS java library
providing basic space dynamics objects and services.
Orekit relies on the following open-source products,
all released under business friendly licenses.
compile-time dependencies:
- commons-math from the Apache Software Foundation
http://jakarta.apache.org/commons/math/
released under the Apache license, version 2
- slf4j from Quality Open Software
http://www.slf4j.org/
released under the MIT license
run-time dependencies, all compile-time dependencies plus:
- any implementation of the SLF4J API, such as logback
logback from Quality Open Software
http://logback.qos.ch/
released under the LGPL license
test-time dependencies, all run-time dependencies plus:
- JUnit from Erich Gamma and Kent Beck
http://www.junit.org/
released under the Common Public License Version 1.0
\ No newline at end of file
......@@ -23,12 +23,6 @@
</src>
<classpath refid="build.classpath"/>
</javac>
<mkdir dir="${maven.build.output}/META-INF"/>
<copy todir="${maven.build.output}/META-INF">
<fileset dir=".">
<include name="LICENSE*.txt"/>
</fileset>
</copy>
<copy todir="${maven.build.output}">
<fileset dir="src/main/resources"/>
</copy>
......
Class-Path: commons-math-1.2-SNAPSHOT.jar
......@@ -8,12 +8,6 @@
<name>ORbit Extrapolation KIT</name>
<url>http://www.c-s.fr/</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-math</groupId>
<artifactId>commons-math</artifactId>
......@@ -30,22 +24,25 @@
<version>0.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<!-- make sure licenses are kept at top level in the source tree -->
<!-- and are copied into META-INF at build time -->
<directory>.</directory>
<includes>
<include>LICENSE*.txt</include>
</includes>
<targetPath>META-INF</targetPath>
</resource>
<resource>
<!-- standard resources directory -->
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assemble/source-assembly.xml</descriptor>
<descriptor>src/assemble/source-with-deps-assembly.xml</descriptor>
<descriptor>src/assemble/binary-assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build>
</project>
<assembly>
<id>bin</id>
<formats>
<format>zip</format>
</formats>
<componentDescriptors>
<componentDescriptor>src/assemble/misc-files.xml</componentDescriptor>
<componentDescriptor>src/assemble/jar-files.xml</componentDescriptor>
<componentDescriptor>src/assemble/compile-dependencies.xml</componentDescriptor>
<componentDescriptor>src/assemble/run-dependencies.xml</componentDescriptor>
</componentDescriptors>
</assembly>
\ No newline at end of file
<component>
<fileSets>
<fileSet>
<includes>
<include>BUILDING.txt</include>
<include>pom.xml</include>
<include>build.xml</include>
<include>.classpath</include>
<include>.project</include>
</includes>
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
<fileSet>
<directory>src</directory>
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
</fileSets>
</component>
\ No newline at end of file
<component>
<dependencySets>
<dependencySet>
<includes>
<include>commons-math:commons-math</include>
<include>org.slf4j:slf4j-api</include>
</includes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<includes>
<include>LICENSE-apache.txt</include>
<include>LICENSE-slf4j.txt</include>
</includes>
</fileSet>
</fileSets>
</component>
\ No newline at end of file
<component>
<fileSets>
<fileSet>
<directory>target</directory>
<outputDirectory></outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
</component>
\ No newline at end of file
<component>
<fileSets>
<fileSet>
<includes>
<include>README.txt</include>
<include>LICENSE.txt</include>
</includes>
</fileSet>
</fileSets>
</component>
\ No newline at end of file
<component>
<dependencySets>
<dependencySet>
<scope>test</scope>
<useTransitiveFiltering>true</useTransitiveFiltering>
<includes>
<include>ch.qos.logback:logback-classic</include>
</includes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<includes>
<include>LICENSE-logback.txt</include>
<include>LICENSE-lgpl.txt</include>
</includes>
</fileSet>
</fileSets>
</component>
\ No newline at end of file
<assembly>
<id>src</id>
<formats>
<format>zip</format>
</formats>
<componentDescriptors>
<componentDescriptor>src/assemble/misc-files.xml</componentDescriptor>
<componentDescriptor>src/assemble/building-files.xml</componentDescriptor>
</componentDescriptors>
</assembly>
\ No newline at end of file
<assembly>
<id>src-with-deps</id>
<formats>
<format>zip</format>
</formats>
<componentDescriptors>
<componentDescriptor>src/assemble/misc-files.xml</componentDescriptor>
<componentDescriptor>src/assemble/building-files.xml</componentDescriptor>
<componentDescriptor>src/assemble/compile-dependencies.xml</componentDescriptor>
<componentDescriptor>src/assemble/run-dependencies.xml</componentDescriptor>
<componentDescriptor>src/assemble/test-dependencies.xml</componentDescriptor>
</componentDescriptors>
</assembly>
\ No newline at end of file
<component>
<dependencySets>
<dependencySet>
<scope>test</scope>
<includes>
<include>junit:junit</include>
</includes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<includes>
<include>LICENSE-junit.txt</include>
</includes>
</fileSet>
</fileSets>
</component>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment