Updating Old Thunderbird Plugin - xul

I'm looking to update the Mozilla Thunderbird plugin found here. The current version was produced in 2007, and doesn't even allow thunderbird to install it. I was wondering if someone could point me in the right direction of where to start, or maybe even point me in the direction of a plugin that does the same thing.

Most of the knowledge for Thunderbird addons is located at https://developer.mozilla.org/en-US/Add-ons/Thunderbird ; the addon you can download from addons.mozilla.org is a mere .zip file so you can definitely look at the source and modify it. https://developer.mozilla.org/en/Setting_up_extension_development_environment contains instructions to setup a development environment, which will allow you to catch errors and figure out why exactly the plugin no longer works.

Related

Getting set up with intelliJ IDEA

Really basic question here but this has always stopped me from using any JetBrains product, but here I am trying once again. I also have the same issues with CLion but that will be for another time and hopefully I can figure it out based on some feedback from this post.
I need to set up my environment in IntelliJ. Nothing special. No build tools. Currently I just run my school projects using
javac Main.java
java Main
This has gotten me so far but I really want to use IntelliJ tools to their full capacity.
I want to be able to set break points and step in and out of my code in their debugger and all the other nice tools that come with running my code through IntelliJ
Every get started tutorial that I have watched on YouTube or from JetBrains themselves already has a basic build configuration set up to run your basic "Hello World" application and that is what I think I need. Just compile my java files into classes and run/debug them.
This is what the run configuration icon in the IDE should look like
And this is what mine currently looks like
I have set many different JDKs to go along with my projects but none of them seem to get the tools I need set up in the IDE. I have even let IntelliJ download one for me and set it up itself to see if maybe I downloaded and installed it wrong and IntelliJ maybe wasn't recognizing it.
This picture below is showing the project structure for an application that I let IntelliJ download a JDK for and set it up itself
So if someone could help me that would be fantastic. Links to videos, blogs are welcome even though I know that isn't the convention on this forum but I think that would be sufficient for my situation. Thanks in advance!
---Update---
I have found that if I create a project in IntelliJ that I get all the default configurations that I need. The problem is when I need to get a project from VCS that I am not getting any of the configurations that I need to run/debug my program in IntelliJ.
The easiest solution here would be to click the green play button next to your main method, on the left where line numbers are displayed.
Intellij will configure a default java run configuration for you. It will be displayed in the menu for later use, like in the screenshot you posted, after your first run.
You can also create one using the to menu: Run > Edit run configuration to add some more options like arguments, environment variables (that only apply for the run config), etc.
A good starting point would be the Intellij help page on that topic. This help pages are always a good start and you find comprehensible instructions there on every topic.
Another good resource is the Intellij by JetBrains YouTube channel. This video about debugging shows both ways I described above. They have lots of quick tutorials about lot of features, like code generation or build tools. Check out the channel's playlists for specific topics.
Update
The problem with the already created project is that the default/ folder is not marked as source folder. You can do that by File > 'Project Structure...' and set the default/ folder as Sources:
The cause for intellij not recognizing this is because you didn't use a folder structure like the one of maven.
For source code:
src/main/java
src/main/resources
and for tests:
src/test/java
src/test/resources
If you set it up that way IntelliJ everything works as expected. I created a pull request to your repo. If you check out the branch, IntelliJ will setup everything correctly automatically.

VSTO version 40820 download link

