Installing jazz 4.0.2 plugin with IBM Worklight 6 (juno eclipse) causes functional degradation in worklight - ibm-mobilefirst

I've installed worklight 6 into an existing juno 64 bit eclipse running in windows 7. Runs great. I then install the jazz RTC 4.0.2 plug in into that eclipse environment. After the plugin is installed, there is a noticeable loss of function. The following are examples:
On the create new Hybrid app page, the option for changing the dojo library used is gone. The dialog resembles the WL5 version.
after a dojo hybrid is created, the www folder is missing from the WL project
Some dojo widgets do not work (i.e., not presented on the mobile device emulator or in resulting adroid application) like dojo.mobile.Heading
The only way to resolve is to uninstall the RTC plugin. Any suggestion on how to make this work? Using WL5.0.6.1 and same Jazz RTC plugin has no problems. We want to move to newer WL and upgrading RTC is not an easy option.

Are you using Eclipse Java EE 4.2.2? That's the only supported version for Worklight Studio (i.e. make sure you are not using 4.2.1 or 4.2 alone).
Other things I would try:
1) Use RTC 4.0.3 plug-in instead 4.0.2, that could make some difference and usually these clients have backwards compatibility with the server.
2) Install RTC before Worklight Studio, and see if it makes any difference.

Related

How to downgrade MobileFirst 7.1 to Worklight 6.1

Currently in eclipse Mobile First 7.1 is installed. We are trying to downgrade it to worklight 6.1. We are using archive feature in eclipse (using zip) to downgrade it to 6.1. We are not getting any error while installation but eclipse is still showing MobileFirst 7.1
I am not sure on exactly you're doing there that you think you've downgraded, but note that downgrading is not possible. You cannot downgrading after upgrading your project, as the upgrade changes the application code.
I hope you made a copy of your project before upgrading.

MobileFirst is_connected, is_disconnected events do not work

I'm using MobileFirst 7 to develop a hybrid Windows8 + iPad app.
The event WL.Events.WORKLIGHT_IS_DISCONNECTED works fine if I start my app with server down, but if I start app with server up (online) then I stop server the event is not risen.
This happens in both Windows8 and iOS (ipad) environments.
A regression was introduced in MFPF 7.0 causing the WORKLIGHT_IS_CONNECTED and WORKLIGHT_IS_DISCONNECTED events to fail (APAR PI38012). It was fixed in a subsequent iFix release.
If you are using the Developer Edition then make sure you are using the latest build in Eclipse > Help > Check for updates.
If you're using the Consumer or Enterprise Editions then get the latest iFix from IBM Fix Central website.
The date of the fix should be from 2015-04-08 or later.

Dojo 1.9.4 not installed in Notes Client and Domino Designer 9.0.1 FP2 IF1?

First I installed 9.0.1 FP2 IF1 on the server (901FP2HF384_W64) and I was told that this would make dojo 1.9.4 the default dojo, but it was not. I needed to add xsp.client.script.dojo.version=1.9.4 to my XSP Property file to get it to work
Next I need dojo 1.9.4 on the client as well, both as xpinc and when doing preview in web browser so I installed first FP2 IF1 (901FP2SHF63_W32_standard) and later on also FP2 IF3 (901FP2SHF63_W32_standard) but none of these fixes seem to have added dojo 1.9.4
I did try to add xsp.client.script.dojo.version=1.9.4 to my application but I get the following error in both xpinc and preview in web-browser
No Dojo library found matching the configured Dojo library version xsp.client.script.dojo.version=1.9.4.
I ran the following code in a repeat...
com.ibm.xsp.context.DojoLibraryFactory.getDefaultLibrary().getVersion()
...and found out the following
Dojo installed using Preview in webbrowser
1.8.3
1.5.2
1.8.3
1.5.2
Dojo Installed using xpinc
1.9.2
1.5.2
1.9.2
1.5.2
What am I doing wrong here, Why is the fixes not installing 1.9.4? and how can I get 1.9.4 (same as on server) without installing separate dojo packages
Related
http://www-01.ibm.com/support/docview.wss?uid=swg21686751
On the first issue, you should definitely not need the xsp property to apply dojo 1.9.4, it should be the default. We have not come across any issue with this, thus I'm not sure what the problem is that you are experiencing. Perhaps try uninstalling & reinstalling the IF and/or FP2 and/or both?
On the Notes client issues: The 9.0.1 FP2 Interim Fix 1 fixed an iOS8 issue on the server (for XPages mobile controls) by upgrading dojo to 1.9.4 - http://www-01.ibm.com/support/docview.wss?uid=swg21657963#Domino
At present there is no Interim Fix that upgrades the dojo version on the Client - http://www-01.ibm.com/support/docview.wss?uid=swg21657963#Notes. There is no use case involving the use of XPages Mobile controls in the client, so the dojo version in the client was left untouched. It was actually unprecedented to upgrade dojo in an Interim Fix, but the severity of the iOS8 issue meant it needed to be done on the server.
You could manually copy the "com.ibm.xsp.dojo" folder from the server over to your Notes install to have 1.9.4 on both server and client

