Pages

Showing posts with label NetBeans. Show all posts
Showing posts with label NetBeans. Show all posts

Wednesday, March 25, 2015

Configuring External Apache Tomcat in Netbeans/Ubuntu or error : specify the server location (Catalina Home)) and error : could not read server-config.xml

Hi This posts counters the problem of configuration of external Apache Tomcat Server to Ubuntu..

It also deals with the errors
1. specify the server location (Catalina Home))
2. could not read server-config.xml

To Counter all this we need to do as follows

For First Problem create and link directories as follows.This will only occur if Netbeans thinks if you are using and older version of Tomcat Server.

cd /usr/share/tomcat7
sudo mkdir common
cd common
sudo ln -s ../lib lib

For Second Problem create and link directories as follows

cd /usr/share/tomcat7
sudo mkdir conf 
cd conf
sudo ln -s /etc/tomcat7/server.xml server.xml
sudo chmod o+rx /usr/share/tomcat7/conf 
 
Thats it give a username and Password and Apache server is configured on your Netbeans  


Sunday, November 25, 2012

Installing PHP Unit and Selenium and configuring it on Netbeans IDE

Follow the following links and tutorials to install and configure both(wanted it to be a one stop tutorial).

Follow this to install PEAR
http://itfeast.blogspot.in/2012/11/installing-pear.html

Installing PHPUnit

http://pear.phpunit.de/

To  Install Selenium 

Make sure you have Pear and phpunit installed

Then to install Selenium
Use this command
pear install Testing_Selenium-beta

To configure all this on Net-beans use this link
 http://netbeans.org/kb/docs/php/phpunit.html

Sunday, January 15, 2012

Setting Up Netbeans for PHP Development frameworks

Go to Tools Plugins
Add
PHP
PHP Zend Framework
PHP Documentor Tag Help
PHP Smarty Framework
PHP Symfony framework
plugins

PHP adds general PHP libraries which are required for core PHP Development

phpDocumentor tags are very similar to tags for the JavaDoc tool for Sun's Java Programming Language they are used to add function headers basic snippet's to the code a must for Rapid Application Development

Others add libraries related to specific frameworks

once they are added you need to add specific file types to be recognized by Netbeans.
To add the same go to tools options and then select Miscellaneous tab and select Files subtab
Add a new extension and select its the way it should be recognized

For example to make Cakephp's files recognizable add ctp and then select PHP as Associated File type

That's It