[JBoss JIRA] (FORGE-2611) Error trying to enter into forge after exit
by Helio Frota (JIRA)
Helio Frota created FORGE-2611:
----------------------------------
Summary: Error trying to enter into forge after exit
Key: FORGE-2611
URL: https://issues.jboss.org/browse/FORGE-2611
Project: Forge
Issue Type: Bug
Environment: [hesilva@hulk ~]$ java -version
openjdk version "1.8.0_72"
OpenJDK Runtime Environment (build 1.8.0_72-b16)
Reporter: Helio Frota
[poc_wfs_startup]$ exit
[hesilva@hulk poc_startup_wfs]$
[hesilva@hulk poc_startup_wfs]$ forge
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Using Forge at /home/hesilva/forge/forge-distribution-3.0.0.Alpha3
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1166)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (FORGE-2609) Upgrade to Roaster 2.18.3.Final
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2609:
--------------------------------------
Summary: Upgrade to Roaster 2.18.3.Final
Key: FORGE-2609
URL: https://issues.jboss.org/browse/FORGE-2609
Project: Forge
Issue Type: Component Upgrade
Components: Parsers / File Manipulation
Affects Versions: 3.0.0.CR1
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 3.0.0.CR2
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ROASTER-96) Creating new Java class should have empty line after java imports
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-96?page=com.atlassian.jira.plugin... ]
George Gastaldi closed ROASTER-96.
----------------------------------
Fix Version/s: 2.18.3.Final
(was: 2.x Future)
Assignee: George Gastaldi
Resolution: Done
> Creating new Java class should have empty line after java imports
> -----------------------------------------------------------------
>
> Key: ROASTER-96
> URL: https://issues.jboss.org/browse/ROASTER-96
> Project: Roaster
> Issue Type: Enhancement
> Components: Formatter, JDT
> Affects Versions: 2.18.2.Final
> Reporter: Claus Ibsen
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 2.18.3.Final
>
>
> I have a forge addon that creates a new java class using a wizard. An example of the generated code is below
> {code}
> [foo]$ cat src/main/java/org/foo/MyValidatorComponentFactory.java
> package org.foo;
> import org.springframework.beans.factory.config.BeanDefinition;
> import org.springframework.beans.factory.annotation.Qualifier;
> import org.springframework.context.annotation.Bean;
> import org.springframework.context.annotation.Scope;
> import org.springframework.stereotype.Component;
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> @Qualifier("validator")
> @Bean
> @Scope(BeanDefinition.SCOPE_SINGLETON)
> public ValidatorComponent createMyValidatorComponent() throws Exception {
> ValidatorComponent component = new ValidatorComponent();
> return component;
> }
> }
> {code}
> Notice how there is no empty line between the java imports and the class singnature. It would be great if forge could do this automatic, eg
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> Should be
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> This is the code that generates that source
> https://github.com/fabric8io/fabric8-forge/blob/master/addons/camel/src/m...
> PS: We have similar for generating code in CDI style instead of spring style.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ROASTER-96) Creating new Java class should have empty line after java imports
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-96?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-96:
-----------------------------------
Fix Version/s: 2.x Future
> Creating new Java class should have empty line after java imports
> -----------------------------------------------------------------
>
> Key: ROASTER-96
> URL: https://issues.jboss.org/browse/ROASTER-96
> Project: Roaster
> Issue Type: Enhancement
> Components: Formatter, JDT
> Affects Versions: 2.18.2.Final
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 2.x Future
>
>
> I have a forge addon that creates a new java class using a wizard. An example of the generated code is below
> {code}
> [foo]$ cat src/main/java/org/foo/MyValidatorComponentFactory.java
> package org.foo;
> import org.springframework.beans.factory.config.BeanDefinition;
> import org.springframework.beans.factory.annotation.Qualifier;
> import org.springframework.context.annotation.Bean;
> import org.springframework.context.annotation.Scope;
> import org.springframework.stereotype.Component;
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> @Qualifier("validator")
> @Bean
> @Scope(BeanDefinition.SCOPE_SINGLETON)
> public ValidatorComponent createMyValidatorComponent() throws Exception {
> ValidatorComponent component = new ValidatorComponent();
> return component;
> }
> }
> {code}
> Notice how there is no empty line between the java imports and the class singnature. It would be great if forge could do this automatic, eg
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> Should be
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> This is the code that generates that source
> https://github.com/fabric8io/fabric8-forge/blob/master/addons/camel/src/m...
> PS: We have similar for generating code in CDI style instead of spring style.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ROASTER-96) Creating new Java class should have empty line after java imports
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-96?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-96:
-----------------------------------
Component/s: Formatter
JDT
> Creating new Java class should have empty line after java imports
> -----------------------------------------------------------------
>
> Key: ROASTER-96
> URL: https://issues.jboss.org/browse/ROASTER-96
> Project: Roaster
> Issue Type: Enhancement
> Components: Formatter, JDT
> Affects Versions: 2.18.2.Final
> Reporter: Claus Ibsen
> Priority: Minor
>
> I have a forge addon that creates a new java class using a wizard. An example of the generated code is below
> {code}
> [foo]$ cat src/main/java/org/foo/MyValidatorComponentFactory.java
> package org.foo;
> import org.springframework.beans.factory.config.BeanDefinition;
> import org.springframework.beans.factory.annotation.Qualifier;
> import org.springframework.context.annotation.Bean;
> import org.springframework.context.annotation.Scope;
> import org.springframework.stereotype.Component;
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> @Qualifier("validator")
> @Bean
> @Scope(BeanDefinition.SCOPE_SINGLETON)
> public ValidatorComponent createMyValidatorComponent() throws Exception {
> ValidatorComponent component = new ValidatorComponent();
> return component;
> }
> }
> {code}
> Notice how there is no empty line between the java imports and the class singnature. It would be great if forge could do this automatic, eg
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> Should be
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> This is the code that generates that source
> https://github.com/fabric8io/fabric8-forge/blob/master/addons/camel/src/m...
> PS: We have similar for generating code in CDI style instead of spring style.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ROASTER-96) Creating new Java class should have empty line after java imports
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-96?page=com.atlassian.jira.plugin... ]
George Gastaldi moved FORGE-2608 to ROASTER-96:
-----------------------------------------------
Project: Roaster (was: Forge)
Key: ROASTER-96 (was: FORGE-2608)
Affects Version/s: 2.18.2.Final
(was: 3.0.0.CR1)
> Creating new Java class should have empty line after java imports
> -----------------------------------------------------------------
>
> Key: ROASTER-96
> URL: https://issues.jboss.org/browse/ROASTER-96
> Project: Roaster
> Issue Type: Enhancement
> Affects Versions: 2.18.2.Final
> Reporter: Claus Ibsen
> Priority: Minor
>
> I have a forge addon that creates a new java class using a wizard. An example of the generated code is below
> {code}
> [foo]$ cat src/main/java/org/foo/MyValidatorComponentFactory.java
> package org.foo;
> import org.springframework.beans.factory.config.BeanDefinition;
> import org.springframework.beans.factory.annotation.Qualifier;
> import org.springframework.context.annotation.Bean;
> import org.springframework.context.annotation.Scope;
> import org.springframework.stereotype.Component;
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> @Qualifier("validator")
> @Bean
> @Scope(BeanDefinition.SCOPE_SINGLETON)
> public ValidatorComponent createMyValidatorComponent() throws Exception {
> ValidatorComponent component = new ValidatorComponent();
> return component;
> }
> }
> {code}
> Notice how there is no empty line between the java imports and the class singnature. It would be great if forge could do this automatic, eg
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> Should be
> {code}
> import org.apache.camel.component.validator.ValidatorComponent;
> @Component
> public class MyValidatorComponentFactory {
> {code}
> This is the code that generates that source
> https://github.com/fabric8io/fabric8-forge/blob/master/addons/camel/src/m...
> PS: We have similar for generating code in CDI style instead of spring style.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (FORGE-2608) Creating new Java class should have empty line after java imports
by Claus Ibsen (JIRA)
Claus Ibsen created FORGE-2608:
----------------------------------
Summary: Creating new Java class should have empty line after java imports
Key: FORGE-2608
URL: https://issues.jboss.org/browse/FORGE-2608
Project: Forge
Issue Type: Enhancement
Affects Versions: 3.0.0.CR1
Reporter: Claus Ibsen
Priority: Minor
I have a forge addon that creates a new java class using a wizard. An example of the generated code is below
{code}
[foo]$ cat src/main/java/org/foo/MyValidatorComponentFactory.java
package org.foo;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.apache.camel.component.validator.ValidatorComponent;
@Component
public class MyValidatorComponentFactory {
@Qualifier("validator")
@Bean
@Scope(BeanDefinition.SCOPE_SINGLETON)
public ValidatorComponent createMyValidatorComponent() throws Exception {
ValidatorComponent component = new ValidatorComponent();
return component;
}
}
{code}
Notice how there is no empty line between the java imports and the class singnature. It would be great if forge could do this automatic, eg
{code}
import org.apache.camel.component.validator.ValidatorComponent;
@Component
public class MyValidatorComponentFactory {
{code}
Should be
{code}
import org.apache.camel.component.validator.ValidatorComponent;
@Component
public class MyValidatorComponentFactory {
{code}
This is the code that generates that source
https://github.com/fabric8io/fabric8-forge/blob/master/addons/camel/src/m...
PS: We have similar for generating code in CDI style instead of spring style.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months