[weld-issues] [JBoss JIRA] Commented: (WELD-521) Introduce a way to exclude classes or packages from scanning
Morten Christensen (JIRA)
jira-events at lists.jboss.org
Sat Jun 5 15:45:25 EDT 2010
[ https://jira.jboss.org/browse/WELD-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12534093#action_12534093 ]
Morten Christensen commented on WELD-521:
-----------------------------------------
Great. I am happy you liked my first try at API design for weld. I am quite used to ANT and ruby so I think if/unless is cleaner but that is not a problem.
I have also thought a bit more about the enable/disable support. I need the static method support myself so I am quite happy with this, but maybe other people would also like an alternative when java system properties can be used instead (it would be trivial to make a static method that resolves to a java system property but some might want to be able to specify a java system property directly ?). What do you think?
> Introduce a way to exclude classes or packages from scanning
> ------------------------------------------------------------
>
> Key: WELD-521
> URL: https://jira.jboss.org/browse/WELD-521
> Project: Weld
> Issue Type: Feature Request
> Components: Bootstrap and Metamodel API
> Environment: Java SE and Java EE + weld
> Reporter: Morten Christensen
> Attachments: weld-se-ee-passifier.jar
>
>
> Better support for dual SE and EE applications. I have some weld-using jar's that can be deployed on a Java EE and work standalone. It is possible to get this to work using both weld SE and weld EE but it is a pain. F.x. when deployed under glassfish weld will fail unless I include a few weld SE dummy classes.... Weld should either combine weld SE and weld EE OR there should at least be some support for having weld ignoring some of my classes/packages depending on which environment it is running under.
--
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
More information about the weld-issues
mailing list