Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3
    • Fix Version/s: 1.5
    • Component/s: Packaging
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Victor Hugo Borja added a comment -

        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.

        Show
        Victor Hugo Borja added a comment - 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.

          People

          • Assignee:
            Unassigned
            Reporter:
            Victor Hugo Borja
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development