Based on material by Don Batory (link).
Here is an index to this document:
Creating a FeatureIDE Project from AHEAD Source
Follow these steps in order:
Note: If you already have a set of .jak files in directories, let FeatureIDE create the directories as above. Next, copy the contents of your existing directories (with the same name) into the directories created by FeatureIDE. (You don't have to stop Eclipse to do this). But you'll notice that Eclipse doesn't see these files until you do a File->Refresh.
Create a configuration file: New->FeatureIDE->Configuration file.
Note that you can have any number of configuration files. But only one will be the current (which you can designate).
Note in one of the bottom tabs, you'll see a Collaboration Diagram. Read this diagram as a 2D array. Row corresponds to a selected feature in your configuration, and a Column corresponds to a Class. An entry indicates the number of fields and methods that that particular collaboration role adds. Note also, there is no distinction between methods that refine and methods that are new.
Every time you update either your current configuration file or any file in a feature directory, features will be composed in SRC, translated to Java and then to .class files in the "default" package. Note in this example, there are LOTS of errors (26 to be exact). It can be much more. The problem here is that the default order in which features are composed by FeatureIDE is exactly in the reverse order for AHEAD. (Hint: AHEAD's order is likely wrong and FeatureIDE got it right). You can see this problem if you select a .jak file that you know must be extended, and extensions are missing (in the video below, this is the Node.jak file). You need to reverse the order of the features (confirm by looking at the source of this configuration), and there should be an automatic rebuild once you save your FM.
Initially, FeatureIDE may not know what your Main class is. You will need to manually select this class in the Package Explorer window, select Run As->Java Application. Henceforth, you should be able to just use the Run button on the Eclipse Menu Bar.
Note: because of the way Eclipse works, there is no need for the unmixin tool. Every time you update a file in a feature directory, the current configuration is built.
You have two different feature models that you want to compare. Here's how you can do it:
This process should eventually be simplified. A video is to follow.
Beware: I don't know if this really works.
Suppose you have an AHEAD source directory, and you want to create a corresponding FeatureIDE project. Here are the steps:
Create a new FeatureIDE Project
Right-click model.xml, FeatureIDE->Import Model from GuiDsl format and select your .m file
Doing so creates all the directories.
Now go an copy your AHEAD feature directories into the features/ directory of your FeatureIDE project and do a File->Refresh