Problem setting up Blackberry development environment on Elcipse - blackberry

I am following the Slashdev Blackberry development tutorial to setup BB development environment.
I am done with the first part of the tutorial, when i follow the second part.
then I get the following error on building the HelloWorldApp via Ant:
BUILD FAILED
C:\Documents and Settings\acernet135\workspace\HelloWorld\res\build.xml:16: jde home must be a directory
Total time: 172 milliseconds
Any help? How to sort this out? Thanks

Those instructions are pretty old. You should look at the latest JDE Plug-in instructions and also look at my Windows 7 notes about this process.

Related

I can not use OpenCV with Eclipse (plugin CDT) on windows 10

Hello all,,
My objective is to use OpenCV with Eclipse (plugin CDT). Firstly, I downloaded the CDT plugin from help ยป install new software. After that, I added the correct cdt 9.2 url and after downloading the whole 34 files, eclipse had to restart.
After applying all the steps in this link
http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html
I got these errors in the screenshot
errors
Best Regards

Visual Studio iOS deployment fails because "The edge module has not been pre-compiled"

I am trying to deploy a HTML/CSS/JS Apache Cordova application from a windows machine to a Mac. I believe they are communicating properly through the remotebuild agent but when I attempt to build a blank project to deploy on the Mac this error is thrown at the very beginning of the build:
MDAVSCLI : error : The edge module has not been pre-compiled for node.js version v4.1.1. You must build a custom version of edge.node. Please refer to https://github.com/tjanczuk/edge for building instructions.
I have followed the link and have searched for the solution as to how to fix this error but the link does not seem to apply to what I am doing at all. I am not using any node.js functions in my code so I am confused as to why this error is occuring. I am only trying to build a nearly blank HTML page and I still get the error regardless of how simple I make the page.
How can I go about fixing this solution? what is the best way to get rid of this error or to as the error suggests pre-compile edge to work with node.js version 4.1.1?
There is an issue with Cordova 5.3.1 and Node v4.
https://github.com/Microsoft/cordova-docs/blob/master/articles/known-issues/known-issues-ios.md#building-for-ios-hangs-when-nodejs-v40-is-installed
I fixed by uninstalling Node v4.1.1 and installing Node v0.12.7
https://nodejs.org/en/download/releases/
#Dustin,
you have a misconception about how Cordova works. You say you want to deploy to a Mac, but I think you mean iOS. If so, you should read:
What's needed for iOS Development?
https://groups.google.com/forum/?fromgroups=#!topic/phonegap/bf1Hgkel3W4
I Quote
The short and sweet of it is as follows:
You need OS X + Xcode
You need several iDevices
You need $99/year for Apple Developer program (which you've already indicated is not a problem)
All of the above = cost-of-doing-business.
If you read the entire thread (especially the part from Kerri Shotz), you will get more information and more options.
Best of Luck
After losing a fair bit of hope and following a lot of posts, blogs and bug work-arounds with no luck I decided to click on the 'Run Dependency Checker' button in Visual Studio - Tools -> Options -> Tools For Apache Cordova -> Cordov Tools. This checker told me that Joyent Node.js wast installed. I did have node.js and npm set up on the latest version, im not sure what the difference is.
I went through the process of modifying the VS installation (change or remove a program) and sure enough Joyent Node.js wasnt checked. I cheked it and it went through the process of installing.
My VS installation now looks like the below and my project is building without:
MDAVSCLI : error : The edge module has not been pre-compiled for node.js version v4.1.1

Unable to find ant program

I am an experienced (but retired) Windows software developer, with more years experience than I care to admit, developing in C++, C#, VB and Java. I therefore decided to have a crack at Android development. My development machine is a Windows 7 box. My IDE of choice would be Microsoft Visual Studio but, for now, I am happy doing hand editing and launching tools from the command line.
I started by downloading the Android SDK and various additional items it suggested. I then started working my way through the tutorial at developer.android.com/training/basics/firstapp. Android list targets gave me a couple of choices (Android 4.2.2 and Google APIs:17). I then did Android create project from the command line and that appeared to do its stuff, creating MyFirstApp in my development folder. I then ran Android avd and created an emulator. I also added the android SDK's tools and platform-tools to my path. So far so good.
I fell at the next hurdle. The tutorial told me to change to the root folder of my project and run ant debug. At this point, Windows reports:
'ant' is not recognized as an internal or external command,
operable program or batch file.
I've searched around for ant.exe without success. Did I miss installing something or did I miss a vital step in the set-up? Any advice for this very green newbie would be greatly appreciated.
There is no ant.exe. Only ant.bat. Ant is a Java build tool.
If it comes with the Android SDK, make sure its bin directory is in your PATH environment variable. Otherwise, download it (from [http://ant.apache.org][1]), and follow the installation instructions on the web site.
Normally, simply unzipping it, putting its bin directory in the PATH envieonment variable, and setting a JAVA_HOME environment variable that points to your preferred JDK directory is sufficient.

How to setup eclipse with blackberry jde's already installed on Windows 7 machine?

I found many posts on the forum regarding this problem which navigates me to No Page found error.
Does any body know how can I add the Blackberry JDE's that already installed on my machine.
Any help is appreciable.
Thanks in advance.
Thanks zechariahs for the reply,
Actually, My main problem is that,
I am using Windows 7 machine which is 64 bit supported both OS as well as machine H/W.
I tried a lot to install the Blackberry in Eclipse - Hellios, Galilo of 32-bit and JDK 1.5
Also tried with same for 64 bit and JDK 1.6
but it is not at all getting installed.
By reading post, I tried with
h:\New\eclipse\eclipse -vm C:\jdk\jre\bin\javaw.exe command also,
but no success.
Any how I wanna run Blackberry program on My 64-bit Windows 7 Machine,
Can you please suggest any thing ?
The Blackberry eclipse plugin is for 32bit version of Eclipse and Java sdk.
You must install all 32bit version.

Error when updating BlackBerry JDE Plug-in for Eclipse (v5.0 Beta 3)?

I tried to update Blackberry JDE plug-in for eclipse from v4.5 to v5.0 Beta 3.
I followed the instructions in this page:
http://na.blackberry.com/eng/developers/devbetasoftware/updatesite.jsp
but unfortunately I got the following error while updating:
An error occurred while collecting
items to be installed. No repository
found containing:
net.rim.eide.feature.componentpack5.0.0/org.eclipse.update.feature/5.0.0.14
How this could be solved ? Any suggestions ?
There is an error with eclipse 1.1 that doesn't sometimes prevents installation from their online repository. But this doesn't seem to be the case with you since it it says no repository found. Maybe the beta versions have a different URL?
I would suggest downloading it to a local disk and installing it from there. The exact procedure is -
What i did was i downloaded BlackBerry JDE Plug-in for Eclipse for JDE 4.7 and 4.5 seperatly and from which you get zip files. Then go to software updates and then to available software. Click on add site button and select archive button. Browse whre have downloaded the Plugin archive and install it. After you have installed all the JDE plugins you will get options for changing the JDE version.
Edit: I just came across this thread, and the method described above might possibly not work - How can I install the BlackBerry v5.0.0 component pack into Eclipse?
Take a look at this thread:
How can I install the BlackBerry v5.0.0 component pack into Eclipse?

Resources