Plugin prepare - how to attach other files.
When preparing a plugin I see it createas a zip and inside there is a plugin jar plus an additional jar dependency I added. How can I distribute other files with my plugin such as readme, liscense.txt and various other HTML, images and supporting files of this type?
Please sign in to leave a comment.
Jonathan
>How can I distribute other files with my plugin such as readme, liscense.txt and various other HTML, images and supporting files of this type?
>
- html and images used by your app/plugin are already copied to the
classpath for you (see Settings.Compiler[resources pattern])
- other files can be placed into the zip the standard way (see below).
Here is a plain and ugly buid file I use to build a plugin zip. Modify
the "_stage" target to include more files/directories.
Alain
]]>
<!
<delete dir="${stage.dir}"/>>]]>
<!
<delete dir="${stage.dir}"/>></target>
</project>