[
https://issues.apache.org/jira/browse/BUILDR-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Victor Hugo Borja updated BUILDR-26:
------------------------------------
Attachment: 0002-EAR-packaging-additions.patch
[PATCH] 0002-EAR-packaging-additions.patch
EAR packaging additions:
- Modified Project#packages to take a list of package filters
renamed :type option to :as, adding components to EAR is more natural.
# Add all jars produced by remoteInterfaces as ejbs on the EAR
package(:ear).add project('remoteInterfaces').packages(:type => :jar),
:as => :ejb
- Modified packaging.textile to add more examples using the new packages
selectors
- push became an alias for the add method.
- Multiple component types can be added at once using type=>component
mapping style:
package(:ear).add :war => project('coolWebservice').package(:war),
:ejb => projects('fooInterface', 'barInterface') # add
jars produced by both projects as EJBs
- Added more EAR spec examples
> Ear Packaging improvements
> --------------------------
>
> Key: BUILDR-26
> URL: https://issues.apache.org/jira/browse/BUILDR-26
> Project: Buildr
> Issue Type: Improvement
> Components: Packaging
> Affects Versions: 1.3
> Reporter: Victor Hugo Borja
> Priority: Minor
> Fix For: 1.3
>
> Attachments:
> 0001-Fixed-ZipTask-to-pass-Buildr-Packaging-war-should.patch,
> 0002-EAR-packaging-additions.patch,
> 0003-Made-each-EAR-components-classpath-relative-to-the.patch
>
>
> Improvements on EAR package DSL, also fixed Class-Path generated entries
> according to the Jar specification at
> http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.