WillemJiang commented on a change in pull request #9: SCB-1383 support toolkit 
maven plugin commands that generating code
URL: https://github.com/apache/servicecomb-toolkit/pull/9#discussion_r307572492
 
 

 ##########
 File path: 
toolkit-maven-plugin/src/main/java/org/apache/servicecomb/toolkit/plugin/GenerateMojo.java
 ##########
 @@ -92,7 +92,20 @@ public void execute() {
 
         break;
       default:
-        throw new RuntimeException("source type " + sourceType + " is not 
supported");
+        throw new RuntimeException("not support source type " + sourceType);
+    }
+
+    //generate microservice project
+    if (service == null) {
+      LOGGER.info("no service configuration and do not generate code");
 
 Review comment:
   ”Cannot generate code without service configuration!"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to