[JBoss JIRA] Created: (SEAMFORGE-173) Field plugin should work on bean classes
by Dan Allen (JIRA)
Field plugin should work on bean classes
----------------------------------------
Key: SEAMFORGE-173
URL: https://issues.jboss.org/browse/SEAMFORGE-173
Project: Seam Forge
Issue Type: Feature Request
Components: Blessed Plugins
Affects Versions: 1.0.0.Alpha3
Reporter: Dan Allen
The field plugin should be available for any Java bean class. Adding the field would add the associated getters and setters (or prompt for which ones to create).
It should also be possible to add getters and setters for a field (or all fields) after the fact.
We should also support creating a constructor from fields.
This feature would drastically speed up prototyping coding (without having an IDE handy).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Created: (SEAMFORGE-179) An XML document parsed with the Forge XMLParser cannot be exported with XMLParser#toXML if it contains comments
by Kevin Pollet (JIRA)
An XML document parsed with the Forge XMLParser cannot be exported with XMLParser#toXML if it contains comments
---------------------------------------------------------------------------------------------------------------
Key: SEAMFORGE-179
URL: https://issues.jboss.org/browse/SEAMFORGE-179
Project: Seam Forge
Issue Type: Bug
Components: Parsers / File Manipulation
Affects Versions: 1.0.0.Alpha3
Reporter: Kevin Pollet
When the {{XMLParser#parse}} method is called on a stream which contains comments, DOM creates a Node named "#comment" and the corresponding Node is created by Forge parser. After that, when the {{XMLParser#toXML}} method is called on the XML root node an exception is thrown.
At serialization Forge parser tries to create a Node with name "#comment" by using the method {{Document#createElement}} (which is illegal and result in a {{DOMException#INVALID_CHARACTER_ERR}}) instead of calling the method {{Document#createComment}}. IMO, the same problem could happen with others specific nodes.
Maybe Shrinkwrap descriptor project could have the same problem, but it needs further investigations...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
creating "pom" projects
by Tim Pedone
As part of implementing the ability to add dependencies based off the
dependencyManagement section of a parent pom, it would be helpful for
testing purposes (and likely for users as well) to be able to create a
project of type "pom". I copied the NewProjectPlugin and used it to
create a PomProjectPlugin. I removed the Java facet and set the
packaging to "pom"; however, it seems that
ProjectFactory.createProject() calls registerFacet() which attempts to
add every facet (CDI, JEE, etc.) to the project. The CDI facet fails
because the project is not a war or jar. Is that behavior correct
(adding the CDI facet to all projects)?
13 years, 8 months
Unit Test failures
by Tim Pedone
First off, I think Forge is totally cool. So much so, that I'd like
to contribute in some way. So I've forked the repo in GitHub and am
trying to build it but am getting a few unit test failures in
RepositoryLookupTest.testResolveVersions() and a few others. In
stepping through the code, it seems like the Aether code isn't working
properly. I assume this must be something unique to my setup: MacOS
10.6 + JDK 1.6.0_24, Maven 3.0.3, JBoss Dev Studio 4.0. The tests
fail on both the command line and in Dev Studio.
Any ideas?
Thanks,
Tim
13 years, 8 months
going further with AST
by Dan Allen
Lincoln (and others interested),
You may want to take a peak at the presentation from Google I/O 2011 on the
GWT designer. The presenter, who I believe leads the projects, explains how
they use the AST to keep the visual editor and code in sync down to inline
strings in Java code. For one, it shows what is possible with an AST model.
You may also be interested in contact him if you need ideas or hints as to
how to do some of this in forge. It just struck me as something you should
watch.
Google I/O 2011: GWT + UI Designer: Enterprise Web UIs Made Easy!
http://www.youtube.com/watch?v=kV5H3rGfqOE
-Dan
--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://www.google.com/profiles/dan.j.allen#about
http://mojavelinux.com
http://mojavelinux.com/seaminaction
13 years, 8 months