简体   繁体   English

Mule Studio离线安装新软件

[英]Mule studio install new software offline

I'm using Mule ESB version 3.8 in eclipse and was handed a project that requires me to use 3.5 in mule studio in order to test it. 我在Eclipse中使用的是Mule ESB版本3.8,并交给了一个项目,该项目要求我在Mule Studio中使用3.5进行测试。 Unfortunately, I can't just use install new software from the internet because the development I'm doing is on a network that is entirely disconnected from the internet. 不幸的是,我不能只使用从Internet安装新软件,因为我正在做的开发工作是在与Internet完全断开的网络上进行的。

Is there any way to install the Mule ESB 3.5 embedded runtime into eclipse if I don't have access to the internet? 如果我无法访问互联网,是否可以将Mule ESB 3.5嵌入式运行时安装到Eclipse中?

Not sure if there is a way to do this from anypoint studio but you can try downloading the mule standalone runtime from https://developer.mulesoft.com/download-mule-esb-runtime . 不知道是否可以从anypoint studio中执行此操作,但是您可以尝试从https://developer.mulesoft.com/download-mule-esb-runtime下载mule独立运行时。

Export your application as a mule deployable archive and run on the standalone runtime from the command line. 将您的应用程序导出为可ule子部署的归档文件,并从命令行在独立运行时上运行。 Hope this helps. 希望这可以帮助。

I will update if I know a way to do it from anypoint studio. 如果我知道从anypoint Studio进行更新的方法,我将进行更新。 This may help https://docs.mulesoft.com/mule-user-guide/v/3.7/starting-and-stopping-mule-esb#starting-and-stopping-mule-via-the-command-line 这可能会帮助https://docs.mulesoft.com/mule-user-guide/v/3.7/starting-and-stopping-mule-esb#starting-and-stopping-mule-via-the-command-line

You can't install new software without downloading it from the internet first. 您必须先从互联网下载软件,然后才能安装新软件。 If you are working in an environment without internet, the only way to install a new runtime is as a standalone or .jar file (embedded). 如果您在没有Internet的环境中工作,则安装新运行时的唯一方法是将其作为独立文件或.jar文件(嵌入)。 Download it from the website on another pc or laptop that is connected to the internet. 从连接到互联网的另一台PC或笔记本电脑上的网站上下载它。 Put it on a USB stick or other memory device and plug it in your development device and install. 将其放在USB记忆棒或其他存储设备上,然后将其插入开发设备中并进行安装。 I haven't found a way to install the standalone version into Anypoint studio. 我还没有找到将独立版本安装到Anypoint Studio中的方法。

The .jar file is only available for the latest version of Mule runtime. .jar文件仅可用于最新版本的Mule运行时。

It should also be possible to install new runtimes from within Anypoint Studio (but again not without an internet connection). 还应该可以从Anypoint Studio中安装新的运行时(但同样不能没有Internet连接)。 Go to 'Help' and select 'Install New Software...'. 转到“帮助”,然后选择“安装新软件...”。 You'll have to enter a url or select a site from the list (the safest thing to do is check this site for urls, because I only encountered errors with the options already listed in Anypoint Studio which might be because of firewall settings). 您必须输入一个URL或从列表中选择一个站点(最安全的方法是检查此站点的URL,因为我只遇到过Anypoint Studio中已经列出的选项错误,这可能是由于防火墙设置所致)。 You'll get a list of all the available runtimes and can select and install the one you need. 您将获得所有可用运行时的列表,并可以选择并安装所需的运行时。

Again you can't really install a new runtime without an internet connection. 同样,如果没有Internet连接,您将无法真正安装新的运行时。 I don't know if you're able to switch networks briefly to be able to install the new runtime, ask your project leader if that's an option. 我不知道您是否能够短暂切换网络以安装新的运行时,请问项目负责人是否可以选择。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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