I have installed PHPUnit follows to their website instructions.
When I'm trying to generate test class
I got this message:
"D:\wamp\bin\php\php5.4.12\phpunit-skelgen.bat" "--ansi"
"generate-test" "main" "D:\Projects\tdd\main.php" "mainTest"
"D:\Projects\tdd\tests\mainTest.php"
The referenced parameter '--ansi' is not registered.
Done.
This is happening in Windows and Linux environment as well.
It happened the same to me. It seems that we were using the old phpunit-skelgen 1.2.1 version. Apparently, NetBeans 8.0.1 assumes you are using the newest version of phpunit-skelgen, that is 2.0.1.
download the new skelgen phar and update the batch file (windows) and you are good to go .
for visual guide follow these blog.
http://kevindaus.blogspot.com/2015/01/fix-netbeans-8-create-test-problem.html
You can install it via composer globally which will also currently give you v2.0.1:
composer global require "phpunit/phpunit-skeleton-generator=*"
Then put C:\Users\[username]\AppData\Roaming\Composer\vendor\bin\phpunit-skelgen.bat into Netbeans Tools > Options > PHP (tab) > Frameworks & Tools (tab) > PHPUnit section.
Related
I have installed Laravel and I want to use use framework annotations and code completion in the NetBeans 7.4 IDE, there is no Laravel plugin in the section "Install plug-ins". I have found a plug in for Netbeans on github but I am unsure how I install it, here is the link https://github.com/nbphpcouncil/nb-laravel-plugin
Taken from repository's discussion:
Please download a nbm for your version of NetBeans.
https://github.com/nbphpcouncil/nb-laravel-plugin/releases
Then, please try to add the plugin : Tools > Plugins > Downloaded >
Add
I am newbie to nodejs environment. I just started learning about nodejs but I got stuck with environment set up.
When I am trying to set up the environment using *.p2f file which i downloaded from eclipse market place support site for nodejs, I am getting following errors
Help me to sort out the problem
configuration problem using .p2f file in Node Tool Suit
You have got Enide .p2f file, that should be used in Eclipse as File -> Import -> Install -> Install Software Items from File. (All instructions are inside .p2f file, that you can open with text editor. It is just XML file )
Actually, Nodeclipse project download page http://www.nodeclipse.org/updates/ has a lot of options to get started with Node.js and Eclipse.
You can download Enide Studio wit ready to go plugin set.
Or Install Nodeclipse plugin into any Eclipse based IDE.
select what option would work for you.
#Dot_NET Junior please raise an issue on https://github.com/nodeclipse/nodeclipse-1/issues/ if you are still interested in created solution with Node.js and Eclipse
I have a major problem with installing plugins in eclipse. I'm using ubuntu 10.04 64 bit and I installed:
Eclipse SDK
Version: 3.6.0
Build id: I20100608-0911
(Not by using the apt-get, via apt-get I get galileo, but that version didn't work as well)
The Plugin I want to install is: http://sourceforge.net/projects/jbpm/files/jBPM%203/jbpm-jpdl-3.2.7/ I have to use this plugin because its compatible with alresco (dms)
I tried to install the plugin via dropin and the normal way:
Help->Install new Software-> Add -> Archive -> select the downloaded *.jar.
When I hit OK, I get the following error message:
"Could not find jar:file:/home/xyxyx/jbpm.jar"
I tried to solve it by extracting the jar but no success. Putting the jar into the plugins folder and changing permissions won't help! I also tried different versions of eclipse on several systems. No success!
I have been looking for a solution all day! I tried some advice I found on stackoverflow. I don't use a proxy. I changed the update system to classic! Now I don't know what to do anymore.
Anything special I have to configure before I use eclipse on ubuntu besides installing the JDK?
Try to run the installed using the following command:
java -jar jbpm-installer-3.2.7.jar
On the other hand, you may want to use JBoss IDE which has integrated support for jBPM.
I decided to take a look at Clojure and thought the best and easiest method for me would be to use Netbeans with the Enclojure plugin as I didn't want to have to learn Emacs at the same time. I installed Netbeans 6.9.1 together with the latest JDK using the bundled install (on Windows 7). All went smoothly. I then followed the instructions at http://www.enclojure.org/gettingstarted for installing the enclojure plugin.
When creating a new Clojure application I get the following and see no project files :
java.io.IOException: Could not connect to URL nbresloc:/org/enclojure/ide/templates/project/ClojureProjectTemplate-1.1-distribution.zip. No such resource was found.
Maven is working using mvn --version
I have installed on both Windows 7 and Ubuntu 10.04 (same result).
I have looked on the Enclojure forum and there is a recent open thread for this issue, but it is not solved by anybody presently.
I have Java SE enabled in Netbeans
I have tried enabling the different platform versions of Clojure, 1.0.0, 1.1.0, etc..
The REPL seems to be working happily in Netbeans : (printf "hello") hellonill
I did try ClojureBox on Windows 7, but again that's Emacs, but emacs failed to start the server and hung there and became totally unresponsive.
I come from a .Net background (not Java) so my knowledge of the Java environment is somewhat lacking. My reason for looking at Clojure and not Java.
I am new to Netbeans
If you're interested in a working Maven pom, here is one I've used with Enclojure successfully:
http://puredanger.com/techfiles/100624/pom.xml
There are some project settings you'll need to change and a few dependencies to remove but it might be a good start. In general, I usually create the pom first and then just import the project into NetBeans rather than using the NetBeans options to create projects.
By the way, the REPL work in Enclojure has been split and is coming soon to the Eclipse plugin Counterclockwise.
I had written a small post on it on my blog.
Anyways here is the procedure:
On searching realized that this is a common problem for installing it on > Netbeans 7.. But with some manual tweeks managed to install it. Here are the instructions to install on Netbeans 7. plus:
Install Netbeans 7. You need only the Java SE version.
First Run of Netbeans after installation. Activate feature Java SE
Activate features is on the Start page or from Tools,->Plugins>Installed, click ‘Activate next to the Java SE support
Install Maven: It is HIGHLY recommended that you install maven: http://maven.apache.org/download.html
Go to the Netbeans->Preferences, click on the Miscellaneous tab and make sure the External Maven Home path is pointed to your maven install
Download the EnClojure 1.5 version from here. If you want to manually build, you can do that by following the instructions from here.
After downloading the file, In Netbeans: Goto:- Tools ->Plugins->Downloaded->Add Plugins->Downloaded
Then browse to the downloaded file. Later install by clicking at the “install : button.
Restart and you are on the go.
Visit here to build and run hello world project.Basically building the EnClojure 1.5 manually is the tough job. I hope above was useful.
I installed Eclipse using Synaptic Package Manager (Ubuntu 9.10).
However, my Eclipse does not have any HTML template (in New dialog) or JSP template.
How can I fix it so that I will have some HTML and JSP templates overthere?
Fetch Eclipse plugin from http://download.eclipse.org/releases/galileo and select Web Developments stuffs solve the problem.
I do not recommend to install Eclipse from the ubuntu repository but to install it manually instead (and grab Eclipse IDE for Java EE Developers). Just be sure to check this answer to fix the "click problem" due to a bug with Eclipse 3.5 and GTK+ 2.8.
Update: The reasons to prefer a manual install are explained in EclipseIDE. First, there is no guarantee to find the most recent of Eclipse in the repository (in Ubuntu 9.04, the packaged version of Eclipse was totally outdated). Second, even if you find an up-to-date version (like for Ubuntu 9.10), you'll need to run Eclipse as root to install plugins not available in Package Manager - why did they start to package plugin, this is just crazy - which is not a good idea. User mode installation solves this problem.
You can install eclipse-wtp-webtools package for static html files. I can't find one for jsp though.