Where is Worklight-Ant.jar? - ant

I've seen some documentation saying it was possible to use ant tasks to generate worklight builds.
That documentation tells me that to use that feature I must find a worklight-ant.jar.
That is my problem, I don't find that jar anywhere. Not on my worklight studio installation nor in my (another) worklight server running on a WAS Liberty profile.
I've found on that server something close, I've found a worklight-ant-builder.jar and a worklight-ant-deployer.jar.
Unfortunately that doesn't have some classes required for the build, like com.ibm.team.build.ant.task.ArtifactFilePublisherTask.
Another good point was that I've found on my server the applicationcenterdeploytool.jar: from /ApplicationCenter/tools and the json4j.jar from /ApplicationCenter/tools.
I'm using WL6.2.
What am I missing? Can anyone help me please?

worklight-ant.jar is now delivered as part of the Worklight CLI installation. Download the CLI here (Download button > CLI):
http://www.ibm.com/developerworks/mobile/worklight
Once the CLI has been installed, you can find the worklight-ant-builder.jar file in the installation directory/public dir. For example, in OSX, the default location is:
/Applications/IBM/Worklight-CLI/public/worklight-ant-builder.jar
Hope this helps.

The documentation I was using at the time of that post was out of date.
The updated documentation is here:
http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.help.doc%2Fdevref%2Fr_ant_tasks_for_building_and_dep.html
On my comments there is a reference for a post that explains the correct way to call the ant to build the worklight.

Related

How to connect to tfs from VSCode 1.17

I have tried to connect to TFS on my VSCode 1.17.2 by installing Visual studio team services.
Please help me to solve the problem
I test the latest VS Code Version 1.22.2 and everything works as expected.
There is a thread talking about the issue here : https://github.com/Microsoft/vsts-vscode/issues/245
It seems an environment issue based on BrianFarnhill's conclusion:
So based on that I've come to the conclusion that the issue I have
here is nothing related to you guys or your extension, but something
to do with this environment for my customer and it impacting on all
extensions.
So, you can try to troubleshoot the issue based on the discussion in that thread.
If that still not work, you can download the latest VS Code Version 1.22.2, then configure it following the guide here, then check if it works for you.
You can also reference my answer in another thread to do that.

OpenCV 3.1.0 - LNK1104 with opencv_world310d.lib (Visual Studio Express 2013)

iam actually trying to get opencv running on my Computer. I allready configured the environment variables on Windows and added the Path for the includes and the libraries in a propertiesheet.
Now when i want to add additional dependencies i watched into my directory (opencv\build\x64\vs12\lib)and there are only two files. opencv_world310.lib and opencv_world310d.lib. So they are on my HDD.
I think these are the files i have to add?
I did this and then i got the error LNK1104 could not open "opencv_world310d.lib. Same with opencv_world310.lib.
Iam trying to build a example-code from opencv so there should be everything fine with it. I saw some Tutorials they did not have any issue. But they used OpenCv3.0
Is there any workaround?
kind regards
Yes. By default, opencv_world310.lib is the only file you should link with.
Or if you're building with Debug configuration, you should use opencv_world310d.lib instead.
Since the error code is LNK1104, I believe your additional library path is something wrong.
And then please check you are building x64 code not win32 code.

Smartface Creating an iOS plugin

I've installed the CLI tools.
Now what do you do in order to make a plugin.
I've tried looking at the guides however I can't figure out exactly what to do?
I'm also puzzled as to where you create the plugin whether It's on The Command Prompt or Node.js or the Smartface Studio itself.
To create a plugin, you need native environment from the system. In your case, XCode.
My reccomendation to learn plugins is this tutorial by Smartface Team: https://www.smartface.io/developer/guides/plugins/hello-world-with-ios-plugin/
This is the most basic plugin you could write, but it still shows the fundamentals of plugin writing for Smartface.
P.S. You will need a Mac to develop iOS plugins (just to be sure that you know that).
Hope that helps! :)
EDIT
I was revisiting this question and I realized that I was very vague...
To answer your question, you have to develop your plugin in Native Environment (as I said), and when you build it's package, you have to put it in the same directory of the other files you'll need (PluginConfig and all of that), and run, in command prompt, the command to make the output.zip file.
Now it's better :)

Netbeans 7.3 Clean Install: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set

First of all I'd like to start by saying that I'm actually a .Net programmer, and it so happens that I need to develop a J2ME app again today. I've have had innumerable problems developing J2ME apps with Netbeans in the past, to the extent that I have had to use someone else's laptop to do the job.
Today I installed Netbeans 7.3. Clean install. I installed the WTK 2.5.2 right afterwards. I managed to configure the platform on Netbeans and all, but once I make a J2ME app and run it I'm getting the following error message:
"Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set."
Trust me this is quite upsetting since I've looked it up on the net, and it seems the menu items to solve that problem that people have been pointing out to DO NOT EXIST in Netbeans 7.3.
I added an ANT variable: libs.j2me_ant_ext.classpath and set it to C:\Program Files\NetBeans 7.3\mobility\ant\nblib
Still not working. I'm not even sure if that's the correct path, if those are the correct files.
This is extremely frustrating. Can somebody please help?
I've encountered similar problem with nb 7.2.1, it's probably a bug which destroys a part of .properties file in those versions.
Fix your properties in file %project_folder%\nbproject\project.properties (you can copy them from such files in similar healthy projects)

How to install .CSI file for Code Signing and load app to BlackBerry?

I've developed a PhoneGap application that I intend to deploy to my BlackBerry Bold 9700. My development tools includes NotePad++, Apache Ant, Sun JDK and BlackBerry WebWorks SDK as dictated on this page here http://www.phonegap.com/start#blackberry.
I applied for Signing Keys from the Blackberry website and received a .CSI file via email. The email offers instructions for various ways of processing the .CSI file, but none of the ways explain how to do it with the current tools I have installed.
Is there an easy way to proceed with my .CSI file without installing Eclipse, Visual Studio or any other IDE? If so, can someone dictate step by step what to do?
I hope you got the solution for that. I was having the same issues. I hope my solution will work for anyone.
After getting the *.csi files from blackberry, you need to install them on your computer.
For those of you who are using Ant to build applications which described here http://www.phonegap.com/start#blackberry.
this will work you.
For installing the *.csi files in your computer you need SignatureTool.jar . This is located in your c:\BBWP\bin directory.
Next copy all the *.csi files to the above directory and run this command from the terminal in sequence.
c:\BBWP\bin>SignatureTool.jar client-RBB-2053305203.csi
c:\BBWP\bin>SignatureTool.jar client-RCR-2053305203.csi
c:\BBWP\bin>SignatureTool.jar client-RRT-2053305203.csi
If you don't have a private key installed you need to create one. And use the pin number which you used during the registration process. The installation is easy you will not have any problems with it.
Hope it helps anyone
Thank you
Try BlackBerry Ant tools. It uses ant so you need it, but this is fairly lightweight.
Look at "Signing your smartphone application" to get you started

Resources