[
https://issues.jboss.org/browse/SHRINKDESC-133?page=com.atlassian.jira.pl...
]
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