Update MetaWidget dependencies to not bring in metawidget-all
Project: Seam Forge
Issue Type: Task
Reporter: Andrew Rubinger
Fix For: 1.0.0.Alpha4
We don't need MetaWidget-all, which will also bring in Spring core classes (breaking in AS7 deployments).
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
I am trying to use seam-render in my plugin, for classes such as
TemplateCompiler. However, when I include it in the project and try to
build the plugin in Forge, I get a strange ResourceLoadingException
which suggests that the class is not being found. Can anyone shed some
light on this problem?
So, I've been back working on Forge Core -- scripting and internal API improvements. One thing that upset me was that Forge lacked a sub-buffering facility for console output, so you could intercept console output and do fun stuff like add a status bar. Well, Forge has this limitation no longer -- at least not in my branch (https://github.com/mikebrock/core)
Haven't pushed the changes upstream, mainly because I don't know if they break JBoss Tools or not -- pretty sure they don't break anything else.
Anyways, here's my first demo plugin that takes advantage of these new features in the shell API: https://github.com/mikebrock/core
Is this a good idea? (I have an opinion, but want to hear others.)
----- Original Message -----
From: "Jonathan Fuerth" <jfuerth(a)redhat.com>
To: "Rodney Russ" <rruss(a)redhat.com>
Cc: "Lincoln Baxter" <lbaxter(a)redhat.com>, "Xavier Coulon" <xcoulon(a)redhat.com>
Sent: Tuesday, November 22, 2011 2:13:06 PM
Subject: Re: JPA review on Forge reverse engineering
I have loads of Java-and-SQL experience and a bit of Hibernate from way-back-when. I've only played briefly with JPA (in the context of a Google App Engine project in my spare time.)
I'd be happy to discuss stuff with Lincoln if he'd like my input from this perspective!
----- Original Message -----
From: "Rodney Russ" <rruss(a)redhat.com>
To: "Jonathan Fuerth" <jfuerth(a)redhat.com>, "Xavier Coulon" <xcoulon(a)redhat.com>
Cc: "Lincoln Baxter" <lbaxter(a)redhat.com>
Sent: Monday, November 14, 2011 3:55:51 PM
Subject: JPA review on Forge reverse engineering
Hey Jonathan and Xavier,
I'm pinging you guys because Lincoln is looking for someone with practical (pragmatic) JPA experience from the real world. You guys are the last ones on the team to come from developer shops and have the best chance at still being able to think like a developer. :)
Do you guys have enough JPA experience that you could work with Lincoln on reviewing what the reverse engineering functionality in Forge provides?
I get about 60 lines of the following debug output (snipped for brevity) when starting Forge with one of our plugins installed. The plugin works just fine after this error is reported. My guess is that this is really just a harmless discovery error, but it looks pretty ugly from a user standpoint. Is there an option/setting for disabling or redirecting this output? FWIW, the class mentioned in the stack trace is present within the module.
2011-11-23 20:56:37 ClassLoading [DEBUG] WELD-000119 Not generating any bean definitions from org.switchyard.component.bpm.config.model.v1.V1ProcessActionModel because of underlying class loading error
2011-11-23 20:56:37 ClassLoading [DEBUG] catching
org.jboss.weld.resources.spi.ResourceLoadingException: java.lang.NoClassDefFoundError: org/switchyard/component/bpm/common/ProcessActionType
Caused by: java.lang.NoClassDefFoundError: org/switchyard/component/bpm/common/ProcessActionType
at java.lang.Class.getDeclaredMethods0(Native Method)
... 7 more
Caused by: java.lang.ClassNotFoundException: org.switchyard.component.bpm.common.ProcessActionType from [Module "org.switchyard.switchyard-forge-plugin:0.3.0-SNAPSHOT" from local module loader @2bb5340c (roots: /opt/forge-1.0.0.Beta3/modules,/Users/kbabo/.forge/plugins)]
... 11 more
While refactoring a bunch of the UI scaffolding code, I seem to have broken the bit where it injects...
...into the generated pom.xml. It is still building the URLRewriteConfiguration.java, but the overall project won't build because of missing imports.
Where should I look to fix this bit?
Copying forge-dev so everyone can give thoughts. We (I) really need to get
the website up with the tutorials so things like this are more
If you use the built-in "new-plugin" command, you get the POM creation
stuff for free. I don't see a reason to duplicate that. It'll basically
just give you a java maven project, which can then be customized using the
DependencyFacet, and other facets like JavaSourceFacet.
Mostly we don't assume we need to create projects, because we just operate
on a "new-project" or any other existing project.
For examples of this, take a look at the javaee-impl/ module in the forge
core/ project on GitHub. This is a pretty comprehensive example of the
intended architecture (facets to abstract functionality away from the
project, then plugins to interact with the facets.)
Glad to see this! Looking forward to doing some spring stuff!
On Mon, Nov 14, 2011 at 10:52 PM, Ryan Bradley <rbradley(a)redhat.com> wrote:
> Hi Lincoln,
> I'm not sure if you remember, but Marius introduced us at the JBoss
> face-to-face meeting in Toronto a few months ago. I've just started
> working on a Forge plugin that can be used to create Spring web
> However, Marius doesn't have much experience with the Forge API, so I was
> wondering if I could ask you a question. I was wondering how I could use
> Forge to create and edit new files. For example, when the user creates a
> new project, the plugin should create files such as a POM for the web app.
> If there's a simple answer, or a good spot to look within the Forge core,
> that would be much appreciated.
Lincoln Baxter, III
"Keep it Simple"