[JBoss JIRA] (ROASTER-64) Field.setType does not preserve the generic types
by George Gastaldi (JIRA)
George Gastaldi created ROASTER-64:
--------------------------------------
Summary: Field.setType does not preserve the generic types
Key: ROASTER-64
URL: https://issues.jboss.org/browse/ROASTER-64
Project: Roaster
Issue Type: Bug
Components: JDT
Affects Versions: 2.12.0.Final
Reporter: George Gastaldi
Fix For: 2.x Future
The following test should pass
{code:java}
@Test
public void testFieldType() throws Exception
{
JavaClassSource clazz = Roaster.create(JavaClassSource.class).setName("MyClass");
String type = "java.util.Map<ca.uhn.fhir.model.api.ResourceMetadataKeyEnum<T>,java.lang.Object>";
FieldSource<JavaClassSource> field = clazz.addField().setName("field").setType(type);
Assert.assertEquals(type, field.getType().getQualifiedName());
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 7 months
[JBoss JIRA] (FORGE-1620) Command constraint-new-payload to create a new payload
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1620?page=com.atlassian.jira.plugin... ]
Antonio Goncalves closed FORGE-1620.
------------------------------------
Resolution: Done
Realized that I closed this JIRA because of creating the tutorial [FORGE-2232] and refactoring Bean Validation commands [FORGE-2261]
> Command constraint-new-payload to create a new payload
> ------------------------------------------------------
>
> Key: FORGE-1620
> URL: https://issues.jboss.org/browse/FORGE-1620
> Project: Forge
> Issue Type: Sub-task
> Components: Java EE
> Affects Versions: 2.1.1.Final
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> It would be nice to have a command to create a new Payload. It's quite easy to generate and would help :
> {code}
> constraint-new-payload --named Error
> {code}
> Will generate :
> {code}
> public class Error implements Payload {
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 7 months
[JBoss JIRA] (FORGE-2096) Git patches fail to apply when run as a native command
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-2096?page=com.atlassian.jira.plugin... ]
Vineet Reynolds commented on FORGE-2096:
----------------------------------------
Looks like it works now. Needs to be tested on Windows though. Patches for TiMo may need to be regenerated though; but then this depends on whether the generated code is consistent across environments (the import statements were out of order when I ran the TiMo Forge script).
> Git patches fail to apply when run as a native command
> ------------------------------------------------------
>
> Key: FORGE-2096
> URL: https://issues.jboss.org/browse/FORGE-2096
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.12.1.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> When I run the following commands to apply a patch in the Shell, the command seems to run fine, but the patch does not seem to be applied on the files:
> {{run --command "git apply -v --ignore-whitespace --ignore-space-change patches/admin_layer_functional.patch"}}
> {{run --command "git apply -v --ignore-whitespace --ignore-space-change patches/admin_layer_graphics.patch"}}
> The patches are from the TicketMonster 2.7.x-develop branch. They apply correctly when I use Eclipse eGit.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 7 months
[JBoss JIRA] (FORGE-2096) Git patches fail to apply when run as a native command
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2096?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2096:
----------------------------------------
Are they being executed in the correct directory? I just tested with the latest master and it works.
> Git patches fail to apply when run as a native command
> ------------------------------------------------------
>
> Key: FORGE-2096
> URL: https://issues.jboss.org/browse/FORGE-2096
> Project: Forge
> Issue Type: Bug
> Components: UI - Shell
> Affects Versions: 2.12.1.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> When I run the following commands to apply a patch in the Shell, the command seems to run fine, but the patch does not seem to be applied on the files:
> {{run --command "git apply -v --ignore-whitespace --ignore-space-change patches/admin_layer_functional.patch"}}
> {{run --command "git apply -v --ignore-whitespace --ignore-space-change patches/admin_layer_graphics.patch"}}
> The patches are from the TicketMonster 2.7.x-develop branch. They apply correctly when I use Eclipse eGit.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 7 months