netbeans-7

Netbeans code completion for CodeIgniter

心已入冬 提交于 2019-11-28 18:23:23
I am using Netbeans IDE for Php development. It gives me code completion for Kohana framework. Is there any way to have code completion for CodeIgniter in Netbeans? Instructions : Create a new directory inside nbproject (I used this since it’s omitted when pushing to prod) with your name of choice, I used CI_Autocomplete . Create a new file with your name of choice, I used CI_Autocomplete_2.0.php , and place it inside the newly created folder, nbproject\CI_Autocomplete . Paste the below code inside the new file, CI_Autocomplete_2.0.php . <?php /** * @property CI_DB_active_record $db *

How to enable PHP support in Netbeans?

别说谁变了你拦得住时间么 提交于 2019-11-28 18:07:30
On Ubuntu, I have install netbeans but it does not have any option to start a php project. I've looked at the plugin list and php is not in the list, neither is it in the plugins to download list. I've gone to the netbeans website and I am not sure which php plugin to download. Can someone please help me with this? Ubuntu 12.04 64bit has netbeans 7.0.1 in the software repository. alain.janinm Go to Tools->Plugins . In the Settings tab ensure that the update center Netbeans Distribution is active. Then in the Available Plugins tab click on Reload Catalog and you should see PHP. Also you have to

Netbeans Maven Project Not adding Main Class to Manifest

时间秒杀一切 提交于 2019-11-28 17:36:28
I am having a similar problem to this question. I have tried all the suggestions listed and am still at a loss. My issue is that I am trying to build a maven project and distribute it to other machines, but the jar files are not being populated with a correct Manifest. Each time I build and run I get the following error: no main manifest attribute, in myjar.jar . Is there some sort of configuration file I need to edit? I just don't know what is going on. I have attempted this fix also, but to no avail. kofemann You can add it into project's pom file, inside <project> tag: <build> <plugins>

Netbeans: how to change @author

不羁岁月 提交于 2019-11-28 16:16:26
When creating a new class or interface in Netbeans IDE, an "@author ...." tag appears. How to change its value? If possible, I would like to change it by using Netbeans menu and not by editing some config files :) I'm using Netbeans 7.2 Thanks in advance. Ravindra Shekhawat Steps: Go to Tools -> Templates . Click on Settings button. A new panel with template settings will appear in your IDE: Uncomment the last line and change the value of "user" to what ever you like to be inserted after the @author tag. PS : I think this blog will better explain how to update author template In case someone

Jackcess “NoClassDefFoundError” exception

安稳与你 提交于 2019-11-28 12:48:58
I am using jackcess for the conncetivity to my access database. But I am following exception Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/builder/CompareToBuilder at com.healthmarketscience.jackcess.impl.RowIdImpl.compareTo(RowIdImpl.java:113) at com.healthmarketscience.jackcess.impl.IndexData$Entry.compareTo(IndexData.java:1838) at com.healthmarketscience.jackcess.impl.IndexData$Entry.compareTo(IndexData.java:1646) at java.util.Collections.indexedBinarySearch(Collections.java:273) at java.util.Collections.binarySearch(Collections.java:259) at com

Configuring C++11 in Netbeans

拈花ヽ惹草 提交于 2019-11-28 09:05:29
I am using Netbeans 7.2, and I have downloaded GCC 4.7 using the Cygwin setup. I have also added the directories to my PATH and I believe configured the settings in NetBeans appropriately. No matter what I do, I get the error: -std=c++11 not recognized. This line, from source code that I need to use, is particularly causing problems: using size_type = long unsigned int; Is this specific to c++11 syntax? With GCC 4.7.2 it compiles if you use the -std=c++11 C:\Users\ferenc>type using_test.cpp #include <iostream> using size_type = long unsigned int; int main(int argc,char* argv[]) { std::cout<

many url-pattern for the same servlet

若如初见. 提交于 2019-11-28 08:03:01
I need to map the same servlet on two different url. I used netbeans 7.0.1 for managing my whole project, so I used its friendly interface to modify the web.xml file. What netbeans created is this: <servlet-mapping> <servlet-name>fred</servlet-name> <url-pattern>*.jsp</url-pattern> <url-pattern>/url</url-pattern> </servlet-mapping> This is read by tomcat 5.5 without emitting any error, but only the second pattern works, while the first one is ignored. Googling I found that the right way for tomcat is this one: <servlet-mapping> <servlet-name>fred</servlet-name> <url-pattern>*.jsp</url-pattern>

Xdebug and Netbeans are not communicating with each other

牧云@^-^@ 提交于 2019-11-28 06:30:32
问题 I have spent a couple of days surfing the internet to find an answer to my question. I have tried everything I could but have been unsuccessful thus far in solving this problem. Netbeans keeps giving Waiting for Connection (netbeans-xdebug) . I am using the following software: XAMPP Version 1.8.1. Windows 7 Netbeans IDE 7.2.1 Xdebug 2.2.1 I installed the latest version according via the wizard for the xdebug.org site (http://xdebug.org/wizard.php). Xdebug is working according to phpinfo().The

Ruby Dropped in Netbeans 7,How to Use it in Netbeans7?

孤街醉人 提交于 2019-11-28 04:31:25
In Netbeans 7, Ruby support was dropped: Although our Ruby support has historically been well received, based on existing low usage trends we are unable to justify the continued allocation of resources to support the feature. How can I use it in Netbeans 7? I followed the steps described in this blog post - http://blog.enebo.com/2011/02/installing-ruby-support-in-netbeans-70.html and it works. Enjoy Click Tools -> Plugins Click on 'Settings' tab Click on 'Add' button to get Update Center Customizer popup Set name to 'Beta 1' Set URL: to ' http://updates.netbeans.org/netbeans/updates/7.0/uc

Struts2 & NetBeans 7

烈酒焚心 提交于 2019-11-28 00:18:27
I cannot find anywhere ngbit support for NetBeans 7. I have to install Struts2 for my Web Applications development. For NetBeans 6.9 my older version of ngbit 0.4 works fine, but for NetBeans 7 doesn't work. I need NetBeans 7 because of HTML5. When I try to install org-netbeans-modules-web-frameworks-struts2.nbm , NetBeans gives the following error: Some plugins require plugin Editor Library to be installed. The plugin Editor Library is requested in version >= 2.10.1.10.2 (release version 2) but only 3.8.1.13.8 (of release version different from 2) was found. The following plugin is affected: