How to create worklight project in eclipse dynamically? - ibm-mobilefirst

I googled about how to create eclipse project dynamically, but most of them explained about creating Java projects. I wants to create worklight project programatically. Any help would be appreciated.

You cannot do this with Worklight 6.0 and 6.1. However the next release of Worklight, v6.2, will provide a CLI that will allow you to create and manage projects from command line without using Worklight Studio.
http://www.websphereusergroup.org/go/article/view/articles/265479/impact_2014:_mobile_strategy_and_ibm_worklight_6.2

Related

IntelliJ ultimate doesn't find web application support in existing project

Hi I've got IntelliJ IDEA Ultimate 2016.2.2 and can't add Web app development support to existing project...
I tried the suggestion on the IJ doc site, but in the Add framework support windows there's nothing like Web application, as you can see in the screenshot below:
However, if i start new project Web application support is available.
Any hints or suggestions are appreciated.

From where is the worklight folder inside the wlapp file copied from when we perform a Mobilefirst build?

I just wanted to know how the worklight folder is compiled and copied inside the wlapp file. I am referring to the worklight folder which consists of the cordova plugins folder, worklight.js, cordova_plugins.js, etc.
These files are used during build-time by the Worklight Build Engine. They are located in the TMPDIR of your OS. Since you're using OS X you can open Terminal and run the command open $TMPDIR/wlBuildResources (> your-WL-version\jslibexpanded).
I am guessing you are asking this because you are thinking of altering these files pre-build time? You must not do that as it may generate a faulty application (it does not go only to the wlapp file but also to the generated native project of any mobile environment you may have added to your application).
These resources are also deleted and re-created on each launch of Eclipse (with Worklight Studio installed).
This will of course also void any support requests.
Since this is probably related to your other question about using the Ionic Keyboard Cordova plug-in, note that in the upcoming MobileFirst Platform Foundation 7.1 there is Cordova application support, enabling you to create either an iOS or Android application with MPF as a plug-in like any other, thus you can also leverage any Cordova plug-in that you would like. More on this, soon, once 7.1 is released.

Can't create another worklight 6.1 hybrid app after the project is connected to TFS

We have created a worklight project, with a hybrid app, an Android enviroment and a couple of sql adapters. We have added the project to Team Foundation Server (TFS), but after that we cannot add another hybrid app. The project name dropdown is empty. This also goes for inner application, while all the other worklight compononents seems to be working fine, with the project I want appearing in the dropdown.
I do suspect it might be related to some kind of lock on some files, but I can't figure out which ones.
Steps:
Create an hybrid app in Worklight
Add the Android environment
Add it to TFS, excluded native folder, .classpath and org.eclipse.core.resources.prefs
The official word is that IBM Worklight does not support Microsoft TFS. So if it works - great, if it doesn't - not so great, but nothing can be done until and if it is supported.
What you can do:
Submit a feature request: http://www.ibm.com/developerworks/mobile/worklight/connect.html
Try IBM RTC instead? or other-like products that may work.

IBM Worklight 6.1 - Adding the optional Analytics feature has no effect

I have installed the Eclipse Juno SR2 client for Worklight 6.1 EE and when I add the optional analytics feature to the application-descriptor.xml file, I do not see any Tealeaf libraries added to the project.
I am running on Mac v10.9.
Any ideas?
Using Eclipse Java EE 4.3.1 ("Kepler" SR1) and Worklight 6.1 Developer Edition* on a Mac running OS X 10.9, I have done the following:
Created a new Worklight project and application
Added the Android, iPad and iPhone environments
In the application-descriptor.xml's Design view I chose Optional Features > Analytics
Re-built the project
Outcome:
For iPad and iPhone, the existing empty Tealeaf folder under native\Tealeaf now got populated with library and bundle files
For Android, the native\libs folder got populated with uicandroid.jar
Similarly, for JSONStore and FIPS 140-2, files were added to the projects upon build.
Make sure these are the steps you've been following.
If you have any related errors in the Errors view in Eclipse while adding the optional features, do mention this.
*There is no (technical) difference between the various Worklight editions other than the exclusion of App Authenticity from the Developer Edition.

Is there any way to create a windows installer package in vb.net using tools from microsoft?

I want to create a windows installer package using visual studio. It is my understanding that there was a simple way to do this in vb6, you could add an installer like you can add a new form.
How can I do this in vb.net? I downloaded and installed the Windows SDK from http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en because it said somewhere that it could create installer packages and had tools to do so for .net, but no such luck.
I would prefer not to use NSIS or Inno Setup for this.
Is there any way to get the same functionality that you could have in vb6 with the installer packages?
Thanks, I feel I am missing an important step here...
EDIT: I am using visual basic 2008 express, not professional. I dont have "Setup and deployment" or anything like that under my template options.
You could create a .msi installer. Have a look at this question/answer for some more details. How can I create an MSI setup?
Edit: Others have mentioned WiX, so here's a link to a tutorial showing how to use it
There is a setup & deployment project type under other when you go to create a new project in VS Standard edition and higher. If you have express it's not available.
Here's some info on Setup & Deployment projects:
http://msdn.microsoft.com/en-us/library/wx3b589t.aspx
Tutorial:
http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx
File -> New Project -> Other Project Types -> Setup and Deployment
Will allow you to add a setup project to any Visual Studio solution.
In Visual Studio.,Net you would create a Setup Project (or Setup Project Wisard) to create an installer.
Tutorial Here: http://www.dreamincode.net/forums/showtopic58021.htm
Because the express version doesn't include the Setup and Deployment project type, you'll probably find it easier to use a third party tool such as www.advancedinstaller.com - the free version is probably sufficient for your needs.