forge / plugin-hibersap

Hibersap Plugin
GNU Lesser General Public License v3.0
8 stars 12 forks source link

Hibersap Plugin for Forge

A plugin to generate classes to get used by the Hibersap framework to connect to a SAP system.

The plugin allows to search for function names at a given SAP system and generates all required classes and configuration files to use the given function with the Hibersap framework.

You can find more information about Hibersap at http://hibersap.sourceforge.net/

This plugin is licensed under LGPL, like Forge and Hibersap

How to use

This plugin is using Hibersap, which is using the SAP Java Connector (JCo).
Before using download SAP Java Connector 3 (http://service.sap.com/connectors) and extract the sapjco3.jar and the sapjco3 native library.
(We assume you use version 3.0.7 or higher)

Install sapjco3 jar to your local Maven repository from the command line:

mvn install:install -file -DgroupId=com.sap -DartifactId=sap-jco -Dversion=3.0.7 -Dpackaging=jar -Dfile= sapjco3.jar 

Also read the akquinet blogpost and watch the screen-cast that shows the usage of the Hibersap-Forge-Plugin:

Commands

[list-properties] - Lists all connection properties and the current session manager name.

[set-property] - Sets a new or existing property
[OPTIONS]
[--key] - The property key
[--value] - The property value

[delete-property] - Deletes an existing property
[OPTIONS]
[--key] - The property key

[generate-sap-entities] - Defalt command; generates SAP entities from a SAP system
[OPTIONS]
[--name-pattern] - Pattern to search SAP function names. Use * and ? as wildcards.
[--max-results] - Number of max. results. Use 0 for unlimited result list (Default value is 20)