[
https://issues.apache.org/jira/browse/BUILDR-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Victor Hugo Borja updated BUILDR-46:
------------------------------------
Attachment: packaging-types-sample-project.tgz
Attachment: packaging-types-sample-project.tgz
The tar archive includes two buildfiles with examples of how I'm using the
PackagingType feature.
buildfile.pkgtypes - Creates what I called "api" packages, containing only
interfaces / abstract classes. I made this mostly because I wanted a _single_
project to produce a jar with public interfaces and another with the
implementations.
Shows how to add funtionallity to
predefined packaing-types like :jar.
I use api packages as dependencies on
other projects.
buildfile.ejbdoclet - Create an "ejb" packagingType. This example shows a
reusable XDocletPackage, currently I'm using it for ejbdoclet, but It may be
easy to use it for other xdoclet needs.
> PackagingType
> --------------
>
> Key: BUILDR-46
> URL: https://issues.apache.org/jira/browse/BUILDR-46
> Project: Buildr
> Issue Type: New Feature
> Components: Packaging
> Affects Versions: 1.3
> Reporter: Victor Hugo Borja
> Priority: Minor
> Fix For: 1.3
>
> Attachments:
> 0001-PackagingType-allows-user-to-override-and-create-cus.patch,
> packaging-types-sample-project.tgz
>
>
> PackagingType allows user to override and create custom packaging types that
> can be inherited throught project hierarchies.
> An example buildfile is embedded in the patch comments. See the documentation
> for the PackagingType class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.