Blackberry eclipse plugin - blackberry

How to set the BB plugin to eclipse? I have alreay installed the plugin 1.0 for o/s 6 and now
wants to add for the 4.3,4.5. Please help.

In Eclipse, go to Help-> Install new software:
In the 'Work with:' drop down, if you haven't already set it up, you will need to add a new Software Site called 'BlackBerry Java Plugin' (or whatever you like), but importantly the location should be set to http://www.blackberry.com/go/eclipseUpdate/3.6/java (if you are, as you should be, using Eclipse 3.6.n, the latest version supported)
Eclipse will then check for available plugins, but they only go back as far as OS4.5, I believe prior to that you needed to use RIM's own JDE.

Related

How to Configure SonarQube for delphi?

I want to configure SonarQube so it can analyze Delphi project too, and when I search online I saw there used to be a delphi plugin for SonarQube. But when I look at the plugins with the latest build it doesn't show the delphi plugin.
Is the plugin still available in an other way?
Or is it possible to configure SonarQube for delphi without the plugin?
As of G. Ann response was actually discontinued puglin for Sonar, but searching the internet, and recently (3 days) the developer Fabricio Columbus made it happen!
We tested and is running the current version of Sonar:
Compatible with SonarQube 4.5.x and SonarQube 5.1.2
https://github.com/fabriciocolombo/sonar-delphi
Release: https://github.com/fabriciocolombo/sonar-delphi/releases
JAR: https://github.com/fabriciocolombo/sonar-delphi/releases/download/0.3.3-SNAPSHOT/sonar-delphi-plugin-0.3.3-SNAPSHOT.jar
PS: Translated from Portuguese to English by Google Translate.
To analyze the files of language X, you need a plugin for language X that recognize's X's structure, syntax &etc. Without that you can't derive metrics (LOC, complexity, &etc.) or recognize bad code (i.e. raise issues for antipatterns.) So to answer your second question first, you won't be able to analyze Delphi code without some kind of Delphi plugin.
The Delphi plugin was deprecated quite a while ago because it seemed to suffer from a lack of interest all around & didn't evolve to maintain compatibility with the platform as it evolved.
If you look, you can find downloads of the old plugin, but to use it, you'd have to retrogress to a quite old version of the platform, & I don't recommend that. I'm not sure how far back you'd have to go - you could crack open the jar and get that from the pom - but it looks like the last mailing list activity on this plugin was Feb. 2012. So again, I don't recommend going this route.

Condition to Install DirectX End-User Runtime

I'm using InstallShield 2013 (Basic MSI Project) to create installation package for my product.
Product requires DirectX End-User-Runtime to be installed, so I created custom prerequisite for DirectX in my InstallShield solution.
I don't want install DirectX End-User-Runtime every time I install my product, so I want to add a condition for DirectX in Prerequisite Editor. My product is a 64-bit application and it requires some directX files in C:\Windows\System32 folder (At least I know that it won't work without D3DCompiler_43.dll and D3DX9_43.dll).
So, I'm adding conditions for my prerequisite:
Install DirectX End-User-Runtime if files
[WindowsFolder]system32\D3DCompiler_43.dll and
[WindowsFolder]system32\D3DX9_43.dll
are missed on target box.
I tested my installation package on two 64-bit Win7 boxes. DirectX Prerequisite condition works fine on the first box - it installs DirectX only if both D3DCompiler_43.dll and D3DX9_43.dll are missed in C:\Windows\System32. But problem appears when I install the same package on the second 64-bit box: for some reasons prerequisite condition doesn't work properly there - it tries to find D3DCompiler_43.dll and D3DX9_43.dll not in C:Windows\System32 but in C:Windows\SysWOW64 folder.
Can someone explain why it looks in SysWOW64 even if I hardcode path to C:\Windows\System32?
And one more question - probably someone knows a better way how to check if DirectX End-User-Runtime is installed on target box? I found similar topic here check registry for DirectX End-User Runtime, but I cannot understand how and where in Prerequisite Editor can I use LoadLibrary("d3dx9_43.dll") function...
In InstallShield 2013, there are 2 types of prerequisites:
- Setup Prerequisites install before the main install
- Feature Prerequisites install only if that feature is selected for
installation.
You can't call a DLL in a Setup Prerequisite, because a setup prerequisite runs before your MSI, and therefore before any of your custom actions.
If you create a Feature Prerequisite, you can set a custom action to call a DLL (such as d3dx9_43.dll that you mentioned). I am not familiar with this DLL, so I can't tell you what your custom action would look like. You can turn on or off this feature based on the result of your DLL call.

Which version of Dart Platform use and how?

