Compilation of firefox extension with xulrunner-sdk-9.0.1 - firefox-addon

I have a FF toolbar working in all previous versions. I've compiled it with xulrunner-sdk-9.0.1 and created new xpi. Now on attempt to install the toolbar (dragging xpi onto browser) I'm getting a following error:
ToolbarName could not be installed because it is not compatible with Firefox 9.0.1
Can somebody tell what's special with Firefox 9.0.1?

This error message indicates that the extension is not marked as compatible with Firefox 9.0.1, it is really only about extension metadata. Typically the install.rdf file of your extension will contain something like this:
<em:targetApplication>
<Description>
<!-- firefox -->
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>9.0</em:minVersion>
<em:maxVersion>9.0.*</em:maxVersion>
</Description>
</em:targetApplication>
In your case it seems that maxVersion is some smaller value - update it and try again.

Related

DartEditor and SDK version 1.9.0-dev.3.0 do not display error hints in .html links

I am using DartEditor and SDK version is 1.9.0-dev.3.0 as Dart eclipse plugin.
The current versions do not display warning or error hints with incorrect links in the .html files.
Consider the following
<link rel='import' href='../../../../packages/polymer/polymer.html' >
<link rel='import' href='packages/html_components/input/select_item.html'>
The first link is correct, the second is not. However, there is no hints or warnings displayed on the page. This only occurred after I updated to the current version from the previous DEV version of Dart.
However, when I run the dart application is Dartium, the error is displayed to the console. It seems as if something is broken in Dart SDK 1.9.0-dev3.0.
Thanks

Build a Chrome Packaged Application in WebStorm 8

I would like to switch from Dart Editor to WebStorm 8. But I am not able to compile my project as a Chrome Packaged App. I can simply run the HTML Files, which are completely ignoring my manifest.json and all chrome specific libs I'd like to use.
Can anyone give me suggestions how to add such a run configuration? Many thanks in advance!
Are you talking about building or debugging your chrome app?
AFAIK, you don't need to compile anything to debug your dart chome app.
You just have to create the right manifest.json and its background.js file to create the window/service.
If so, you can load your project directory directly in dartium by using the load unpacked app feature or by using the official chrome app developper extension.
If your manifest.json and background.js are fine, your app ll show up in a dedicated window.
Then, you just have to do a right click + refresh the application inside the chrome app window to apply the code changes.
It completely works for debugging, but i never tried to build a release from WebStorm...

Titanium SDK 3.1.1 issues

When the app was upgraded from 2.1.4 to 3.1.0, the targets were updated successfully as shown in TiApp.xml
But when upgraded from 3.1.0 to 3.1.1 it became this -
Please let me know what I missed to make these deployment targets active.
Thanks in Advance.
EDIT :
No error messages - i'm not able to build my application. I have -
Xcode - V4.6 and
Node.js - V0.8.22
click on ?. It shows the message. In that way you can get idea of what should be the problem.
Check your Titanium dashboard and check under the heading 'Get started' if your Native SDK's are correctly configured.
Check your Titanium settings (preferences -> Studio -> Platforms) if all settings are correct.
Toggle to XML view (bottom Overview | tiapp.xml) in tiapp.xml and manually change the deployment targets
<deployment-targets>
<target device="tizen">false</target>
<target device="mobileweb">false</target>
<target device="iphone">true</target>
<target device="ipad">false</target>
<target device="android">true</target>
<target device="blackberry">false</target>
</deployment-targets>
Turns out that the SDK's download was interrupted multiple times and even though there was a folder named 3.1.1GA, it hardly had about 30 MB of files.
For others facing the same issue,
At the path /Users/Admin/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA
please check whether all the files are present (roughly about 500MB). If not, delete the folder,restart Titanium Studio and start the download again.

Proxy extension not installed

According to this manual I tried to set the proxy extension.
In my_prof_dir/extensions there was my already installed and working (unpacked) extension named my_guid.xpi.
I created a file named my_guid and the content was "path_to_my_extension_directory". I deleted my_guid.xpi and restarted Firefox. After restart Firefox deleted my_guid file
and extension is not installed any more.
Should I do something different?
version: Firefox 8.0
thank you
You shouldn't change the way an existing extension is installed (i.e. directory/xpi -> "pointer file"). Does it help if you start with a profile where your extension is not installed at all, close Firefox, then add the pointer file?
If not, you should check:
the exact path, name, and contents of the pointer file. (Pay attention to the tips # MDC.)
check that the path format you're using matches your OS native paths
check the output in the Error Console after setting extensions.logging.enabled preference in about:config, then quitting Firefox and installing your "pointer file" to the extensions/ directory (for details see Setting up extension development environment).
Does the extension get installed if you copy all content (when Firefox is closed)
from the folder pointed to by the "proxy/pointer" file
to the folder named exactly as the pointer file (you'll need to delete the pointer file first).

Blackberry application description text error for more than 255 characters

I am using the BlackBerry_JDE_PluginFull_1.1.2.201004161203-16 (BlackBerry JRE 5.0.0). Previously i had used the BlackBerry JDE as i shifted to Eclipse plugin since BB JDE is not supporting on importing the external jars to project and creation of single cod for same.
So I have imported my BB JDE 5.0.0 proj to Eclipse plugin using Blackberry Legacy project it successfully imported but it gives error in BlackBerry_App_Descriptor.xml at Application Description.
What i noticed:
If Application description text length more 255 it gives error. If app description is less than or equal to 255 then it doesn't gives an error. My app description is upto 288.
The same thing works in BB JDE.
Can any one help me on this.
Thanks,
I haven't tried this but my guess would be that you view the App Descriptor, click on "Internationalized resource bundle available", and set the "Description ID" to a description you have in your localization file.
Note: This only applies to the visual app descriptor. If you're actually editing the XML then I would recommend switching to the visual view.

Resources