[JBoss JIRA] (ROASTER-36) property.setType leaves get/set with qualified class name
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/ROASTER-36?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated ROASTER-36:
-------------------------------------
Description:
I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
{code}
public class MyClass {
private Date myFirstDate;
public Date getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(Date myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
If I only do :
{code}
PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
property.setType(LocalDate.class);
{code}
This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
{code}
public class MyClass {
private LocalDate myFirstDate;
public org.joda.time.LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere when I only change the type of the property {{property.setType(LocalDate.class)}} :
{code}
public class MyClass {
private LocalDate myFirstDate;
public LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
Attached is a test case
was:
I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
{code}
public class MyClass {
private Date myFirstDate;
public Date getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(Date myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
If I only do :
{code}
PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
property.setType(LocalDate.class);
{code}
This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
{code}
public class MyClass {
private LocalDate myFirstDate;
public org.joda.time.LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere when I only change the type of the property {{property.setType(LocalDate.class)}} :
{code}
public class MyClass {
private LocalDate myFirstDate;
public LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
> property.setType leaves get/set with qualified class name
> ---------------------------------------------------------
>
> Key: ROASTER-36
> URL: https://issues.jboss.org/browse/ROASTER-36
> Project: Roaster
> Issue Type: Enhancement
> Components: API
> Affects Versions: 2.7.1.Final
> Reporter: Antonio Goncalves
> Attachments: roaster.zip
>
>
> I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
> {code}
> public class MyClass {
> private Date myFirstDate;
> public Date getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(Date myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
> If I only do :
> {code}
> PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
> property.setType(LocalDate.class);
> {code}
> This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
> {code}
> public class MyClass {
> private LocalDate myFirstDate;
> public org.joda.time.LocalDate getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
> Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere when I only change the type of the property {{property.setType(LocalDate.class)}} :
> {code}
> public class MyClass {
> private LocalDate myFirstDate;
> public LocalDate getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(LocalDate myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
> Attached is a test case
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 9 months
[JBoss JIRA] (ROASTER-36) property.setType leaves get/set with qualified class name
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/ROASTER-36?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated ROASTER-36:
-------------------------------------
Attachment: roaster.zip
> property.setType leaves get/set with qualified class name
> ---------------------------------------------------------
>
> Key: ROASTER-36
> URL: https://issues.jboss.org/browse/ROASTER-36
> Project: Roaster
> Issue Type: Enhancement
> Components: API
> Affects Versions: 2.7.1.Final
> Reporter: Antonio Goncalves
> Attachments: roaster.zip
>
>
> I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
> {code}
> public class MyClass {
> private Date myFirstDate;
> public Date getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(Date myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
> If I only do :
> {code}
> PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
> property.setType(LocalDate.class);
> {code}
> This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
> {code}
> public class MyClass {
> private LocalDate myFirstDate;
> public org.joda.time.LocalDate getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
> Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere when I only change the type of the property {{property.setType(LocalDate.class)}} :
> {code}
> public class MyClass {
> private LocalDate myFirstDate;
> public LocalDate getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(LocalDate myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 9 months
[JBoss JIRA] (ROASTER-36) property.setType leaves get/set with qualified class name
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/ROASTER-36?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated ROASTER-36:
-------------------------------------
Description:
I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
{code}
public class MyClass {
private Date myFirstDate;
public Date getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(Date myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
If I only do :
{code}
PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
property.setType(LocalDate.class);
{code}
This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
{code}
public class MyClass {
private LocalDate myFirstDate;
public org.joda.time.LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere when I only change the type of the property {{property.setType(LocalDate.class)}} :
{code}
public class MyClass {
private LocalDate myFirstDate;
public LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
was:
I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
{code}
public class MyClass {
private Date myFirstDate;
public Date getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(Date myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
If I only do :
{code}
PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
property.setType(LocalDate.class);
{code}
This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
{code}
public class MyClass {
private LocalDate myFirstDate;
public org.joda.time.LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere :
{code}
public class MyClass {
private LocalDate myFirstDate;
public LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
> property.setType leaves get/set with qualified class name
> ---------------------------------------------------------
>
> Key: ROASTER-36
> URL: https://issues.jboss.org/browse/ROASTER-36
> Project: Roaster
> Issue Type: Enhancement
> Components: API
> Affects Versions: 2.7.1.Final
> Reporter: Antonio Goncalves
>
> I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
> {code}
> public class MyClass {
> private Date myFirstDate;
> public Date getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(Date myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
> If I only do :
> {code}
> PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
> property.setType(LocalDate.class);
> {code}
> This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
> {code}
> public class MyClass {
> private LocalDate myFirstDate;
> public org.joda.time.LocalDate getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
> Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere when I only change the type of the property {{property.setType(LocalDate.class)}} :
> {code}
> public class MyClass {
> private LocalDate myFirstDate;
> public LocalDate getMyFirstDate() {
> return myFirstDate;
> }
> public void setMyFirstDate(LocalDate myFirstDate) {
> this.myFirstDate = myFirstDate;
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 9 months
[JBoss JIRA] (ROASTER-36) property.setType leaves get/set with qualified class name
by Antonio Goncalves (JIRA)
Antonio Goncalves created ROASTER-36:
----------------------------------------
Summary: property.setType leaves get/set with qualified class name
Key: ROASTER-36
URL: https://issues.jboss.org/browse/ROASTER-36
Project: Roaster
Issue Type: Enhancement
Components: API
Affects Versions: 2.7.1.Final
Reporter: Antonio Goncalves
I have a use case which is : "Take the attribute of type {{java.util.Date}} and change it to {{org.joda.time.LocalDate}}". Imagine I have the following class :
{code}
public class MyClass {
private Date myFirstDate;
public Date getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(Date myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
If I only do :
{code}
PropertySource<JavaClassSource> property = classToProcess.getProperty("myFirstDate");
property.setType(LocalDate.class);
{code}
This changes both the field and the get/set. But the field gets {{LocalDate}} not qualified, and get/set qualified. This is the final result :
{code}
public class MyClass {
private LocalDate myFirstDate;
public org.joda.time.LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(org.joda.time.LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
Only if I do {{property.getAccessor().setReturnType(LocalDate.class)}} I get an unqualified getter. What I would like is to have unqualified class everywhere :
{code}
public class MyClass {
private LocalDate myFirstDate;
public LocalDate getMyFirstDate() {
return myFirstDate;
}
public void setMyFirstDate(LocalDate myFirstDate) {
this.myFirstDate = myFirstDate;
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 9 months
[JBoss JIRA] (ROASTER-35) Add a method PropertyHolderSource.getProperties(Class<?> aClass)
by Antonio Goncalves (JIRA)
Antonio Goncalves created ROASTER-35:
----------------------------------------
Summary: Add a method PropertyHolderSource.getProperties(Class<?> aClass)
Key: ROASTER-35
URL: https://issues.jboss.org/browse/ROASTER-35
Project: Roaster
Issue Type: Feature Request
Components: API
Affects Versions: 2.7.1.Final
Reporter: Antonio Goncalves
At the moment the interface {{PropertyHolderSource}} only has one method to return a given property (by name) or all the properties.
{code}
List<PropertySource<O>> getProperties();
PropertySource<O> getProperty(String name);
{code}
A common use case I have is to get all the properties of a given type. So something like that would be very useful :
{code}
List<PropertySource<O>> getProperties(Class type);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 9 months
[JBoss JIRA] (ROASTER-34) Add a method MethodSource.removeParameter(Class<?> aClass, String s)
by Antonio Goncalves (JIRA)
Antonio Goncalves created ROASTER-34:
----------------------------------------
Summary: Add a method MethodSource.removeParameter(Class<?> aClass, String s)
Key: ROASTER-34
URL: https://issues.jboss.org/browse/ROASTER-34
Project: Roaster
Issue Type: Feature Request
Components: API
Affects Versions: 2.7.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
At the moment it's easy to add a parameter to a method knowing its name and type :
{code}
property.getMutator().addParameter(LocalDate.class, "myDate");
{code}
It would be good to have the same facility to remove a parameter given a type and a name. Something like :
{code}
property.getMutator().removeParameter(LocalDate.class, "myDate");
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 9 months
[JBoss JIRA] (FORGE-2003) Forge workspace resolver fails to resolve local resource dependencies that are specified as <optional>
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2003?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2003:
----------------------------------------
The proposed fix works, however now I see the following exception while running a test inside eclipse:
{code}
INFO: Copying /usr/local/workspace/forge-core-2.0/bean-validation/addon/../api/target/classes to /tmp/furnace8461050337098214323test-addon-dir/org-jboss-forge-addon-bean-validation-2-9-3-SNAPSHOT
java.io.FileNotFoundException: Source '/usr/local/workspace/forge-core-2.0/bean-validation/addon/../api/target/classes' does not exist
at org.jboss.forge.furnace.impl.util.Files.copyFile(Files.java:206)
at org.jboss.forge.furnace.impl.util.Files.copyFileToDirectory(Files.java:175)
at org.jboss.forge.furnace.impl.addons.AddonRepositoryImpl$1.call(AddonRepositoryImpl.java:146)
at org.jboss.forge.furnace.impl.addons.AddonRepositoryImpl$1.call(AddonRepositoryImpl.java:122)
at org.jboss.forge.furnace.impl.LockManagerImpl.performLocked(LockManagerImpl.java:48)
at org.jboss.forge.furnace.impl.addons.AddonRepositoryImpl.deploy(AddonRepositoryImpl.java:121)
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.deploy(DeployRequestImpl.java:72)
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl$1.call(DeployRequestImpl.java:49)
at org.jboss.forge.furnace.impl.LockManagerImpl.performLocked(LockManagerImpl.java:48)
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.execute(DeployRequestImpl.java:44)
at org.jboss.forge.furnace.manager.impl.request.AbstractAddonActionRequest.perform(AbstractAddonActionRequest.java:57)
at org.jboss.forge.furnace.manager.impl.request.InstallRequestImpl.perform(InstallRequestImpl.java:39)
at org.jboss.forge.arquillian.ForgeDeployableContainer.deploy(ForgeDeployableContainer.java:114)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:190)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:345)
at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:49)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:207)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:155)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Sep 10, 2014 6:58:28 PM org.jboss.forge.furnace.impl.FurnaceImpl start
{code}
> Forge workspace resolver fails to resolve local resource dependencies that are specified as <optional>
> ------------------------------------------------------------------------------------------------------
>
> Key: FORGE-2003
> URL: https://issues.jboss.org/browse/FORGE-2003
> Project: Forge
> Issue Type: Bug
> Components: Build Tools - Maven, Forge Build, Test Harness
> Affects Versions: 2.9.2.Final
> Reporter: Lincoln Baxter III
> Assignee: Lincoln Baxter III
> Priority: Blocker
> Fix For: 2.9.3.Final
>
>
> This needs to be fixed in the ClasspathWorkspaceReader - which needs to attempt to parse the POMs and locate any sub <module> projects that satisfy the dependency:
> https://github.com/forge/furnace/blob/master/manager/resolver/maven/src/m...
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 9 months