You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2019/08/13 06:57:01 UTC

[GitHub] [dubbo-js] xusd320 commented on issue #104: 现在dubbo.json中指定jar包中的Provider规则有点太粗暴,只能指定providerSuffix

xusd320 commented on issue #104: 现在dubbo.json中指定jar包中的Provider规则有点太粗暴,只能指定providerSuffix
URL: https://github.com/apache/dubbo-js/issues/104#issuecomment-520713603
 
 
   @hufeng 大佬您好,关于dubbo.json我也有个疑问,目前只能在json中单个配置,如下
   {
       "output": "./app/dubbo/providers",
       "entry": "com.alibaba.dubbo.demo1",
       "entryJarPath": "./jars/dubbo-samples-zookeeper-1.0-SNAPSHOT.jar",
       "libDirPath":   "./",
       "providerSuffix": "Provider"
   }
   如果项目里有多个java依赖要分别翻译,就需要配置多个json分别执行interpret,这样感觉有点麻烦,能否像egg-dubbo-rpc里配置一样支持传入一个array(如下),一次配置多个依赖,一次性翻译呢?
   [
     {
       "output": "./app/dubbo/providers",
       "entry": "com.alibaba.dubbo.demo1",
       "entryJarPath": "./jars/dubbo-samples-zookeeper-1.0-SNAPSHOT.jar",
       "libDirPath":   "./",
       "providerSuffix": "Provider"
    },
     {
       "output": "./app/dubbo/providers",
       "entry": "com.alibaba.dubbo.demo2",
       "entryJarPath": "./jars/dubbo-samples-rpc-1.0-SNAPSHOT.jar",
       "libDirPath":   "./",
       "providerSuffix": "Provider"
   }
   ]。
   目前我是基于interpret单独封装了一个脚本,但是用起来仍然不是很方便。

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org