小编Ida*_*dar的帖子

IBM Worklight 6.0 - Eclipse 4.3"Kepler"上的安装失败

尝试将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)

eclipse-kepler worklight-studio ibm-mobilefirst

1
推荐指数
1
解决办法
2627
查看次数

IBM Worklight - 在设备上安装应用程序

我们目前正在使用Windows中运行的Worklight Enterprise Edition.我们使用jQuery Mobile(和另一个使用Dojo Mobile)创建了一个移动应用程序,但是我们无法将其部署到设备上.

  • 在开发应用程序之后,我们生成了(unsigned).apk文件
  • 我们将其复制到Samsung Grand(Android版本4.1.2)进行测试
  • 当我们尝试打开.apk文件时,我们收到错误: There is a problem parsing the package.

这是在设备中安装.apk文件的正确步骤吗?

android apk ibm-mobilefirst

1
推荐指数
1
解决办法
3272
查看次数

IBM Worklight - 无法在浏览器中打开localhost:8080/console

我想在浏览器中预览我的Worklight应用程序,但是当我在浏览器中打开localhost:8080/console时出现此错误:

HTTP状态404 - /console

类型状态报告

消息/控制台

description请求的资源(/ console)不可用.

Apache Tomcat/7.0.21

tomcat7 ibm-mobilefirst

0
推荐指数
1
解决办法
1922
查看次数

IBM Worklight 6.1 - 无法迁移Worklight项目

在我的Linux机器上,

  1. 当我将Worklight 6.1 的WorklightStarter项目导入到全新的Eclipse环境(从Eclipse MarketPlace安装的Worklight Studio)时,我收到以下错误,因此项目未导入:

    [2014-02-11 12:54:25] FWLPL0026E:将WorklightStarter项目从V6.1.0.0迁移到V6.1.0.0失败(/tmp/wlBuildResources/6.1.0.00.20131219-1900/environments/versions.properties(没有相应的文件和目录))

  2. 当我创建自己的项目并尝试构建它时,我收到以下错误:

    [2014-02-12 07:22:20] FWLST1037W:要求构建'mobilewebapp',但没有优化文件夹.[2014-02-12 07:22:21] FWLST1040E:常见构建失败:参数'目录'不是目录[2014-02-12 07:22:21] FWLST1040E:desktopbrowser构建失败:参数'目录'不是目录[2014-02-12 07:22:22]应用程序'worklightStarter',所有环境构建完成.[2014-02-12 07:22:27]参数'目录'不是目录


如果我在Windows中的Eclipse中安装插件并执行相同的操作,它就可以了!

所以我认为问题似乎只出现在Linux中?我猜一个问题是路径格式'\'vs'/'?或者是其他东西?

linux worklight-studio ibm-mobilefirst

0
推荐指数
1
解决办法
952
查看次数

调用Worklight Adapter http错误

我用这种方法创建了一个适配器:

function getLocation(gpsLat, gpsLong) {
path = "/maps/api/geocode/json?latlng=" + gpsLat + "," + gpsLong + "&sensor=false";
var input = {
method : 'get',
returnedContentType : 'json',
path : path
};
return WL.Server.invokeHttp(input);
}
Run Code Online (Sandbox Code Playgroud)

适配器配置是这样的:

<displayName>GPSLocator</displayName>
    <description>GPSLocator</description>
    <connectivity>
        <connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
            <protocol>http</protocol>
            <domain>maps.googleapis.com</domain>
            <port>80</port> 
            <!-- Following properties used by adapter's key manager for choosing specific certificate from key store  
            <sslCertificateAlias></sslCertificateAlias> 
            <sslCertificatePassword></sslCertificatePassword>
            -->
            <proxy>
                <protocol>http</protocol>
                <domain>15.1.0.111</domain>
                <port>8080</port>
            </proxy>
        </connectionPolicy>
        <loadConstraints maxConcurrentConnectionsPerNode="2" />
    </connectivity>

    <procedure name="getLocation" />
Run Code Online (Sandbox Code Playgroud)

当我右键单击并运行Invoke WL Adapter时,我收到此错误:

{
   "errors": [
      "Runtime: …
Run Code Online (Sandbox Code Playgroud)

worklight-adapters ibm-mobilefirst

0
推荐指数
1
解决办法
668
查看次数

我们可以在IMFData SDK中使用CloudantSync(CDTDatastore)加密吗?

现在,CloudantSync(CDTDataStore)可以使用CloudantSyncEncryption加密localstore. MobileFirst Platform Foundation的IMFData增加了安全性并依赖于CloudantSync.

有没有IMFData和CloudantSync加密的组合方式?

IMFData创建如下的本地数据存储.

IMFDataManager *manager = [IMFDataManager sharedInstance];
NSString *name = @"automobiledb";
NSError *error = nil;

//Create local store
CDTStore *store = [manager localStore:name error:&error];
Run Code Online (Sandbox Code Playgroud)

CloudantSync创建加密的本地数据存储,如下所示.

// To create an encrypted datastore, create your datastore using an object
// implementing the CDTKeyProvider protocol
CDTDatastoreManager *manager =[[CDTDatastoreManager alloc] initWithDirectory:path error:&error];
CDTEncryptionKeychainProvider *provider = [CDTEncryptionKeychainProvider 
                                           providerWithPassword:@"blahblah" 
                                           forIdentifier:@"default"];
CDTDatastore *encrypted = [manager datastoreNamed:@"encrypted_datastore"
                        withEncryptionKeyProvider:provider
                                            error:&error];
Run Code Online (Sandbox Code Playgroud)

cloudant ibm-mobilefirst

0
推荐指数
1
解决办法
96
查看次数