[JBoss JIRA] (FORGE-212) Classload dependencies of current project when performing certain operations
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-212?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-212:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Classload dependencies of current project when performing certain operations
> -----------------------------------------------------------------------------
>
> Key: FORGE-212
> URL: https://issues.jboss.org/browse/FORGE-212
> Project: Forge
> Issue Type: Feature Request
> Components: Maven Integration, Parsers / File Manipulation, Plugin API
> Affects Versions: 1.0.0.Alpha3
> Reporter: wiktorowski maximilien
> Priority: Minor
> Fix For: 2.0.0.Alpha3
>
>
> "Generating crud views for entities located into an external jar is a use case i'd like to see implemented in forge.
> In my case i have a model.jar containing my entities and an admin.war generated with seam forge. I'd like to use from-entity to generate scaffolding views in admin.war for the entities located in model.jar"
> This means that Forge will need to classload dependencies of the target project in order to perform reflection-based generation. This may also require a reflection-based meta-model such as what was done with Errai/GWT.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-379) Add user profiles
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-379?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-379:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Add user profiles
> -----------------
>
> Key: FORGE-379
> URL: https://issues.jboss.org/browse/FORGE-379
> Project: Forge
> Issue Type: Feature Request
> Components: Usability
> Affects Versions: 1.0.0.Beta3
> Reporter: Pete Muir
> Fix For: 2.0.0.Alpha3
>
>
> At the moment Forge assumes that every user needs the same level of hand-holding. This means that advanced users are shortchanged (as they want more control) and newbies can get lost. Introducing a number of user profiles (e.g. newbie, intermediate, god) could help here. For example, if in newbie mode, the faces plugin wouldn't ask if you wanted to change from jar -> war packaging, assuming that the person does...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-378) Add "environments" as a first class construct
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-378?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-378:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Add "environments" as a first class construct
> ---------------------------------------------
>
> Key: FORGE-378
> URL: https://issues.jboss.org/browse/FORGE-378
> Project: Forge
> Issue Type: Feature Request
> Components: UI - Shell, Usability
> Reporter: Pete Muir
> Fix For: 2.0.0.Alpha3
>
>
> For example:
> {code}
> set environment JBOSS_AS7 --version 7.1.0.Final
> {code}
> Where JBOSS_AS7 is a built in profile that contains necessary info on various versions of JBoss AS 7.
> For example, the persistence plugin could read from this, changing
> {code}
> persistence setup --provider HIBERNATE --container JBOSS_AS7
> {code}
> to
> {code}
> persistence setup
> {code}
> Or, when setting up CDI, this would remove the need to ask ask which API to use (always use the Java EE BOM with JBoss AS), and as the metadata builds, remove the need to ask the version of the spec BOM to use.
> Lot's of other places where this could provide better defaulting, or remove the need to ask questions.
> This also seems fairly consistent with the Forge approach - good understanding of the project in question.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-479) Implement @CommandScoped to enable Plugin - Facet communication
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-479?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-479:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> Implement @CommandScoped to enable Plugin - Facet communication
> ---------------------------------------------------------------
>
> Key: FORGE-479
> URL: https://issues.jboss.org/browse/FORGE-479
> Project: Forge
> Issue Type: Feature Request
> Components: Plugin API
> Affects Versions: 1.0.0.CR2
> Reporter: Lincoln Baxter III
> Fix For: 2.0.0.Alpha3
>
>
> (05:04:44 PM) Lincoln: i want to implement @CommandScoped
> (05:04:46 PM) Lincoln: that would be nice
> (05:04:49 PM) Lincoln: and not hard to do actually
> (05:05:00 PM) Lincoln: actually, is that there?
> (05:05:13 PM) Paul Bakker: no
> (05:05:17 PM) Paul Bakker: but good idea
> (05:05:54 PM) Lincoln: easy to tie into the command execution lifecycle
> (05:06:01 PM) Lincoln: would be nice to add extension points there as well
> (05:06:04 PM) Lincoln: could be helpful for plugins
> (05:06:09 PM) Lincoln: before/after command
> (05:06:47 PM) Paul Bakker: yes should really do this, very helpful I think for plugin/facet communication
> (05:07:03 PM) Lincoln: yeah that could be a recommended pattern actually
> (05:07:11 PM) Lincoln: if it works well
> (05:07:21 PM) Paul Bakker: yep
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (FORGE-424) JavaParser does not understand wildcard imports like "javax.persistence.*"
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-424?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-424:
----------------------------------
Fix Version/s: 2.0.0.Alpha3
(was: 2.0.0.Alpha2)
> JavaParser does not understand wildcard imports like "javax.persistence.*"
> --------------------------------------------------------------------------
>
> Key: FORGE-424
> URL: https://issues.jboss.org/browse/FORGE-424
> Project: Forge
> Issue Type: Technical task
> Components: Parsers / File Manipulation
> Affects Versions: 1.1.0.Final
> Reporter: Lincoln Baxter III
> Fix For: 2.0.0.Alpha3
>
>
> The JavaParser Annotation.getQualifiedName() will return "Column" instead of "javax.persistence.Column" for the following example class scenario. It should be able to understand the wildcard, given the proper metadata:
> {code}package demo.entities;
> import javax.persistence.*;
> @Entity
> public class Contact implements java.io.Serializable {
> @Id
> private @GeneratedValue(strategy = GenerationType.AUTO)
> @Column(name = "id", updatable = false, nullable = false)
> Long id = null;
> @Version
> private @Column(name = "version")
> int version = 0;
> public Long getId() {
> return this.id;
> }
> public void setId(final Long id) {
> this.id = id;
> }
> public int getVersion() {
> return this.version;
> }
> public void setVersion(final int version) {
> this.version = version;
> }
> @Override
> public boolean equals(Object that) {
> if (this == that) {
> return true;
> }
> if (that == null) {
> return false;
> }
> if (getClass() != that.getClass()) {
> return false;
> }
> if (id != null) {
> return id.equals(((Contact) that).id);
> }
> return super.equals(that);
> }
> @Override
> public int hashCode() {
> if (id != null) {
> return id.hashCode();
> }
> return super.hashCode();
> }
> private String name;
> public String getName() {
> return this.name;
> }
> public void setName(final String name) {
> this.name = name;
> }
> public String toString() {
> return "" + name;
> }
> }{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months