pigpioj
pigpioj copied to clipboard
Maven Build configuration and packaging
This configuration will build
pigpioj-java -> pigpioj-native -> pigpioj
Usage: On top level type mvn clean install
- [pigpio-native] Build C-Header files from Java Interfaces
- [pigpioj] Have a top-level-project re-packaging the files into a release-jar
Also i did a little cleanup of the project files. I suggest putting them into .gitignore
Known Issues:
Static build did not work due to non-static raspbian build of pigpio. Do we need a static build?
refs https://github.com/mattjlewis/pigpioj/issues/1
Thanks, I'll review later on. The static build stems from the days when pigpio wasn't included in the Raspian repositories- I would checkout pigpio from GitHub, then use my own Makefile to also generate a static library. Now that is no longer the case I think it is safe to rely on the dynamically linked library.
Regards, Matt
On 4 Mar 2017, at 13:13, computerlyrik [email protected] wrote:
This configuration will build
pigpioj-java -> pigpioj-native -> pigpioj
Usage: On top level type mvn clean install
[pigpio-native] Build C-Header files from Java Interfaces [pigpioj] Have a top-level-project re-packaging the files into a release-jar Also i did a little cleanup of the project files. I suggest putting them into .gitignore
Known Issues:
Static build did not work due to non-static raspbian build of pigpio. Do we need a static build?
refs #1
You can view, comment on, or merge this pull request online at:
https://github.com/mattjlewis/pigpioj/pull/2
Commit Summary
remove auto-generated header files remove pre-compiled libpigpioj.so cleaning up project files add surrounding build configuration added gitignore for maven target dirs File Changes
A .gitignore (1) D pigpioj-java/.classpath (31) D pigpioj-java/.project (23) D pigpioj-java/.settings/org.eclipse.core.resources.prefs (4) D pigpioj-java/.settings/org.eclipse.jdt.core.prefs (13) D pigpioj-java/.settings/org.eclipse.m2e.core.prefs (4) D pigpioj-java/src/main/resources/lib/libpigpioj.so (0) D pigpioj-native/.cproject (62) M pigpioj-native/.gitignore (1) D pigpioj-native/.project (26) D pigpioj-native/.settings/language.settings.xml (12) D pigpioj-native/.settings/org.eclipse.cdt.managedbuilder.core.prefs (11) A pigpioj-native/assembly.xml (17) A pigpioj-native/pom.xml (95) D pigpioj-native/src/main/native/com_diozero_pigpioj_PigpioBitBangI2C.h (37) D pigpioj-native/src/main/native/com_diozero_pigpioj_PigpioGpio.h (169) D pigpioj-native/src/main/native/com_diozero_pigpioj_PigpioI2C.h (141) D pigpioj-native/src/main/native/com_diozero_pigpioj_PigpioSPI.h (53) A pom.xml (107) Patch Links:
https://github.com/mattjlewis/pigpioj/pull/2.patch https://github.com/mattjlewis/pigpioj/pull/2.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.