MobileFirst 7.1 OSX Eclipse服务器URL设置 [英] MobileFirst 7.1 OSX Eclipse server url setting
问题描述
我把我的服务器地址放在配置构建和部署目标
这是为我在Mac上使用Eclipse Mars.2和IBM MobileFirst Platform Studio 7.1.0.00-20160419-1518。
- 通过测试应用程序创建了一个新的测试项目,并添加了iPhone环境。
-
As> Run在MobileFirst开发服务器上
这显示mbp-idan.local
-
构建设置和部署目标,并更改值如下:
-
选择运行方式>在MobileFirst开发服务器上运行
-
打开test\iphone\\\
ative\worklight.plist和我请参阅以下内容:
< dict>
< key>协议< / key>
< string> http< / string>
< key> host< / key>
< string> example.com< / string>
< key> port< / key>
< string> 80< / string>
< key> wlServerContext< / key>
< string> / helloworld /< / string>
I am using Eclipse Juno with MFP 7.1 in a Mac.
I put my server address in Configure Build and Deploy Target http://example.com:80 and then use Run As > Run on MobileFirst Development Server.
In Windows, this updates my worklight.plist and wlclient.properties files with the new values for the server URL and port number, however in Mac the values remains MyMacBookPro.local as the server URL and the port number as 10080.
Migrated to Eclipse Mars but the problem remains the same:
This is working for me using Eclipse Mars.2 and IBM MobileFirst Platform Studio 7.1.0.00-20160419-1518, on Mac.
- Created a new "test" project with "test" application and added the iPhone environment.
Selected Run As > Run on MobileFirst Development Server
This shows "mbp-idan.local"
Selected Run As > Build Settings and Deploy Target, and changed the values as follows:
Selected Run As > Run on MobileFirst Development Server
Opened test\iphone\native\worklight.plist and I see the following:
<dict> <key>protocol</key> <string>http</string> <key>host</key> <string>example.com</string> <key>port</key> <string>80</string> <key>wlServerContext</key> <string>/helloworld/</string>
这篇关于MobileFirst 7.1 OSX Eclipse服务器URL设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!