Hey Thomas!
Welcome!
We intentionally block this module because there should not be direct
access to the implementation classes. I know that the current Scaffold API
is very limited, but I think that in most cases, we can add SPIs and
extension points in order to give you access to what you need.
We can try to figure out a non-impl specific way to do this depending on
what you need. Otherwise we could consider exposing the impl, but I think
that should be a last resort.
What is it that you are trying to access in the impl, and why?
Cheers!
~Lincoln
On Sat, Feb 11, 2012 at 12:06 PM, Thomas Frühbeck <fruehbeck(a)aon.at> wrote:
Hi,
I am working on a plugin extending for the Faces scaffold. I want to
reference classes of the existing forge-scaffold-faces plugin.
Compilation and testing works so far in Netbeans / Maven.
Unfortunately when loading the module via "forge source-plugin" not all
dependencies are detected and written to module.xml.
I need the dependency to scaffold.impl too:
<module name="org.jboss.forge.scaffold.impl"
services="import"/>
I find the following:
<module xmlns="urn:jboss:module:1.0"
name="at.tfr.forge.forge-scaffold-faces-id-aware"
slot="1.0.0-SNAPSHOT-411d1fc6-b52d-42c5-9518-773a6d759dbe">
<resources>
<resource-root path="forge-scaffold-faces-id-aware.jar"/>
</resources>
<dependencies>
<module name="at.tfr.forge.forge-scaffold-faces-id-aware.dependencies"
slot="1.0.0-SNAPSHOT-411d1fc6-b52d-42c5-9518-773a6d759dbe"/>
<module name="org.jboss.forge.javaee.api" services="import"/>
<module name="org.jboss.forge.maven.api" services="import"/>
<module name="org.jboss.forge.scaffold.api"
services="import"/>
<module name="org.jboss.forge.shell.api" services="import"/>
<module name="org.jboss.seam.render" services="import"/>
<module name="javax.api"/>
</dependencies>
</module>
If I add the dependency manually after installation, everything works.
I just cant find the problem :-/
Regards,
Thomas
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"