[
https://jira.jboss.org/browse/SHRINKDESC-19?page=com.atlassian.jira.plugi...
]
Aslak Knutsen commented on SHRINKDESC-19:
-----------------------------------------
The hope was that the Descriptor / ShrinkWrap integration would know the default location
so you wouldn't have to specify it at all(unless you want it in some 'new'
location)..
ish:
WebArchive.addDescriptor(Descriptor) {
add(new NamedDescriptorAsset(descriptor, descriptor.getLocation()))
}
Provide constants (or enums) for standard names & locations of
descriptors
--------------------------------------------------------------------------
Key: SHRINKDESC-19
URL:
https://jira.jboss.org/browse/SHRINKDESC-19
Project: ShrinkWrap Descriptors
Issue Type: Feature Request
Components: api
Affects Versions: 1.0.0-alpha-1
Reporter: Dan Allen
The ShrinkWrap Descriptors project would be the perfect API to provide constants (or
enums) for standard names and locations of Java EE (or other) descriptors. That way, we
can stop writing "beans.xml" / "META-INF/beans.xml" and
"web.xml" / "WEB-INF/web.xml" over and over and over again.
e.g.,
http://www.google.com/codesearch?hl=en&start=10&sa=N&q=%22WEB...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira