简体   繁体   中英

How to override mule config file name in Mule Studio?

MuleStudio or its plugin for eclipse uses mule-config.xml file by default. Is there an option to override the file name?

There are two options.

  1. Right click on the Mule Project and go to

    Run As --> Run COnfigurations

    Then Select Java Application . Then right click and select New Add your config file name as shown in the picture and run it. 配置图片

  2. Create a mule-deploy.properties and keep it in the src/main/app folder. Add the configuration resource entry to it. This will be helpful when you package and deploy mule application onto a mule standalone server.

    config.resources=my-mule-config.xml

Refer to the following link for more detials on Mule in Eclipse.

Creating a Mule project in Eclipse

Hope this helps.

您可以通过右键单击该文件来重命名该文件,然后选择“重构”或选择该文件,然后单击“ F2”将其重命名,然后以Mule运行配置的形式运行该应用程序。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM