我想在application-descriptor.xml中的「worklightServerRootURL」元素中添加指向外部Worklight Server但我收到錯誤「Invalid content was found with元素'worklightServerRootURL'「。請在application-descriptor.xml中參考下面的配置。任何人都知道這個錯誤的解決方案?IBM Worklight application-descriptor.xml配置用於外部worklight服務器
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<application xmlns="http://www.worklight.com/application-descriptor" id="MobileTest" platformVersion="6.2.0.00.20140825-1637">
<displayName>MobileTest</displayName>
<description>MobileTest</description>
<author>
<name>application's author</name>
<email>application author's e-mail</email>
<homepage>http://mycompany.com</homepage>
<copyright>Copyright My Company</copyright>
</author>
<mainFile>index.html</mainFile>
<features/>
<thumbnailImage>common/images/thumbnail.png</thumbnailImage>
<android version="1.0">
<worklightSettings include="false"/>
<security>
<encryptWebResources enabled="false"/>
<testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
<publicSigningKey/>
<packageName/>
</security>
</android>
<worklightServerRootURL>http://${local.IPAddress}:9080/worklight</worklightServerRootURL>
</application>
謝謝。
嗨springdo,後配置工作燈性能並不需要重建所有的服務器.war文件和.wlapp應用程序文件使其工作? – user3479640 2014-09-05 10:13:26
服務器文件夾中的更改自動重建.war文件。 – 2014-09-26 06:34:54