[JBoss JIRA] (FORGE-1790) Make adding addon deps easier in getDeployment().
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1790?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1790.
----------------------------------
Resolution: Won't Fix
The annotations placed on top of @Deployment are the addons to be deployed. The AddonDependencies set when creating a ForgeArchive are the addons that the current addon depends on.
We find this useful for testing, and if subclassing is required, one solution is to move the @Deployment method to the concrete class.
Best Regards,
George
> Make adding addon deps easier in getDeployment().
> -------------------------------------------------
>
> Key: FORGE-1790
> URL: https://issues.jboss.org/browse/FORGE-1790
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Ondrej Zizka
>
> Currently, the deps need to be stated twice - once in annotations, and then in getDeployment(). If getDeployment() wasn't static, one could get that using reflection. But Arquillian needs getDeployment static.
> This also limits usage of subclassing, because subclass can't add dependencies to it's parent.
> Would be nice to come up with some solution to this.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1923) Upgrade to Arquillian 1.1.5.Final
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1923:
--------------------------------------
Summary: Upgrade to Arquillian 1.1.5.Final
Key: FORGE-1923
URL: https://issues.jboss.org/browse/FORGE-1923
Project: Forge
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Test Harness
Affects Versions: 2.7.0.Final
Reporter: George Gastaldi
Fix For: 2.7.1.Final
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1922) forge should inject Logger.
by Daniel Cunha (JIRA)
Daniel Cunha created FORGE-1922:
-----------------------------------
Summary: forge should inject Logger.
Key: FORGE-1922
URL: https://issues.jboss.org/browse/FORGE-1922
Project: Forge
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Daniel Cunha
Priority: Optional
From:
{code:java}
private static Logger log = Logger.getLogger(AddonTestFacet.class.toString());
{code}
To:
{code:java}
@Inject
private Logger log
{code}
Produce:
{code:java}
@Produces
public Logger produceLogger(InjectionPoint injectionPoint) {
return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
}
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months