From: Frederic S. <fr...@jf...> - 2007-06-22 14:20:14
|
Here is the mojo: http://www.jfrog.org/svn/jade-plugins/trunk/plugins/build/jade-native-plugin/src/main/java/org/jfrog/jade/plugins/natives/plugin/NativeCompileMojo.java The function getIncludesZipper() is creating a zipper which includes all "**/*.h" files under the source dir of maven: <build> <sourceDirectory>src</sourceDirectory> <testSourceDirectory>src</testSourceDirectory> This is a big difference from the native plugin, that usually generate this empty zip... Hope it helps. On 6/22/07, Will McKinley <wmc...@ci...> wrote: > > Hi Frederic, > > Thanks for the tip. I do see that it now creates a zip file, but it > happens to be empty. What is the mojo to get my include files to actually > be zipped up? > > Thanks, > Will > > > On 6/22/07 1:10 AM, "Frederic Simon" <fr...@jf...> wrote: > > By default the flag "deployInclude" is false, so the XXX-include.zip file > are created or downloaded. You can see the configuration params here: > > http://www.jfrog.org/sites/jade-plugins/latest/jade-plugin-parent/jade-build-plugin-parent/jade-native-plugin/compile-mojo.html#deployInclude > > You can also change from zip to jar "* <includesExtension>*jar</* > includesExtension>*". > And if you have many modules dependant from one another (reactor > projects), it's faster to use a global *includesRootDir* for the whole > project. This is the directory where all XX-include.zip will be extracted. > So instead of extracting all the zip files for each module, the extract > happens only once. > > Hope it helps, and thanks for using jade-plugins. > > On 6/22/07, *Will McKinley* <wmc...@ci...> wrote: > > Hi all, > > I was wondering when the zip file containing all the h files gets created? > I'm attempting to use this plugin to compile a native library to share > with > other projects, and when I execute 'mvn install' I see the dll get > created, > but the zip file is missing. > > Your help is greatly appreciated. > > -Will McKinley > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > <http://sourceforge.net/powerbar/db2/><http://sourceforge.net/powerbar/db2/> > _______________________________________________ > Jade-plugins-users mailing list > Jad...@li... > https://lists.sourceforge.net/lists/listinfo/jade-plugins-users > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Jade-plugins-users mailing list > Jad...@li... > https://lists.sourceforge.net/lists/listinfo/jade-plugins-users > > -- "CapsLock Key is like rear mirrors in BMW! Who needs them?" freddy33 |