|
| 1 | +# Pentaho Data Integrator DOC Plugins |
| 2 | + |
| 3 | +This project allows you to manage documents in Pentaho's Data Integration. |
| 4 | + |
| 5 | +Works with PDI 6.1,7.1 and 8.2. |
| 6 | + |
| 7 | +## Building the plugins |
| 8 | + |
| 9 | +Check out the project if you have not already done so : |
| 10 | + |
| 11 | + git clone git://github.com/atolcd/pentaho-doc-plugins.git |
| 12 | + cd pentaho-doc-plugins |
| 13 | + |
| 14 | +Install Java 8+, Maven and PDI. |
| 15 | + |
| 16 | +To package the plugins, run the following commands from the base project directory : |
| 17 | + |
| 18 | + # Create the package |
| 19 | + mvn clean package |
| 20 | + |
| 21 | +The built package is target/pentaho-gis-plugins-1.0.0-bin.zip (version can differ) |
| 22 | + |
| 23 | +**_Integration with Eclipse_** |
| 24 | + |
| 25 | +If you want to use the [Eclipse IDE](https://eclipse.org), you can easily create projects with maven. From the root directory of the project : |
| 26 | + |
| 27 | + mvn eclipse:eclipse |
| 28 | + |
| 29 | +Assume that the [M2Eclipse](http://www.eclipse.org/m2e) plugin is installed and import the project from Eclipse : |
| 30 | + |
| 31 | +1. From the "Import" item of the "File" menu, select "Existing Projects into Workspace" |
| 32 | +2. Next, select the root directory of the project |
| 33 | +3. Eclipse suggests 1 projects : select it and Finish |
| 34 | +4. You can start working |
| 35 | + |
| 36 | +It has been tested with Eclipse Luna and Mars. |
| 37 | + |
| 38 | +## Installing/upgrading the module |
| 39 | + |
| 40 | +**_Method 1 : Pentaho's Marketplace installation_** |
| 41 | + |
| 42 | +In PDI, open the _Marketplace_ from the help menu. Select "PDI DOC Plugins" and click "Install this plugin". |
| 43 | +After the installation, you need to restart PDI. |
| 44 | + |
| 45 | +When a newer version will be available, you will see an "Upgrade to XXX" button at the right of "Uninstall this plugin" button. Don't use it. |
| 46 | +Proceed in two steps : first use "Uninstall this plugin" then start a fresh installation. |
| 47 | + |
| 48 | +**_Method 2 : Manual installation_** |
| 49 | + |
| 50 | +Extract the content of pentaho-doc-plugins-VERSION-bin.zip in \${PENTAHO_HOME}/plugins. |
| 51 | +Example of extraction from the root directory of the project : |
| 52 | + |
| 53 | + wget https://github.com/atolcd/pentaho-doc-plugins/releases/download/v1.0.0/pentaho-doc-plugins-1.0.0-bin.zip |
| 54 | + unzip pentaho-doc-plugins-1.0.0-bin.zip -d ${PENTAHO_HOME}/plugins |
| 55 | + |
| 56 | +To upgrade the plugin, delete files you added before and start a fresh installation. |
| 57 | + |
| 58 | +## Using the plugins |
| 59 | + |
| 60 | +You will find new elements in "Document management"'s directory : |
| 61 | + |
| 62 | +- Metadata writer |
| 63 | +- PDF Merge |
| 64 | +- Text report |
| 65 | +- PDF Conversion |
| 66 | + |
| 67 | +Find how to use them in the examples in the `samples` folder. |
| 68 | + |
| 69 | +## Contributing |
| 70 | + |
| 71 | +**_Reporting bugs_** |
| 72 | + |
| 73 | +1. First check if the version you used is the last one |
| 74 | +2. Next check if the issue has not ever been described in the [issues tracker](https://github.com/atolcd/pentaho-doc-plugins/issues) |
| 75 | +3. You can [create the issue](https://github.com/atolcd/pentaho-doc-plugins/issues/new) |
| 76 | + |
| 77 | +**_Submitting a Pull Request_** |
| 78 | + |
| 79 | +1. Fork the repository on GitHub |
| 80 | +2. Clone your repository (`git clone https://github.com/XXX/pentaho-doc-plugins.git && cd pentaho-doc-plugins`) |
| 81 | +3. Create a local branch that will support your dev (`git checkout -b a-new-dev`) |
| 82 | +4. Commit changes to your local branch branch (`git commit -am "Add a new dev"`) |
| 83 | +5. Push the branch to the central repository (`git push origin a-new-dev`) |
| 84 | +6. Open a [Pull Request](https://github.com/atolcd/pentaho-doc-plugins/pulls) |
| 85 | +7. Wait for the PR to be supported |
| 86 | + |
| 87 | +## LICENSE |
| 88 | + |
| 89 | +This extension is licensed under `GNU Library or "Lesser" General Public License (LGPL)`. |
| 90 | + |
| 91 | +Developed by [Cédric Darbon](https://twitter.com/cedricdarbon) and Roger AIRES. |
| 92 | +Packaged by [Charles-Henry Vagner](https://github.com/cvagner) |
| 93 | + |
| 94 | +## Our company |
| 95 | + |
| 96 | +[Atol Conseils et Développements](http://www.atolcd.com) |
| 97 | +Follow us on twitter [@atolcd](https://twitter.com/atolcd) |
0 commit comments