I asks these questions because I assume that the main page www.dartlang.org is similar to "download page" because possible direct DOWNLOAD DART (without redirect to download page) from this page without requirement to read additional information.
When I want download Java I can read similar information on the download page.
Version 7 Update 45
This means that this is a version 7 with the 45 update. I assume it last stable.
When I want download Dart I can read similar information on the download page (www.dartlang.org).
CURRENT STABLE VERSION OF DART: 30188
How I can get information how many updates released after major version?
Is this means that Dart has 1.0 rev 30188?
In my Editor (that I use) version is version 1.0.1_r30657 (DEV). It downloaded automatically.
Which version I use?
I think it is not stable because CURRENT STABLE VERSION OF DART is 30188.
How to avoid in Editor to download unstable versions?
How to allow the Editor to download latest stable versions?
Or I must use two systems (possible virtual) separately. One for the production and another for the development?
How I can get information how many updates released after major version?
You'll have to ask Google, they're not really doing comprehensive release notes right now because it just went to version 1. In the future, major version changes might be tracked on the language spec page.
I think it is not stable because CURRENT STABLE VERSION OF DART is 30188
Well, your version isn't considered stable because it's a dev release. A release can be stable even if it's not the most current.
How to avoid in Editor to download unstable versions? How to allow the Editor to download latest stable versions?
Only download the current stable version provided by Google. Not sure how your editor is downloading something automatically, the Dart Editor downloads directly from dartlang.org are packaged with the specified version of the language.
For older builds, check this out - http://gsdview.appspot.com/dart-editor-archive-integration/ .
Updates are not counted in Dart the way they are counted in Java
30188 is a continuous build number. Not every increment is a release. In fact between two updates differ usually by more than one build number.
A stable version is never the most current. The most current are builds from source (bleeding edge) from the development branch.
If you download the development version it updates itself with updates from the development channel. If you download a stable version it updates itself only with stable updates.
You can change the configuration so that the editor doesn't download updates automatically.
Hope this helps
Additionally to the other answers: If you want to use the stable build, you have to download it from dartlang.org. You probably have the DEV version because you used the Editor before Dart went to 1.0:
All existing users that has been with us from pre 1.0 days have been automatically updated to the dev channel.
https://groups.google.com/a/dartlang.org/d/msg/misc/UXRMVmX_6EQ/CSEHZ5c_HBYJ
I guess you have downloaded Dart Editor before the release of the first stable and you are updating it right from the Dart Editor environment. The version 1.0.1_r30657 (DEV) you wrote is the unstable dev release (as it was before the release of the first stable) and it automatically updates only to the dev releases.
For the latest stable release, you should download the current stable version of Dart 1.0.0_r30188 (STABLE) on the Dart Editor website https://www.dartlang.org/tools/editor/. It automatically updates only to the stable releases.
P.S.: If you want to get back the dev version, the link is right under the stable download link on the Dart Editor website

Changing Grails SDK in IntelliJ IDEA Doesn't Work on Plugin Modules

IDEA 11.1.2
I have a Grails app I need to upgrade. The application consists of several modules. One being the application and a few others being plugins. I right clicked on the application and went to Grails -> Change SDK Version. I chose the version I wanted, then IDEA asked me if I wanted to upgrade the application. Clicked yes and all was good.
I've been trying to do the same thing on the plugin modules. IDEA never asks if I want to upgrade and it doesn't appear to change the SDK. If I upgrade the modules from the command line, when I come back to IDEA, it thinks there is a version mismatch and automatically downgrades me without even asking.
Is there a workaround for this?
It worked for me in this IDEA version. Make sure that you change Grails version in application.properties of all plugins:
app.grails.version=2.1.0
Then right-click on every module (plugin), Grails, Change SDK version. It should be changed already.
Have exactly same problem - app + plugins wich requires different SDK (for testing).
After some investigation found that it's an IntelliJ IDEA bug IDEA-114418. So, I think, it will be good if you'll vote for this bug there too.
I also had the same bug. I took extreme measures to rectify it.
I deleted the old grails from the Global Libraries. Go to file>Project Structure > Global Libraries . It should complain that this is used by a module.
Then I had to add grails framework support, but added the new one.

BlackBerry JDE Eclipse install

Installing BlackBerry's JDE in Eclipse, via Help > Install New Software, it fails with this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: BlackBerry Java Plug-in 1.1.2.201004161203-16 (net.rim.EclipseJDE.feature.group 1.1.2.201004161203-16)
Missing requirement: BlackBerry Java Plug-in 1.1.2.201004161203-16 (net.rim.EclipseJDE.feature.group 1.1.2.201004161203-16) requires 'org.eclipse.help [3.4.0,3.5.0)' but it could not be found
Also;
I downloaded pluging(full installer) setup, but not it doesn't work. I work on win7, it says me Select another path for install, I tried everywhere... nothing changes.
ITS OK. I DOWNLOADED eclipse-jee-galileo-SR2-win32 version. I am downloadng content from blackberry now... But I have a problem about installing plugin manually.!!
I had this exact kind of problem. Worked on it on and off for over a week. Never got a good solution. I noticed that when I did the install it was saying "blocking" and it would take several hours to do the install. I tried it from work and from home. It still took hours. Most of the time it failed. One time it finally worked (or seemed to), but there were missing menu options. I suspect the error message is wrong.
Short answer, I've gotten marginal success using an alternate method of install. Try this:
http://us.blackberry.com/developers/javaappdev/devtools.jsp
Click on "Download the BlackBerry Java Plug-in for Eclipse v1.1 (full installer)"
It seems to install correctly and MUCH quicker (on the order of a few minutes as opposed to hours), no error messages, no warning messages - and the expected menu items are there.
Good luck.
Note: I still have the problem that I can't get the damned applications to install on the phone even though they work in the simulator, but I'm reasonably confident it's not because the JDE installation failed.
BlackBerry Java Plug-in ... requires 'org.eclipse.help [3.4.0,3.5.0)'
The key takeaway from the error message is that org.ecilpse.help is missing. What do you know about org.eclipse.help?
Use Eclipse to install the BlackBerry Java Plug-in.
Choose Help > Install New Software.
Click Add.
For Name, type BlackBerry Java Plug-in Update Site.
For Location, type http://www.blackberry.com/go/eclipseUpdate/mac/java.
Click OK.
Select BlackBerry Java Plug-in and at least one BlackBerry SDK. Choose the version of the BlackBerry SDK that is compatible with your intended target market.
Click Next.
Review the items being installed, and then click Next.
Review the license agreement, and then check I accept the terms of the license agreement if you agree.
Click Finish to begin the installation.
After the plug-in is updated, you'll be prompted to restart Eclipse.

Resources