I recently showed how to set up Cordova in NetBeans IDE 7.4, on Windows:
And today I succeeded with the same thing on Ubuntu:
Above you see my address in Amsterdam identified via the Cordova maps sample distributed with the IDE deployed in my Android emulator.
As always, the slew of folders and files that Cordova works with are well hidden in the Files window, while the Projects window shows only the files you're most likely to need to work with when coding:
Most of the time, you'll only have the Projects window open. When you build the application, the target (e.g., Android) build tools are used, with all generated and downloaded files only being visible in the Files window.
The main task to achieve setting up Cordova is the procedure of setting up node.js. Once that's done, the rest is not hard, but that's shown in the YouTube clip linked above. All the instructions are here. Also, read the blog entry today on this topic in the NetBeans WebClient blog.