gerhard, Thanks for your response. I ran that project and I see errors like these in the log: WARNING: Ignoring class [org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter$1] because it could not be loaded: java.lang.NoClassDefFoundError: org/apache/myfaces/mc/test/core/runner/MyFacesContainer.
So this setup doesn't exclude the JSF support, it just works despite the exceptions. I have idea why, but these exceptions are causing some of my beans not to load. When I use my hacked deltaspike-test-control-module-impl-1.0.3.jar, everything works fine. Allen On Thu, Oct 30, 2014 at 1:10 PM, Gerhard Petracek < [email protected]> wrote: > hi allen, > > you don't need to disable something here. > please compare your setup e.g. with [1]. > > regards, > gerhard > > [1] *https://github.com/os890/javase-cdi-ds-project-template > <https://github.com/os890/javase-cdi-ds-project-template>* > > http://www.irian.at > > Your JavaEE powerhouse - > JavaEE Consulting, Development and > Courses in English and German > > Professional Support for Apache > MyFaces, DeltaSpike and OpenWebBeans > > > > 2014-10-30 18:55 GMT+01:00 Allen Cunningham <[email protected]>: > > > I'm using DeltaSpike in a non-web SE application (no servlet) and I would > > like to use the Test Control module. However, I have exceptions related > to > > loading MyFaces classes. I know this has already been discussed, but I am > > unclear on how to remove the MyFaces dependencies. I read this statement: > > "everything else is optional -> it only depends on your project-setup" > > from gerhard, but I have not been able to figure out how to disable the > > MyFaces beans. > > I have been able to work around this by hacking the impl jar and removing > > the org.apache.deltaspike.testcontrol.impl.jsf package, but I would > prefer > > something cleaner. > > > > Thanks, > > Allen > > >
