NetBeans automation? - netbeans

Did anyone go from VS to NB?
Is there a functionality in NetBeans (I have v8.2 a portable 32 bit) like External Tools similar to these known from Visual Studio? Here is a explanation: http://wiki.netbeans.org/ExternalTools , but I have not this menu item in my NB.
And yet I didn't found in NB VS-like PostBuil and PreBuild events on the Project level (launching specified scripts or executables before or after build).

Perhaps you can use QuickOpener plugin:
Plugin portal link
Project home

Related

If I check in eclipse project into tfs, will I be able to use it in VS environment?

My ultimate goal is to completely migrate eclipse (mars) project into Visual Studio environment.
During my research, I have tried several options:
1) Create project from existing code. Doesn't apply to my case, since my project is a combination of .java and .jsp files, wizard only offers C++, C#, Visual Basic options.
2) TFS plugin for eclipse.
3) Checking in the project from eclipse into tfs.
Within the third option, I am planning to create a new team project, and check in the project from eclipse based on that article manual.
My question is will I be able to open and operate project I checked in inside VS environment?
I am also opened to any other suggestion, which might help me resolve that problem.
If you have an Eclipse project and you want to move to something like Visual Studio there are three options:
Java Language Support plugin
Visual Studio Code
Java Language Service for Android and Eclipse Android Project Import
Except for the latest, I expect you have to review the build script to make it work in the new environment.
TFS/VSTS is language agnostic and has no interested in IDE and has no "project conversion" support.
No, sharing(check in) the project in Team Foundation server just means to source control the code. You can't directly using them in VS environment.
However you can download the project and work on it locally(local eclipse). Then check in the changes to TFS server. More details please refer: Importing Projects from Team Foundation Server
Here is a tutorial includes step-by-step instructions to help you get
started with the Team Foundation Server plug-in for Eclipse.
Team Foundation Server Plug-in for Eclipse - Beginner's Guide

NetBeans 8.0.2 missing Java Desktop Application

I recently installed latest version of NetBeans and when I tried to make a new project type "Java Desktop Application" it won't appear in Java category.
Please help?
I've installed this plugin:
Java Swing Framework Library
JDK Project for Netbeans
Even I installed all of java plugins. But no luck!
By Java Desktop Application you may be referring the "Swing Application Framework" and that was halted by Sun Microsystems before Java 7 around year 2009 end.
For developing Desktop Applications using Java in NetBeans you have multiple options as follows:
Using Matisse UI Builder
The Matisse UI builder is available in NetBeans and you can create JFrame and JDialog classes in your application which can be used as your UI in any Java application. This approach needs a lot of boilerplate code to be written for creating windows, menus and dialog boxes. The next option is better if you want a professional cross platform Java Desktop Application
Using NetBeans Platform as base of your application
NetBeans IDE is built on the top of NetBeans Platform and you can also use the NetBeans Platform to build your own Desktop application with many conventional features out of the box coming from the NetBeans Platform. The NetBeans IDE comes with NetBeans Modules project types where you can choose the "NetBeans Platform Applciation: project type to create a desktop application. There are lot of tutorials and help available for the NetBeans platform on NetBeans users list and platform mailing list.
If you are still looking for the answer, or if anyone out there who want help, then here is an option. I think you want the drag and drop option, right? Here you go.
Just Start new project as Java and Java Application as shown below:
And then give any name to your project, like helloworld as shown below:
After you click finish button, the helloworld package will be opened. Now go to the left (mostly) or right side of the screen there is a list of projects. Go to your project and right-click on Source Packages -> New -> Other as shown below:
Now another window opens, and select Swing GUI Forms from Categories and JFrame Form from File Types, then Next and give the name and location for the class.
Now the form should appear on the window. You can now go back to source code and go forth to Design as you want. Have a nice coding.

Using Enterprise LIbrary 6 Application Blocks

Then new Enterprise Library 6 is out and can be downloaded here. I have downloaded and extracted EnterpriseLibrary6-binaries.exe to a folder on my C: drive. The readme says this:
MICROSOFT ENTERPRISE LIBRARY 6
Summary: This package contains Enterprise Library configuration console, MSMQ distributor service, merge configuration tool and a script to download binaries for all application blocks from NuGet.
In order to get all the binaries, run the install-packages.ps1 script.
Note: For the Semantic Logging Application Block Out-of-Process service, a separate package is available for download.
I then run Powershell and run the script. I now look in the folder I extracted the .exe to and all of the binaries are there. Now, here are the instructions from the Enterprise Library 6 .chm.
To install the integrated Visual Studio configuration editor
1. On the Visual Studio Tools menu, choose Extensions and Updates.
2. In the Extensions and Updates dialog, search online for EnterpriseLibrary.config.
3. Click the Download button to download and install the Enterprise Library configuration editor.
4. Restart Visual Studio to complete the installation.
To launch and use the configuration editor from Visual Studio
1. Open a solution in Visual Studio.
2. If the solution does not contain a configuration file, add one using the Visual Studio Add menu.
3. In Solution Explorer, right-click the configuration file and then click Edit Enterprise Library V6 Configuration. This launches the integrated configuration editor or the appropriate standalone version of the configuration tool.
Step #3 is where I am stuck. I have a WCF service project with a web.config in it. I right click the web.config and I don't see a "Edit Enterprise Library V6 Configuration" context menu option.
I DO see an "Edit Server Configuration File v6". However, when I click this I get the following error.
All I'm trying to do is use the Exception Handling Application Block in my WCF service project. I've looked around the web and can't find any easy step-by-step tutorial to guide me either. Any help is greatly appreciated.
You need to set the solution property for "Enterprise Library v6 binaries path" to set to
the folder that you extracted "EnterpriseLibrary6-binaries.exe".
You can do that by clicking the solution and then pressing F4 to see the properties window, but you need to make sure that your "Enterprise Library Config tool" is v6.
http://www.microsoft.com/en-us/download/details.aspx?id=38789
The Visual Studio Gallery provides Enterprise Library 5 Config tool which is obviously the wrong Version.
I had to use NuGet to install the application block I wanted to use in the project. For me, Tools >> Library Package Manager >> Manage NuGet Packages for solution and add the appropriate EntLib 6 Exception Handling Application Block WCF Provider.
Just download Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix
from the below link and while installing provide VS2012 or Vs2013.
http://www.microsoft.com/en-us/download/details.aspx?id=38789
After installation restart Visual Studio.
You will Enterprise Library 6.0 configuration.
By default Extension and Updates in VS give 5.0 configuration we need 6.0 to work.
This is what worked for me:
Download Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix, from here and during installation, provide VS2012 or VS2013.
Then restart your VS2012/2013 and you should be good to go!

How to integrate PyQt designer in Eclipse?

I'm trying to integrate the pydev, pyqt, python and eclipse.
Now the code can be runing without error.
And I know to make the GUI in Qt Designer.
and then modified it in Eclipse.
Now I want to integrate the Qt Designer of PyQt to Eclipse.
Just like the Qt Eclipse Integration for C++.
Use PyQt Designer in Eclipse.
Can anybody teach me how to do it?
Thanks very much!
BTW, I'm try to set the preference of qt project in Eclipse.
But when I add new qt version.I didn't know how to borrow the bin path.
Because there is no bin path in PyQt.And also didn't have qmake,uic,rcc etc.
the version name that I typed is PyQt-Py2.7-x64-gpl-4.8.5-1.exe.
I borrow the include path like C:\python27\Lib\site-packages\PyQt4\Sib\PyQt4.
my OS is win7.
Thanks for your answers!
God bless you!
The only way is to install the Qt Eclipse Integration, that way you can open ui files directly in eclipse.
But this does not work well with plugins and custom widgets, since that requires the exact same Qt version for the Eclipse integration and PyQt (and the same compiler flags..), and that may not be the case.
You could of course build the Qt Eclipse Integration yourself, if it works with the Qt version you're using with PyQt. (it's pre-built for 4.6.1, so it may or may not work with later Qt versions.)
What we've done is to tell Eclipse to open .ui files in Qt Designer outside of Eclipse. Not as nice, but it works with custom widget plugins, so it's a definite win for us.
An easy way to open .ui files generated by Designer is to convert them to python code using "pyuic4" which comes with pyqt. On Windows and Linux (I haven't tested on Mac), open a shell and navigate to the directory containing your .ui file then run the command/flag/args... See example below:
pyuic4 -o newOutputFile.py theOriginalPyQtFile.ui
In the example my input file is called "theOriginalPyQtFile.ui" and the ouput file that will be generated is named "newOutputFile.py" and saved in the same directory as "theOriginalPyQtFile.ui".
After that just open "newOutputFile.py" in Eclipse or any IDE.

node.js in Eclipse - which plugin(s) are most people using?

I'm mostly interested in server-side web development, though being able to redeploy some bits in Chrome would be nice.
I am currently running Eclipse Indigo on Ubuntu for developing mostly Java/Scala programs and to use git.
So far I've come across http://code.google.com/p/chromedevtools/ and https://www.ebayopensource.org/index.php/VJET/HomePage, but not sure which is preferable.
There is Nodeclipse.org effort. Current version is 0.16
update site is
http://www.nodeclipse.org/updates/
When you want to help in any way, start by raising issue
Features Creating default structure for New Node
Project and New Node Source File Generating Express project
with Wizard JavaScript Syntax highlighting Bracket
matching and marking selection occurences with background color
Content Assistant within one file Go to definition with
Ctrl+click when JSDoc is
used Refactoring within one file
(Alt+Shift+R) JSON files highlight and
validation NPM support Debugging - Breakpoint,
Trace, Variables, Expressions, etc... via Eclipse debugger plugin for
V8 Setting project properties for JSHint-Eclipse
automatically; JSHint
settings template
Passing arguments to Node application and Node.js,
specifying environment variables values to use Running
CoffeeScript *.coffee files Running *.js files with
PhantomJS, MongoDB Shell or Java 8 Nashorn jjs util
Bundled together with Markdown Editor, GitHub Flavored Markdown,
StartExplorer (for system explorer and shell), RegEx, Icon Editor,
MongoDB, RestClient Tool and other plugins (20+ in total, check
update site and Nodeclispe Plugin
List) Support for Eclipse Juno, Kepler, Luna M3
(source: nodeclipse.org)
Read http://www.nodeclipse.org/ for more & latest information.
What I have tried
VJET contains lot a bugs (in coloration, auto-competition ...). Could be better after a few updates. Node.js support is quite not up to date.
Eclipse Web Tools does no support node functions
NodeClipse http://www.nodeclipse.org/
Netbeans have a NodeJS plugin. Looks quite complete.
The chrome dev tools is just a debugger (and some chrome related utilities), not a fully usable IDE.
So far I would strongly not to use Eclipse for node.js project.
I'm using Sublime Text 2 for a while, and I'm very happy with it (And it has a node.js plugin).
I would recommend Aptana Studio (www.aptana.com/).
It's quite complete for javascript development besides it doesn't have node.js "direct support
It can be installed both as a standalone application or an Eclipse Plugin.
I've been using it for server and client development and works great for both.
Try Microsoft WebMatrix 2
It is free and has intellisense.
As of Eclipse Neon (May 2016), Supports for Node.js comes as part of the JSDT.
The only prereqs are the installation of Node.js and npm.