[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-133) Package documentation

Ralf Battenfeld (JIRA) jira-events at lists.jboss.org
Wed Apr 10 08:03:30 EDT 2013


    [ https://issues.jboss.org/browse/SHRINKDESC-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765875#comment-12765875 ] 

Ralf Battenfeld commented on SHRINKDESC-133:
--------------------------------------------

I implemented the needed interface into the descriptor configuration. It looks like this:

<descriptor>
  ...
  <pathToPackageInfoApi>...</pathToPackageInfoApi>
  <pathToPackageInfoImpl>...</pathToPackageInfoImpl>
  ...
</descriptor>

The logic is:

1) if the filename extension is '.java', then the given file will be copied into the package as 'package-info.java'
2) everything else will be copied as 'package.html'

This allows you to bundle all your default package files in one folder.

Let me know if this doesn't fulfill your requirements.

- Ralf
                
> Package documentation
> ---------------------
>
>                 Key: SHRINKDESC-133
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-133
>             Project: ShrinkWrap Descriptors
>          Issue Type: Feature Request
>          Components: metadata-parser
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: Jesper Pedersen
>            Assignee: Ralf Battenfeld
>
> It would be nice if the metadata-parser had an attribute where the developer could specify a package.html/package-info.java file that would be copied to the generated source located automatically.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list