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?

1 comment
Comment actions Permalink

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>

0

Please sign in to leave a comment.