tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TOMEE-1945) extract TomEEEmbeddedSingleRunner logic in org.apache.tomee.embedded.TomEEEmbeddedApplicationRunner
Date Mon, 26 Sep 2016 17:38:20 GMT

     [ https://issues.apache.org/jira/browse/TOMEE-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Romain Manni-Bucau updated TOMEE-1945:
--------------------------------------
    Description: 
Goal is to ensure this is reusable not only for tests:

{code:java}
@Application
@Classes(context = "app")
public class MyApp {
    public static void main(final String[] args) {
        TomEEEmbeddedApplicationRunner.run(new MyApp(), args);
    }
}
{code}

  was:
Goal is to ensure this is reusable not only for tests:

{code:java}
@Application
@Classes(context = "app")
public class MyApp {
    public static void main(final String[] args) {
        new TomEEEmbeddedApplicationRunner().run(new MyApp(), args);
    }
}
{code}


> extract TomEEEmbeddedSingleRunner logic in org.apache.tomee.embedded.TomEEEmbeddedApplicationRunner
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TOMEE-1945
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1945
>             Project: TomEE
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>             Fix For: 7.0.2
>
>
> Goal is to ensure this is reusable not only for tests:
> {code:java}
> @Application
> @Classes(context = "app")
> public class MyApp {
>     public static void main(final String[] args) {
>         TomEEEmbeddedApplicationRunner.run(new MyApp(), args);
>     }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message