ibm-mobilefirst

failed to create task or type war-builder in worklight 6.2

孤街浪徒 提交于 2019-12-11 20:13:05
问题 I am using workklight 6.2 and wrote following ant task to build war file on linux machine command line. <taskdef resource="com/worklight/ant/defaults.properties"> <classpath> <pathelement location="opt/IBM/Worklight/WorklightServer/worklight-ant-builder.jar"/> </classpath> </taskdef> <target name="build-war"> <war-builder projectfolder="${basedir}" destinationfolder="bin/" warfile="bin/MyProject.war" classesFolder="classes-folder"/> </target> When I execute the task with following command "

Tabbar fixed:bottom. Buttons shift right slightly after transition from portrait to landscape

大憨熊 提交于 2019-12-11 19:58:39
问题 Worklight 6.1 Dojo 1.9 Created a ScrollableView with a tab bar fixed:top with two buttons, and a tab bar fixed:bottom with three buttons. When the application starts the tab bars, and buttons are centered correctly for both top and bottom. Test scenario for both Android emulator, and Nexus 7 device: 1) In portrait mode the application initializes, and the main view shows both tab bars with buttons centered correctly. 2) Rotate the device to landscape mode, and both tab bars transition

Worklight LDAP authentication using ApacheDS

强颜欢笑 提交于 2019-12-11 19:48:51
问题 I am trying to use LDAP authentication in Worklight using Apache DS. I have created LDAP registry in server.xml and also edited the auth config xml file. But, still I am not able to authenticate users from my WL client. Login module: <className>com.worklight.core.auth.ext.LdapLoginModule</className> <parameter name="ldapProviderUrl" value="ldap://localhost:10389"/> <parameter name="ldapTimeoutMs" value="2000"/> <parameter name="ldapSecurityAuthentication" value="simple"/> <parameter name=

Worklight - XCode 5 compilation issue

穿精又带淫゛_ 提交于 2019-12-11 19:46:39
问题 I'm using Worklight Studio 6.0 to develop an iPad app. After i run the Build for Remote Server build, i copied the zip file generated in the iPad environment and copied it over to a Macbook. I unzip and opened the project via XCode 5, and build it, it gave me the error Apple Mach-O Linker . I also notice that under the WorklightSDK folder there's a file libWorklightStaticLibProject.a` is marked in red color, which i suspect means it failed to build the static library. Any way to resolve this

IBM Worklight 6.1 - Can a HTTP adapter call another HTTP adapter on server-side?

为君一笑 提交于 2019-12-11 19:45:19
问题 I am developing app on worklight 6.1 version for iPad and deployed single adapter which is having multiple procedure inside it. Now I am hitting adapter from client-side and getting response from server. Storing that response somewhere and passing back to the next adapter call for getting related data for that response. function GetUSERRID(){ var invocationData = { adapter : 'CORE_ADAPTER', procedure : 'GetUserRID', parameters : [ param1, param2 ] }; WL.Client.invokeProcedure(invocationData,{

IBM Worklight 6.1 - Enable WL.Logger.debug in Worklight Development Server Console

▼魔方 西西 提交于 2019-12-11 19:43:50
问题 Is there any way to enable WL.Logger.debug log to be displayed in Worklight Development Server Console view in eclipse? I am using Worklight 6.1. 回答1: I believe not. See my explanation from this question: IBM Worklight 6.0 - How to enable/view WL.Logger.debug in adapters? Copy/paste: WebSphere Liberty profile does not support debug level logging in the Worklight Development Server Console view. You can use WL.Logger.debug and edit server.xml to view the log in the trace.log file Open the

Worklight App inside an Android Fragment

。_饼干妹妹 提交于 2019-12-11 19:38:22
问题 Is there a way to host a Worklight app inside an Android Fragment? I have attempted to use the WLWebView inside a Fragments onCreateView WLWebView webView = new WLWebView(getActivity()); webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl("file:///path_to_app.html_file", 60000); return webView; But it results in a timeout error even though I can see the HTML. It could be the connection to Worklight failing as we are using WL.Client.connect() . The error doesn't specify which URL

Worklight Init Servlet

天大地大妈咪最大 提交于 2019-12-11 19:36:33
问题 I am working on a worklight hybrid apps for iOS and Android. In the server side implementation, I plan to reuse my existing java code for all the business logic, therefore my server adapter would just making a call to my java code. This is working fine and I actually found some sample to do so, but however my existing java code required some initializing during the startup, it was done using an init servlet configured in web.xml, but as far as I know, worklight doesn't have a easy way to

IBM Worklight 5.0.6.1 - Push Notification through Proxy Server

…衆ロ難τιáo~ 提交于 2019-12-11 19:23:08
问题 I would like to use a proxy server for push notification. In worklight.properties, how to specify username and password for APNS? # Push GCM proxy settings #push.gcm.proxy.enabled=false # protocol may be either http or https #push.gcm.proxy.protocol= #push.gcm.proxy.host= # negative value means default port #push.gcm.proxy.port=-1 #push.gcm.proxy.user= #push.gcm.proxy.password= # Push APNS proxy settings #push.apns.proxy.enabled=false # only SOCKS proxy is supported at the moment #push.apns

error on BIRT report analytics: IBM Worklight

家住魔仙堡 提交于 2019-12-11 19:17:50
问题 I am trying to generate BIRT report on IBM Worklight for an Android device. For this I am following instructions given in the following article: Worklight: Generate analytics data and view BIRT reports The steps I've taken are: Installed BIRT in Eclipse from the Juno repository: Juno - http://download.eclipse.org/releases/juno Created a Worklight project with and edited worklight.properties (please find code below) Already being installed SQL server with databases: "worklight" and "wl_report"