Commit 4d9782a6 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Files in {plugin}/src/include are now part of the jar and {plugin}/lib/**/*.* ...

Files in {plugin}/src/include are now part of the jar and {plugin}/lib/**/*.*  is copied to the same dest of the plugin jar.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@889 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3a4ed3dd
......@@ -744,8 +744,22 @@
<mkdir dir="${plugin.dev.dest.dir}/@{plugin}/target/lib" />
<jar jarfile="${plugin.dev.dest.dir}/@{plugin}/target/lib/plugin-@{plugin}.jar">
<fileset dir="${plugin.dev.dest.dir}/@{plugin}/target/classes" />
<!-- <fileset dir="@{pluginsrc}/@{plugin}/src/include" />-->
</jar>
<available file="@{pluginsrc}/@{plugin}/src/include" type="dir" property="@{plugin}.include.exists" />
<if>
<equals arg1="${@{plugin}.include.exists}" arg2="true" />
<then>
<jar jarfile="${plugin.dev.dest.dir}/@{plugin}/target/lib/plugin-@{plugin}.jar"
update="true">
<fileset dir="@{pluginsrc}/@{plugin}/src/include" includes="**/*.*" />
</jar>
</then>
</if>
<!-- Copy anything in the plugin's lib dir to the target lib dir -->
<copy todir="${plugin.dev.dest.dir}/@{plugin}/target/lib" failonerror="false">
<fileset dir="@{pluginsrc}/@{plugin}/lib" includes="**/*.*" />
</copy>
<!-- JSPC any JSP pages. Do this conditionally as there might not be a web dir. -->
<available property="plugin.@{plugin}.webdocs.available"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment