Build Netbeans from sources: Can't open the Netbeans sources in Netbeans - netbeans

I have downloaded the Netbeans sources (v8.1) to make a small change in Netbeans.
So I followed the instructions on that page:
http://wiki.netbeans.org/WorkingWithNetBeansSources
Imported the Netbeans sources with Mercurial: $ hg clone http://hg.netbeans.org/main-silver/. Works.
Build a new fully functional Netbeans Dev Version from the commandline with ant. Works.
According to the instructions I should be able to do that: "The whole source tree has NetBeans project metadata so you can just use NetBeans to develop NetBeans". But that doesn't work.
That's my environment: Netbeans 8.0.2 64Bit, Java 8, Ant 1.9.x, Mercurial 3.6.2. The sources are from 8.1.
As you can see in the screenshot below, the modules (like ant.browsetask or ant.debugger) do have a directory nbproject, but this directory contains only two files: project.properties and project.xml. Shouldn't there be more files? Are these two files sufficient for Netbeans, so it can be recognized as a project?
So how can I open the Netbeans sources in Netbeans?

Ok, I found the solution by myself.
Netbeans needs to have the plugin 'Netbeans Plugin Development' installed. I uninstall it usually, because I don't do that, but now's an exception.

Related

Problems creating a project with CodenameOne in Netbeans

Install Netbeans 12.6 on a Windows 10 machine. I was able to install the CodenameOne plugin with no problem. When creating a project I get the following error message:
Cannot invoke "org.openide.filesystems.FileObject.getFileObject(String)" because "folder" is null
I've been surfing the internet and can't find a way to fix it.
Thank you for your support.
This approach is no longer supported. The plugin is only used for legacy applications and no longer works in newer IDEs due to breaking changes in almost all IDEs.
Starting with Codename One 7.x we moved to maven projects which don't require the plugin and can be created in https://start.codenameone.com/
I have followed the instructions in the manual and it mentions as important:
"Before opening the project in NetBeans, you need to copy the contents of the tools/netbeans directory into the root project directory. These files are required by NetBeans to build, run, and debug the project correctly. "
But I can't find this folder in netbeans version 12.6.

Why aren't the Subversive plugin options appearing in my Eclipse projects?

I’m using the following version of Eclipse on Mac 10.9.5 (actually SpringSource Tool Suite):
Version: 3.7.0.RELEASE
Build Id: 201506290652
Platform: Eclipse Mars (4.5.0)
I’m trying to install the Subversive plugin for use with my Maven projects (using SVN). I downloaded the zip file from their website, Then i created the following directory:
/Applications/STS.app/Contents/Eclipse/dropins/SubVersive/
I unzipped the plugin into this directory. Then I restarted my Eclipse instance. However, upon right clicking on my projects from the Package Explorer, I do not see any options for checkin under “Team”. On a command line, these projects do have “.svn” directories and I can use SVN fine on the command line. What else do I need to do to get Subversive to install?
Why don't you follow this instructions?
https://eclipse.org/subversive/installation-instructions.php

Installing a Plug-in into Eclipse from its source code

There is a plug-in which can actually be found in its dedicated update site and installed from there into eclipse. But for my project, I need the most up-to-date version of this plug-in which can be found it its source code within the GIT repository. So I have downloaded a clone of the source code from the GIT repository into Eclipse. It all looks right, but in the end I need this source code to be compiled and installed as the plug-in into my Eclipse Development IDE (not in a runtime environment!). What are the next steps I need to follow? I would be very glad, if you could hepl me.
Thanks a lot!
The question "Installing an Eclipse Plugin that you've compiled from Source?" mentions two ways:
use the export wizard: File/Export, look for export Deployable plug-ins and fragments, select the compiled plug-in, and then in the lower half of the page select Install into host repository.
Or export your plug-in into a directory, and then copy the directory into the dropins folder.
Check "Eclipse plugin developed under Helios doesn't show in Juno" if you have troubles to make your plugin visible after installation.
You can test a plugin with "Launch an Eclipse application" under "Testing".

JCDE plugins in Eclipse doesn`t work ,java card

I copy the eclipse-jcde-0.2 into eclipse'plugin folder ,but the plugins in eclipse doesn't work, Do I still lack of something necessary such as FEATURES folder and how can I get the features ?
OS:windows
Eclipse version :3.2.
It is working fine for me.
I have followed exact instructions from the link eclipse-jcde
Only changes I have did is I have used Eclipse 3.5 instead of eclipse 3.2
For Installation in Eclipse 3.5 follow the below steps.
After downloading Eclipse 3.5, inside eclipse folder create plugins folder (if already not present.)
Paste all the jar files from the downloaded zip file (eclipse-jcde-0.2.zip\plugins folder) to plugins folder (there are 8 jars)
Start the eclipse in -clean mode.
To Start eclipse in clean mode : On the eclipse folder right click and open command prompt, then issue the command eclipse -clean.
Now follow the instruction to set the path for java-card-dev-kit-home as mentioned in the above link.
I am able to create java card project and applet and even start the JCWDE simulator as well.

Qt Eclipse Integration not working

I was hoping to use the Qt plugin with Eclipse. The installation is very simple - just expand a tarball in the appropriate directory. After doing so, I can see trolltech folders under eclipse/features and eclipse/plugins. However, when I try to create a project, I see no sign of any Qt option. Nor do I see Qt listed in the Installed Software listing of plugins or features.
Eclipse: Galileo Build 3.5.2
CDT: 6.0.0.2
O/S: Ubuntu 10.10 i686 2.6.35-28-generic
Plugin in tarball: qt-eclipse-integration-linux.x86.1.6.1.tar.gz from here: http://qt.nokia.com/developer/eclipse-integration/
Starting Eclipse with -consolelog -debug didn't offer any enlightenment
Have the Qt plugins aged past their use-by date?
Update
Installing to /usr/share/eclipse is a mistake
Installing to /usr/lib/eclipse works
I would suggest that that the instructions on the Qt page could use some revision. Instead of saying:
Find your eclipse/plugins folder
It might be better to add: The eclipse folder should contain the eclipse executable, eclipse.ini, the plugins directory, and the features directory.
This would have kept me from being fooled by /usr/share/eclipse, which has a feature directory and a plugins directory, but is not the correct place to install additional plugins.
Try untaring under the dropins directory instead. Modern versions of Eclipse will not pickup plugins overlaid over the existing plugins and features directories. If dropins doesn't work then these plugins declare dependencies on older versions of eclipse components.
Find out where your eclipse installation lies in terminal. I have mine extracted to ~/tools/eclipse/
$ which eclipse
Navigate to the folder and extract the plugins into the plugins folder, the features into the features folder.
Start Eclipse back up and go to Window->Preferences->QT. Click Add and navigate to the executable directory. For me as of version 4.8.1 it was in /Qt/Desktop/Qt/4.8.1/gcc/bin. The includes directory auto updated to /Qt/Desktop/Qt/4.8.1/gcc/include, click Apply and restart if necessary.
After this I can create a new Qt Gui projects, Qt gui classes, Qt resource files and Qt console projects in addition to Qt Designer forms.