Archive for the ‘Uncategorized’ Category
Custom Made NT Service – VB.NET
Hello,
I’ve developed a small Custom Made NT Service that will allow you to start, monitor, restart and troubleshoot all sort of files that need to be up at all times.
This NT Service can monitor an unlimited number of processes, in my case I use it to monitor 2 Etherpad Lite and 1 qwebirc.
If you like it, you may also try to improve it (I wrote it in a few hours) and post it back here.
I had to PDF it because WordPress doesn’t allow to post a zip file SVCMonitor.vb app.config.
HTH,
Roberto.
Errors while building your first phonegap/Cordova project
When creating your first PhoneGap project you might bump in several errors. The documentation is rather confusing and made by someone whose obviously been using this program long enough to take most things for granted. I post below my notes on every error I encountered and fixed. I hope this helps:
“Cannot find C:\BlackBerry 10 WebWorks SDK 1.0.1.17\bbwp.exe. Please edit ‘blackberry.bbwp.dir’ in your ‘project.properties’ file”
Strangely enough, by default, Cordova is configured to use a bbwp.exe which does’t actually exist in the blackberry SDK.
In your project, open blackberry.xml and change
bbwp.exe into bbwp.bat
“C:\Program Files (x86)\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.17\simpack does not exist.”
If you have update correctly the variable blackberry.sim.dir then you also have to update the blackberry.xml (this step for some reason is not documented).
Change {properties.blackberry.bbwp.dir}/simpack into {properties.blackberry.sim.dir}/
“C:\Program Files (x86)\Cordova\lib\blackberry\sample\build\StandardInstall does not exist.”
It seems that blackberry.xml simply misconfigured and they forgot to create this folder.
Add
“The directory C:\Program Files (x86)\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.17\mds does not exist”
I had to install “BlackBerry® Email and MDS Services Simulator” and then register the “blackberry.mds.dir” in the project.properties/
Now the project ran successfully.