Skip to content

Commit

Permalink
Automate building of idea jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauri W Ahonen committed Nov 1, 2015
1 parent 4b7ba5b commit b3f25a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Features
* [#512](https://github.com/java-native-access/jna/pull/512): Make loading debug flags mutable [@lwahonen](https://github.com/lwahonen).
* [#514](https://github.com/java-native-access/jna/pull/514): Added `host_processor_info` to `com.sun.jna.platform.mac.SystemB` - [@dbwiddis](https://github.com/dbwiddis).
* [#519](https://github.com/java-native-access/jna/pull/519): Added JNA functional overview - [@twall](https://github.com/twall).
* [#528](https://github.com/java-native-access/jna/pull/528): Add an ant task (idea-jar) that creates a convenience jar that contains all native dispatch libraries. If you want to hacking on JNA with an IDE, just include idea-dispatch.jar to your classpath and create a module from the JNA src directory. - [@lwahonen](https://github.com/lwahonen).

Bug Fixes
---------
Expand Down
6 changes: 6 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,12 @@ osname=macosx;processor=x86;processor=x86-64;processor=ppc
</subant>
</target>

<target name="idea-jar" depends="jar" description="Build Intellij Idea convenience jar">
<jar destfile="${dist}/idea-dispatch.jar">
<zipfileset src="${dist-jar}" excludes="**/*.class"/>
</jar>
</target>

<target name="javah" depends="compile" unless="-native">
<javah classpath="${classes}" destdir="${build.native}" force="yes">
<class name="com.sun.jna.Function"/>
Expand Down

0 comments on commit b3f25a8

Please sign in to comment.