netbeans-6.9

trouble deploying .WAR to tomcat

人走茶凉 提交于 2019-12-22 01:50:34
问题 im having trouble deploying a war file on tomcat. i have written a webapp in netbeans on my windows machine. it all runs fine. what i want to do is deploy the application on my linux computer that is acting as my server. once the application is built, i copy the war file from the dist folder in my project directory onto a pendrive. i then copy this onto the desktop of my linux computer. i then start tomcat and using the application manager i browse the war file to deploy, then click deploy. i

Installing SwingX in Netbeans

夙愿已清 提交于 2019-12-21 20:13:46
问题 I have problem installing SwingX in my Netbeans IDE. I want to play with JXPanel and related components but i could not get right library and get it going. I tried to download swingx.jar but there is no valid link available in internet. I somehow managed to download swingx-1.6.jar, swingx-beaninfo-0.9.7 and swingbean.jar. I imported these jar files into the new library i created "SwingX" using tools->library and after that went to tools->palette->Swing/AWT Components and added a new palette

Rails on Netbeans: Uncaught exception: no such file to load — script/server or script/console

不羁岁月 提交于 2019-12-21 04:57:10
问题 I'm trying to initiate a Rails 3 console from Netbeans 6.9.1 (just upgraded) and fail with Uncaught exception: no such file to load -- script/console The debugger fails as well on a similar error ( ... -- script/server ). The project I'm trying to run this on was previously a Rails 2.3.8 app which I upgraded, and Netbeans still tries to do the good old ruby script/console command rather than rails c . I tried to install the patch described here, but it didn't work. gem list returns: *** LOCAL

Netbeans 6.9.1 installation error : “No compatible JDK was found.”

倾然丶 夕夏残阳落幕 提交于 2019-12-20 03:56:12
问题 I'm trying to install Netbeans 6.9.1 in my Ubuntu 9.04. But when i run the script ./netbeans-6.9.1-ml-linux.sh , the installer GUI displays the error "No compatible JDK was found.", and in the next window it asks for the installed JDK path. What can I do to get it to install? 回答1: Make sure you have installed a Java development kit that is compatible with the Netbeans version you're trying to install in your system. If not, you have to download the JDK and install it. Then try to run the

Why Netbean ignore PHPUnit testsuite from the XML config?

蹲街弑〆低调 提交于 2019-12-13 14:15:32
问题 I've setup netbean to use my config.xml file, and it works well except for the testsuites part that is completly ignored by netbean. It look like netbean try to execute this command: phpunit -c config.xml path/to/tests/ instead of just: phpunit -c config.xml How can I configure netbean in order to handler the testsuites definition inside a phpunit XML configuration ? 回答1: Seems to be a bug of netbeans, see Bug 199072 - NetBeans ignores PHPUNIT.XML and runs tests from all folders. 回答2:

Need to find the web application path

こ雲淡風輕ζ 提交于 2019-12-13 05:40:35
问题 I created a web application using netbeans and glassfish server. I created a new java file inside that application. I want to find the current application path in that java file. 回答1: You can get path information from a servlet with methods of HttpServletRequest class: public class RequestInfoExample extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { String requestURI = request.getRequestURI(); String

BPEL in netbeans 6.9.1 composing web services

别等时光非礼了梦想. 提交于 2019-12-11 07:10:15
问题 I believe netbeans doesn't support BPEL. Is there a workaround for it, or can you please suggest some other IDE, where I can compose web services together? I have two web services, one which churns the data and gives the output as a JSON/string and the other web services which will have the input as the output of the previous webservice and visualize/graph the data. Thanks 回答1: Netbeans supports BPEL. For that please download Glassfish ESB (Open ESB) which includes Netbeans IDE also. You can

Titled border issue for JPanel

这一生的挚爱 提交于 2019-12-11 03:09:00
问题 I developed an application using netbeans. But the title of the titled border of JPanel has some alignment issue. In the 'show preview' the title is displaying as expected, but while running the code, the title goes up above the panel. Can any one help me to resolve this issue. Expected panel Actual panel while running the project Panel properties I know this is some property issue with panel. I googled by couldn't find a valid solution. Stack experts please help to resolve this issue. I am

JToolBar Look & Feel in Swing

感情迁移 提交于 2019-12-11 01:47:00
问题 I'm developing a Swing based application in which I want to add JToolBar with images in JButton but it's not looking good. JToolBar is having some dots at the starting part. How can I get rid of the dots? 回答1: Two things: The "dots" you describe are probably due to the JToolbar being floatable by default. If you wish to disable this you can call setFloatable(false). Here's a utility method I use to decorate JButton s prior to adding them to JToolBars (or JPanel s, etc): decorateButton

Ada with Netbeans

安稳与你 提交于 2019-12-10 20:04:56
问题 I downloaded the Netbeans plugin for programming with Ada. However, I dunno how to link the Eclipse to the Ada platform library. What should link to the IDE ? lib,etc,bin ? I dunno what what to do. Any help is appreciated. 回答1: After installing the Ada plugin modules in NetBeans, use File > New Project to create a new Ada project. In the New Ada Application dialog, click Manage to select your installed Ada compiler. 回答2: I don't know about Netbeans or Eclipse, but this might be applicable?