[
https://issues.apache.org/jira/browse/BUILDR-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648326#action_12648326
]
Ittay Dror commented on BUILDR-217:
-----------------------------------
yes, as with 'sources', but unless i'm mistaken, the #type method of the
package will return 'jar', not 'osgi'
> separate 'type' from 'extension' in packages
> --------------------------------------------
>
> Key: BUILDR-217
> URL: https://issues.apache.org/jira/browse/BUILDR-217
> Project: Buildr
> Issue Type: Improvement
> Components: Packaging
> Affects Versions: 1.3.2
> Reporter: Ittay Dror
> Fix For: 1.3.4
>
>
> #package currently uses spec[:type] for both the 'type' of the artifact and
> the extension given to the file name.
> but sometimes files with the same extension may be of different types. in
> OSGI for example, the extension is always .jar, but they can be bundles or
> fragements. another example is source jars or zips. their type is 'source',
> regardless of the extension (as long as it is some sort of zip of course).
> in maven, ArtifactHandler separates between extension and 'packaging' i think
> it would be good for buildr to have the same
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.