-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.txt
32 lines (23 loc) · 1.46 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Accessing SAP system with Hibersap/JCo
######################################
Hibersap simplifies use of JCo by providing handy set of annotations. Sample code uses default SAP fligth demo application.
http://hibersap.org
Get started:
* Make sure Maven2 or above is installed on your computer.
* If not, download from http://maven.apache.org and install.
* Add this repository to your local Maven settings / POM configuration:
<repository>
<id>repository.hibersap</id>
<name>Hibersap Repository for Maven</name>
<url>
http://hibersap.svn.sourceforge.net/viewvc/hibersap/m2repo
</url>
</repository>
* Install the JCo jar to your local Maven repository. You'll find jar and native libs here: \native-libs
Native libs has been removed due to legal requirements.
> mvn install:install-file -DgroupId=com.sap -DartifactId=sap-jco -Dversion=3.0.5 -Dpackaging=jar -Dfile=sapjco3.jar
* Install native lib for your os (supported out of the box: Windows64bit, Mac64bit. Otherwise download from http://service.sap.com/connectors)
* Win64: > mvn install:install-file -DgroupId=com.sap -DartifactId=sap-jco -Dversion=3.0.5 -Dpackaging=jni -Dfile=sapjco3.dll -Dclassifier=NTAMD64
* Mac64: > mvn install:install-file -DgroupId=com.sap -DartifactId=sap-jco -Dversion=3.0.5 -Dpackaging=jni -Dfile=libsapjco3.jnilib -Dclassifier=darwinintel64
* Configure JCo properties in hibersap.xml
* Run "mvn clean install"