[JBoss JIRA] (ROASTER-17) Generated code is not properly indented
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-17?page=com.atlassian.jira.plugin... ]
George Gastaldi closed ROASTER-17.
----------------------------------
Resolution: Done
There was a conflicting formatter file that didn´t match the shaded JAR.
> Generated code is not properly indented
> ---------------------------------------
>
> Key: ROASTER-17
> URL: https://issues.jboss.org/browse/ROASTER-17
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.5.1.Final
>
>
> *The affected version is 2.5.1-SNAPSHOT*. I noticed a regression in 2.5.1-SNAPSHOT.
> I create an Entity and an EJB :
> {code}
> [temp]$ project-new --named proj251
> [proj251]$ jpa-new-entity --named MyEntity
> [MyEntity.java]$ ejb-new-bean --named MyService
> {code}
> If I run this script in 2.5.0 the generated code is well indented. Here for the entity :
> {code}
> import java.lang.Override;
> @Entity
> public class MyEntity implements Serializable
> {code}
> And for the EJB :
> {code}
> import java.io.Serializable;
> @Stateless
> @LocalBean
> public class MyService implements Serializable
> {code}
> But when I do that with 2.5.1-SNAPSHOT, the class annotation is not right :
> {code}
> import java.lang.Override;@Entity
> public class MyEntity implements Serializable {
> {code}
> And
> {code}
> import java.io.Serializable;@Stateless
> @LocalBean
> public class MyService implements Serializable {
> {code}
> I haven't tried with all the other artifacts, I'm wondering if it's on all the generated code or not
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ROASTER-17) Generated code is not properly indented
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-17?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-17:
-----------------------------------
Fix Version/s: 2.5.1.Final
> Generated code is not properly indented
> ---------------------------------------
>
> Key: ROASTER-17
> URL: https://issues.jboss.org/browse/ROASTER-17
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.5.1.Final
>
>
> *The affected version is 2.5.1-SNAPSHOT*. I noticed a regression in 2.5.1-SNAPSHOT.
> I create an Entity and an EJB :
> {code}
> [temp]$ project-new --named proj251
> [proj251]$ jpa-new-entity --named MyEntity
> [MyEntity.java]$ ejb-new-bean --named MyService
> {code}
> If I run this script in 2.5.0 the generated code is well indented. Here for the entity :
> {code}
> import java.lang.Override;
> @Entity
> public class MyEntity implements Serializable
> {code}
> And for the EJB :
> {code}
> import java.io.Serializable;
> @Stateless
> @LocalBean
> public class MyService implements Serializable
> {code}
> But when I do that with 2.5.1-SNAPSHOT, the class annotation is not right :
> {code}
> import java.lang.Override;@Entity
> public class MyEntity implements Serializable {
> {code}
> And
> {code}
> import java.io.Serializable;@Stateless
> @LocalBean
> public class MyService implements Serializable {
> {code}
> I haven't tried with all the other artifacts, I'm wondering if it's on all the generated code or not
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ROASTER-17) Generated code is not properly indented
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-17?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-17:
-----------------------------------
Fix Version/s: (was: 2.x Future)
> Generated code is not properly indented
> ---------------------------------------
>
> Key: ROASTER-17
> URL: https://issues.jboss.org/browse/ROASTER-17
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
>
> *The affected version is 2.5.1-SNAPSHOT*. I noticed a regression in 2.5.1-SNAPSHOT.
> I create an Entity and an EJB :
> {code}
> [temp]$ project-new --named proj251
> [proj251]$ jpa-new-entity --named MyEntity
> [MyEntity.java]$ ejb-new-bean --named MyService
> {code}
> If I run this script in 2.5.0 the generated code is well indented. Here for the entity :
> {code}
> import java.lang.Override;
> @Entity
> public class MyEntity implements Serializable
> {code}
> And for the EJB :
> {code}
> import java.io.Serializable;
> @Stateless
> @LocalBean
> public class MyService implements Serializable
> {code}
> But when I do that with 2.5.1-SNAPSHOT, the class annotation is not right :
> {code}
> import java.lang.Override;@Entity
> public class MyEntity implements Serializable {
> {code}
> And
> {code}
> import java.io.Serializable;@Stateless
> @LocalBean
> public class MyService implements Serializable {
> {code}
> I haven't tried with all the other artifacts, I'm wondering if it's on all the generated code or not
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1864) Generated code is not properly indented
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1864:
--------------------------------------
Summary: Generated code is not properly indented
Key: FORGE-1864
URL: https://issues.jboss.org/browse/FORGE-1864
Project: Forge
Issue Type: Enhancement
Components: Java EE
Affects Versions: 2.6.0.Final
Reporter: Antonio Goncalves
Assignee: George Gastaldi
Fix For: 2.x Future
*The affected version is 2.5.1-SNAPSHOT*. I noticed a regression in 2.5.1-SNAPSHOT.
I create an Entity and an EJB :
{code}
[temp]$ project-new --named proj251
[proj251]$ jpa-new-entity --named MyEntity
[MyEntity.java]$ ejb-new-bean --named MyService
{code}
If I run this script in 2.5.0 the generated code is well indented. Here for the entity :
{code}
import java.lang.Override;
@Entity
public class MyEntity implements Serializable
{code}
And for the EJB :
{code}
import java.io.Serializable;
@Stateless
@LocalBean
public class MyService implements Serializable
{code}
But when I do that with 2.5.1-SNAPSHOT, the class annotation is not right :
{code}
import java.lang.Override;@Entity
public class MyEntity implements Serializable {
{code}
And
{code}
import java.io.Serializable;@Stateless
@LocalBean
public class MyService implements Serializable {
{code}
I haven't tried with all the other artifacts, I'm wondering if it's on all the generated code or not
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (ROASTER-17) Generated code is not properly indented
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-17?page=com.atlassian.jira.plugin... ]
George Gastaldi moved FORGE-1864 to ROASTER-17:
-----------------------------------------------
Project: Roaster (was: Forge)
Key: ROASTER-17 (was: FORGE-1864)
Issue Type: Bug (was: Enhancement)
Affects Version/s: 2.5.0.Final
(was: 2.6.0.Final)
Component/s: JDT
(was: Java EE)
Fix Version/s: 2.x Future
(was: 2.x Future)
> Generated code is not properly indented
> ---------------------------------------
>
> Key: ROASTER-17
> URL: https://issues.jboss.org/browse/ROASTER-17
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.x Future
>
>
> *The affected version is 2.5.1-SNAPSHOT*. I noticed a regression in 2.5.1-SNAPSHOT.
> I create an Entity and an EJB :
> {code}
> [temp]$ project-new --named proj251
> [proj251]$ jpa-new-entity --named MyEntity
> [MyEntity.java]$ ejb-new-bean --named MyService
> {code}
> If I run this script in 2.5.0 the generated code is well indented. Here for the entity :
> {code}
> import java.lang.Override;
> @Entity
> public class MyEntity implements Serializable
> {code}
> And for the EJB :
> {code}
> import java.io.Serializable;
> @Stateless
> @LocalBean
> public class MyService implements Serializable
> {code}
> But when I do that with 2.5.1-SNAPSHOT, the class annotation is not right :
> {code}
> import java.lang.Override;@Entity
> public class MyEntity implements Serializable {
> {code}
> And
> {code}
> import java.io.Serializable;@Stateless
> @LocalBean
> public class MyService implements Serializable {
> {code}
> I haven't tried with all the other artifacts, I'm wondering if it's on all the generated code or not
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (FORGE-1804) Generated code is not properly indented
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1804?page=com.atlassian.jira.plugin... ]
George Gastaldi reassigned FORGE-1804:
--------------------------------------
Assignee: George Gastaldi
> Generated code is not properly indented
> ---------------------------------------
>
> Key: FORGE-1804
> URL: https://issues.jboss.org/browse/FORGE-1804
> Project: Forge
> Issue Type: Enhancement
> Components: Java EE
> Affects Versions: 2.6.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.x Future
>
> Attachments: win7.png
>
>
> *The affected version is 2.5.1-SNAPSHOT*. I noticed a regression in 2.5.1-SNAPSHOT.
> I create an Entity and an EJB :
> {code}
> [temp]$ project-new --named proj251
> [proj251]$ jpa-new-entity --named MyEntity
> [MyEntity.java]$ ejb-new-bean --named MyService
> {code}
> If I run this script in 2.5.0 the generated code is well indented. Here for the entity :
> {code}
> import java.lang.Override;
> @Entity
> public class MyEntity implements Serializable
> {code}
> And for the EJB :
> {code}
> import java.io.Serializable;
> @Stateless
> @LocalBean
> public class MyService implements Serializable
> {code}
> But when I do that with 2.5.1-SNAPSHOT, the class annotation is not right :
> {code}
> import java.lang.Override;@Entity
> public class MyEntity implements Serializable {
> {code}
> And
> {code}
> import java.io.Serializable;@Stateless
> @LocalBean
> public class MyService implements Serializable {
> {code}
> I haven't tried with all the other artifacts, I'm wondering if it's on all the generated code or not
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months