IBM Worklight 6.0 - Installation fails on Eclipse 4.3 "Kepler"

I'm getting the following problem while trying to install Worklight 6 into 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 6.0.0.201306140658 (com.ibm.webtools.jquery.tools.feature.feature.group 6.0.0.201306140658)
To: com.ibm.imp.tools.feature.feature.group 6.0.0
I've tried both the marketplace method and installing from a local archive produces the same error. Sounds like a dependency issue but I'm not clever enough to workout what I'm missing.
Worklight 6.0 supports ONLY Eclipse for Jave EE Developers 4.2.2 ("Juno" SR2) or Eclipse Classic 4.2.2 ("Juno" SR2).
Worklight 6.0 will not work on prior versions of Eclipse.
Worklight 6.0 will not work on Eclipse 4.3 "Kepler" - there is no support for it, yet.
After you installed Worklight on 4.2.2 if it does not show up inside of eclipse, try the following
run eclipse withe the -clean option from the command line/terminal
ex.
$ ./eclipse -clean
then restart eclipse as normal, YMMV but it seem to do the trick for most folks with this problem.
This issue is due to corporate proxy.
Main requirement is it supports ONLY Eclipse for Jave EE Developers 4.2.2 ("Juno" SR2) or Eclipse Classic 4.2.2 ("Juno" SR2).
Apart from this you have to do following things to make it work
Window-->Preferences-->General-->Network connection
In drop down list changes Active Provider to Manual and in http/https put address and port number of your proxy.
Worklight 6.1 was released on the 6th of December, and now Kepler is supported.
http://marketplace.eclipse.org/content/ibm-worklight-developer-edition#.UqcEQZNQHIc

Failed to build the worklight project in xcode

I am new to Worklight and trying out various examples hosted on IBM worklight website for better understanding.
I have installed Eclipse Juno and IBM Worklight Studio kit on Mac OS X 10.6.8
I already had xcode 4.2 installed on Mac OS X 10.6.8
I had downloaded HelloWorklight example from http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#basics and following http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v506/02_02_Previewing_your_application_on_iOS.pdf for guidlines.
The example is successfully build in Eclipse and deployed to Worklight Server, it can be previewed on Worklight Console as well. Now I tried to Run as Xcode from Eclipse, example was successfully exported to Xcode but when I say Run in xcode, build fails. I see 2 issues under CordovaLib in Xcode, CDVLocation.m with Alert(Implicit conversion from enumeration type 'UIDeviceOrientation' to different enumeration type 'UIInterfaceOrientation') and CDVAccelerometer.m with Error(Receiver type 'CDVAccelerometer' for instance message does not declare a method with selector 'returnAccelInfo').
Please help me with above issues. If I am correct then it seems that library packaged by Worklight fails to compile in xcode.
Any kind of help would be appreciated.
Thanks
Worklight supports OS X 10.7 and above, and Xcode 4.5 and above; At the very least make sure your Xcode version is up to date and try again with Worklight 5.0.6 and fresh sample applications that match this Worklight version.