Where I can download VSTO Office Runtime version 10.0.40820?
I need link for this specific version, NOT for the newest one (http://go.microsoft.com/fwlink/?LinkId=158918).
Why I need this specific version? I created custom InstallShield .PRQ for VSTO that download file from web and checks if file is not corrupted using MD5 hash.
If I use generic download link and MS will deploy new version of VSTO then setup will complaint about corrupted file.
InstallShield has abstractions in their PRQ file that are meant to help but I have found problematic.
First, the PRQ itself can have a URL. This means that at runtime the PRQ embedded into the setup.exe will go try to download a newer version of itself from this URL. If this happens, the new XML is used and yours is ignored. This sounds like a good idea to keep things fresh and up to date but the CM Nazi in me see's this as a man in the middle vunerability that compromises the integrity of the build.
The second is that your XML or the downloaded XML both have URL attributes on the individual files. Again the CM Nazi in me says that while this seems like a good idea, it's really inserting an external dependency that isn't under my control and again violating the integrity of the build.
If it was me, I'd never use InstallShield and/or Microsoft URL's in my PRQ files. Host the content yourself and do change management of that so you can have complete control. If longevity of the build is desired then don't use web downloads in the first place. Bake it all into the EXE.
As for the exact question you asked, I'll have to google for it. But really I'd probably just move onto the latest version and then implement the above advice starting there.

How to open an sshfs-project in Adobe Brackets editor

adobe-brackets is an open source code editor for the web, written in JavaScript, HTML and CSS.
Although I followed the instructions on how to open a Project ( see also How to create a new project in adobe-brackets?) this does not work for my project-directory which is mapped via sshfs.
Brackets will show the sshfs directory but without any contents. (neither files nor subdirs)
Opening other locally stored directories works like a charm.
Any hints/suggestions?
Update: This is fixed in the latest release of Brackets, Sprint 34. You should now be able to open files on SSHFS file systems with no trouble.
original answer:
What platform are you on? If Linux, you might be seeing bug #5292, which is currently under investigation.
If not, it might be best if you just file a new bug specifying your platform and any other details, and then the Brackets devs (of which I am one) can take a look. When reporting a bug, always check the console log via Debug > Show Developer Tools and paste any exceptions there into your bug report.

automate setup of IBM RAD and Websphere

In a project we a forced to use IBM RAD and Webspher Application Server (6.1).
Setting up the development environment is currently described in about 10 pages of wiki documentation and takes about a day if you don't do any mistake. The main parts are:
Installing the IBM Installer;
Use it to install RAD
Install a patch to the Installer;
use it to install half a dozen patches to RAD
create a network drive pointing to ...
checkout project source to ...
install WAS
configure the a WAS instance with two jdbc drivers, 6 datasources, a queue ...
I think you get the idea
I'd like to automate that process (or at lest 95% of it) to something like.
start script x.
On prompt enter a directory with at least yGB of memory available.
Get yourself a cup of coffee
start working.
What are the proper tools to get this working? Should I use something like puppet and chef? Or is that overkill and I can just zip the installation directory and change 2 registry entries?
Has anybody experience with this? Any pointers to get started?
You can script the configuration of WAS using wsadmin:
http://pic.dhe.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=%2Fcom.ibm.websphere.base.doc%2Finfo%2Faes%2Fae%2Fwelc6topscripting.html
It is some effort to learn how to do so but in the end it saves a lot of time. You need to use Jython or Jacl to do so.
WAS profiles can be created headless with a response file. Use manageprofiles.bat in bin directory of WAS to do so.
Regarding RAD installation you can install the IBM Installation Manager version you need to install the patches right away and then install everything in one shot. Add the fixes you need as Repositiories right from the beginning. The fixes will be installed instead of the old versions in this case. You should have the base images and all fixes on the local disk to do so.
The installation of RAD itself can also run in headless mode but I don't have any experience in doing this.
The configuration of the RAD workspace is the next thing you want to automate. This is not so simple to do. The simplest thing you can do is to export the workspace preferences of a workspace that contains all settings to an eclipse preference file (.epf). File -> Export
This is not a complete solution but may help you a bit. Be sure to keep all settings in just one file and import that into a fresh workspace.
Use Notepad++ TextFX plugin to sort the settings in the epf file. You can then figure out which settings you need just by looking at them.
More control over the workspace settings and automated conifiguration requires accessing eclipse internal APIs and some coding.
Regarding the the project sources it depends on the SCM you are using.

How to browse Metacello repositories in Pharo Smalltalk?

I have downloaded Pharo 1.2.2 #12353 and wanted to install some packages in a easier way than going through Monticello Browser. I do not want to copy and paste scripts to install packages. After I opened the Menu, Tools, Configuration Browser a new window is shown with 3 ConfigurationOf...
ConfigurationOfFFI
ConfigurationOfMagma
ConfigurationOfVistaCursors
There is no help or description of what's the purpose of the Configuration Browser. What's one supposed to do with that?
there is no way to select a repository of configurations
there is no menu option to add a ConfigurationOf
there is no way to browse the Configurations from that window
Besides, is that the right tool to browse a "Metacello Repository" like http://www.squeaksource.com/MetacelloRepository.html ?
There is a custom browser to Metacello? Why isn't included in the release by default?
You can give MetacelloBrowser a try. It is aimed at providing a Metacello-centric interface for managing your project. The browser is still in development, but can be used for many tasks quite nicely.
If you decide to take it for a spin, please submit any issues here. Join the Metacello mailing list if you have any questions or comments.
Dale
Please report an issue about the Configuration Browser at http://code.google.com/p/pharo/issues/list and post your difficulties to the Pharo list. I played with the tool too and couldn't understand it either.
see
http://lists.gforge.inria.fr/pipermail/pharo-project/2011-December/057409.html
and for its origins:
http://code.google.com/p/pharo/issues/detail?id=2752
The ideas is that we have an own Squeaksource repo (universe) for a
specific Pharo version where we have a copy all the ConfigurationOfXXX
that are known to work in this specific Pharo version.
Since nobody (yet) mainted the one for Pharo 1.3 the browser is just empty.
I will try to find the time to fill the repo for Pharo 1.3