[forge-dev] Control Weld classpath scanning during Arquillian unit tests?

Lincoln Baxter, III lincolnbaxter at gmail.com
Fri Nov 18 03:45:02 EST 2011

Hmmm. Is it the scanning you need to prevent, or will the @Veto or
@Requires annotations suffice?


PS. Haven't had a chance to sit down and work on your issues yet, really
sorry if this is holding you up. I just haven't had a chance to breathe
this week!

On Wed, Nov 16, 2011 at 11:34 PM, Richard Kennard <
richard at kennardconsulting.com> wrote:

> Hi guys,
> I've hit a problem related to an interaction of Arquillian, Weld and
> Metawidget. It could probably be fixed in any one of those, and I will
> endaveour to
> fix it in Metawidget in the future, but for now I need a workaround.
> Basically, I need to exclude 'org.jboss.forge.scaffold.faces.metawidget'
> from the Weld scanning during Arquillian unit testing. Where should I do
> that? I
> tried modifying
> /forge/scaffold-faces/src/main/resources/META-INF/beans.xml but I think
> that's the beans.xml that gets built into the app that Forge
> generates, *not* the beans.xml that controls the Arquillian unit testing?
> Regards,
> Richard.
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev

Lincoln Baxter, III
"Keep it Simple"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20111118/981db6b1/attachment.html 

More information about the forge-dev mailing list