有没有办法使用命令行而不是使用worklight控制台部署worklight适配器?(因为我的worklight服务器安装在WAS上,wsadmin命令或类似的东西......).
是否可以将Worklight Server部署到同时运行其他非Worklight .ear应用程序的WebSphere应用程序服务器?或者Worklight需要自己独立的WAS实例吗?
我已经实现了以下简单的HTTP适配器,以便将自己介绍给Worklight Adapters.它工作正常.
但是,我无法在Eclipse Worklight控制台中看到我的WL.logger.debug陈述!
我已尝试配置logging.properties和server.xml,如本信息中心文章中所示,但它不显示调试行(请求和结果).
有什么建议?
JS:
function currencyConvertor(data) {
var request =
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ConversionRate xmlns="http://www.webserviceX.NET/">
<FromCurrency>{data.fromCurrency}</FromCurrency>
<ToCurrency>{data.toCurrency}</ToCurrency>
</ConversionRate>
</soap:Body>
</soap:Envelope>;
WL.Logger.debug("request start ---------");
WL.Logger.debug(request);
WL.Logger.debug("request end --------");
var input = {
method : 'post',
returnedContentType : 'xml',
path : '/CurrencyConvertor.asmx',
body: {
content: request.toString(),
contentType: 'text/xml; charset=utf-8'
}
};
var result = WL.Server.invokeHttp(input);
WL.Logger.debug("result start ---------");
WL.Logger.debug(result);
WL.Logger.debug("result end --------");
return result.Envelope.Body;
}
Run Code Online (Sandbox Code Playgroud) 我最近从Worklight 6.0升级到6.1,并且我正试图从一台具有6.0版本的iPhone的6.1 Worklight Server获得更新.这似乎不起作用,所以我想我必须在iPhone上手动部署一个版本,该版本是从6.1构建的,以便获得更新.所以我删除了iPhone下的本机文件夹,这样当我构建它时会重新生成自己,但是我在构建时遇到以下错误:
iphone build failed: com.worklight.builder.sourcemanager.handlers.ios.settings.IOSAddRemoveSettingsRefHandler - cannot update content of pbxproj file
Run Code Online (Sandbox Code Playgroud)
我的Worklight Studio版本:6.1.0.00-20131219-1900我的应用程序描述中的平台版本也是6.1.0.00-20131219-1900.我能够重建Android版本并在我的手机上重新部署并成功获得更新.
任何想法可能是什么问题?我想如果我删除了本机文件夹,我应该能够通过构建生成一个新文件夹.
我有一个基本的问题,也用谷歌搜索过,但找不到这个问题的答案
例如我在 WAS 上创建了一个应用服务器
example : bin/server create simpleServer
Run Code Online (Sandbox Code Playgroud)
如何从 WAS 自由中删除此“条目”?
鉴于以下管道:
stages {
stage ("Checkout SCM") {
steps {
checkout scm
sh "echo ${CHANGE_AUTHOR_EMAIL}"
sh "echo ${CHANGE_ID}"
}
}
}
Run Code Online (Sandbox Code Playgroud)
为什么这些变量无法解决并提供值?
最终我想使用这些环境变量发送电子邮件并合并拉取请求:
post {
failure {
emailext (
attachLog: true,
subject: '[Jenkins] $PROJECT_NAME :: Build #$BUILD_NUMBER :: build failure',
to: '$CHANGE_AUTHOR_EMAIL',
replyTo: 'iadar@...',
body: '''<p>You are receiving this email because your pull request was involved in a failed build. Check the attached log file, or the console output at: $BUILD_URL to view the build results.</p>'''
)
}
}
Run Code Online (Sandbox Code Playgroud)
和
sh …Run Code Online (Sandbox Code Playgroud) 尝试将Worklight 6安装到Eclipse 4.3"Kepler"时,我遇到了以下问题:
Cannot complete the install because one or more required items could not be found.
Software being installed: IBM jQuery Mobile Tools 6.0.0.201306140658 (com.ibm.webtools.jquery.tools.feature.feature.group 6.0.0.201306140658)
Missing requirement: IBM Web Editor Common 1.2.0.v20130514_1852 (com.ibm.etools.webtools.webedit.common 1.2.0.v20130514_1852) requires 'bundle com.ibm.icu [4.2.1,5.0.0)' but it could not be found
Cannot satisfy dependency:
From: IBM Worklight Studio 6.0.0.201306140657 (com.ibm.imp.tools.feature.feature.group 6.0.0.201306140657)
To: com.ibm.imp.webtools.core.feature.feature.group 1.0.0
Cannot satisfy dependency:
From: Web Tools Core 1.2.0.v20130514_1852 (com.ibm.imp.webtools.core.feature.feature.group 1.2.0.v20130514_1852)
To: com.ibm.etools.webtools.webedit.common [1.2.0.v20130514_1852]
Cannot satisfy dependency:
From: IBM jQuery Mobile Tools …Run Code Online (Sandbox Code Playgroud) 我们目前正在使用Windows中运行的Worklight Enterprise Edition.我们使用jQuery Mobile(和另一个使用Dojo Mobile)创建了一个移动应用程序,但是我们无法将其部署到设备上.
There is a problem parsing the package.这是在设备中安装.apk文件的正确步骤吗?
我在本地机器中设置了Worklight Studio并开发了一个示例应用程序.我需要将该应用程序部署到在同一网络(LAN)中的另一台PC中设置的Worklight Server.
我尝试按照这个网址上的教程,教程是如此直接,但我无法得到正确的结果.
下面是我的authenticationConfig.xml
<securityTests>
<customSecurityTest name="custom-mobilesecurityTest">
<test realm="wl_antiXSRFRealm" step="1"/>
<test realm="wl_authenticityRealm" step="2"/>
<test realm="HeaderAuthRealm" isInternalUserID="true" step="3"/>
</customSecurityTest>
</securityTests>
Run Code Online (Sandbox Code Playgroud)
但是控制台中出现的App Authentication始终是"Access Disabled",我无法启用它.我在这里错过了什么吗?
