[
https://issues.apache.org/jira/browse/SCB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yangshaoqin1 updated SCB-1179:
------------------------------
Description:
In the "mvn spring-boot:repackage" scenario, locate the mainClass by looking
for the "start-class" attribute in the "MANIFEST.MF" file.
In the "mvn spring-boot:run" scenario, look up mainClass through the call stack.
Record the packages of bean scanned into the log.
Add related unit tests.
was:
In the "mvn spring-boot:repackage" scenario, locate the mainClass by looking
for the "start-class" attribute in the "MANIFEST.MF" file.
In the "mvn spring-boot:run" scenario, look up mainClass through the call stack.
Record the packages of bean scanned into the log
> Optimize the mainclass auto-discovery logic to cover more scenes.
> -----------------------------------------------------------------
>
> Key: SCB-1179
> URL: https://issues.apache.org/jira/browse/SCB-1179
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Java-Chassis
> Reporter: yangshaoqin1
> Assignee: yangshaoqin1
> Priority: Major
>
> In the "mvn spring-boot:repackage" scenario, locate the mainClass by looking
> for the "start-class" attribute in the "MANIFEST.MF" file.
> In the "mvn spring-boot:run" scenario, look up mainClass through the call
> stack.
> Record the packages of bean scanned into the log.
> Add related unit tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)