netbeans6.8

Cannot Run Ruby on Rails application from NetBeans IDE

笑着哭i 提交于 2019-12-08 04:25:46
问题 I am trying to Run (F6) a Rails application from NetBeans 6.8 and when i do so I get the following output in the lower left hand status bar of the IDE: Could not connect to the web server - could not show http://localhost:3000 I don't believe that the WEbrick server is even starting, but i can start WEBrick and the same application I'm working with in NetBeans from the command line. I am running Ruby 1.9.1, Rails 2.3.5, WEBrick 1.3.1 and NetBeans 6.8 on Windows 7. 回答1: Well, found the answer.

Displaying full path of filename in tabs ~ Netbeans 6.8

只谈情不闲聊 提交于 2019-12-07 05:42:16
问题 I can't seem to find a way in the options to display the full path of the file at the title of the tab. I can hover over it to see it, but it would be nice to see it at a glance. There is a SU question about it also, https://superuser.com/questions/88637/netbeans-how-to-view-file-full-path-in-window-title-or-somewhere-else Does anyone have a solution for this to actually display it? I can see there is a custom .jar for it in the RC2 Netbeans, but that's probably way old now. PS, I should

Netbeans/Glassfish - Expected to find an expanded directory but found a JAR

前提是你 提交于 2019-12-07 04:46:33
问题 I'm trying to deploy a Netbeans/Glassfish project on my local PC. It's currently running in production The project appears to be structured as an Enterprise application based on docs found at this url: https://netbeans.org/kb/docs/javaee/maven-entapp.html#intro The project has the following 5 modules: WI-EAR WI-EJB WI-Enterprise WI-ENT-web WE-Web According to the above referenced tutorial, the project that is used to run and deploy from Netbeans is the "-EAR" project. When I right-click the

Netbeans xdebug nightmare

柔情痞子 提交于 2019-12-06 05:47:58
问题 I know what you're thinking, ANOTHER netbeans xdebug post? Well, I've tried everything I've seen in other posts, and nothing seems to work. Here's my setup: OS: Ubuntu 9.10 PHP: 5.2.1 Netbeans: 6.8 The following is in my /etc/php5/apache2/php.ini zend_extension=/usr/lib/php5/20060613/xdebug.so xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.idekey="netbeans-xdebug" I've tried switching ports (I've tried 9001, 9002, and 9034 so far)

JSpinner without negative values

女生的网名这么多〃 提交于 2019-12-06 05:33:24
I'm building a small application in netbeans,I use a JSpinner component to set the quantity of a product.How can I set the spinner to take only positive values?Is there a choice inside Netbeans that I can set or a method for the JSpinner ? EXTRA: spinner.setModel(new SpinnerNumberModel(0, 0, 20, 1)); for JSpinner you have to implements SpinnerNumberModel import javax.swing.*; public class SpinnerModelTest { public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { new SpinnerModelTest().makeUI(); } }); } public void makeUI() { SpinnerModel

How to configure log4j.properties file for file appenders in netbeans 6.8?

☆樱花仙子☆ 提交于 2019-12-06 02:42:52
I am new to log4j and logging activities. I have log4.properties file. **log4j.rootCategory=INFO, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %40.40c:%4L - %m%n** please suggest me how to configure it to log message into my specified file like i want it to log somewhere(i.e c:\abc.log); let me know if you require some more inforamtion As a quick answer: log4j.appender.FileAppender= org.apache.log4j.RollingFileAppender log4j.appender.FileAppender.File= C:

Displaying full path of filename in tabs ~ Netbeans 6.8

房东的猫 提交于 2019-12-05 11:14:48
I can't seem to find a way in the options to display the full path of the file at the title of the tab. I can hover over it to see it, but it would be nice to see it at a glance. There is a SU question about it also, https://superuser.com/questions/88637/netbeans-how-to-view-file-full-path-in-window-title-or-somewhere-else Does anyone have a solution for this to actually display it? I can see there is a custom .jar for it in the RC2 Netbeans, but that's probably way old now. PS, I should mention that a path relative to the project would be ideal, as well as a full path. Either really :) You

Netbeans/Glassfish - Expected to find an expanded directory but found a JAR

主宰稳场 提交于 2019-12-05 10:34:30
I'm trying to deploy a Netbeans/Glassfish project on my local PC. It's currently running in production The project appears to be structured as an Enterprise application based on docs found at this url: https://netbeans.org/kb/docs/javaee/maven-entapp.html#intro The project has the following 5 modules: WI-EAR WI-EJB WI-Enterprise WI-ENT-web WE-Web According to the above referenced tutorial, the project that is used to run and deploy from Netbeans is the "-EAR" project. When I right-click the WI-EAR project node and choose Build with Dependencies, per the tutorial, I get this result: Reactor

AccessControlException when trying to redeploy webapp to Tomcat using Netbeans

自古美人都是妖i 提交于 2019-12-05 03:58:07
I'm getting the following error trying redeploy an webapp on Tomcat from within Netbeans 6.8. It has probably something to do with the new deploy on save and hot swap functionality. Any ideas how to resolve this issue? INFO: Error registering wrapper with jmx StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CubeAdSaSim2] Catalina:j2eeType=WebModule,name=//localhost/CubeAdSaSim2,J2EEApplication=none,J2EEServer=none java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register) java.security.AccessControlException: access denied (javax

libusb cannot open USB device, permission isse. NetBeans/Ubuntu

坚强是说给别人听的谎言 提交于 2019-12-04 12:55:27
问题 I'm writing a C/C++ application in NetBeans based on libusb-1.0 on Ubuntu 12.04. I can get basic information from the USB device (for example, the interface description) but I am not able to open the device. The function libusb_open gives me the error: libusb:error [op_open] libusb couldn't open USB device /dev/bus/usb/002/003: Permission denied. libusb:error [op_open] libusb requires write access to USB device nodes. I understand that I need to change the permissions but I don't know how (I