Continuous Integration support

Hi all, today we would like to show you another great feature we have prepared for NetBeans 7.2. It is Continuous Integration support for PHP projects.

Everyone who has plenty of tests for his/her PHP projects and needs to be sure that all the tests pass all the time, NetBeans 7.2 will try to help as much as possible. What exactly needs to be done?

NetBeans uses Template for Jenkins Jobs for PHP Projects (created by Sebastian Bergmann, the author of PHPUnit - thanks for it, Sebastian!) so please ensure that all the necessary plugins and tools are installed both on your server as well as on your local computer - detailed instactions can be found on the project website.

If you are done, register your Hudson or Jenkins instance in the NetBeans:

Registering CI server

Now, verify that everything is configured properly (in Tools > Options > PHP > Hudson):

IDE Options for Hudson PHP

Now it is time to create a new build job for your project (the project must be versioned) right from your NetBeans:

Create build job for PHP project (I)

You can specify areas you are interested in:

Create build job for PHP project (II)

If everything goes well, the job is created on your CI server so you can run it:

Run CI job for PHP project

After the job finishes, NetBeans will show you the status of the job (success in our case). Also, you can easily open the job web page in your browser:

Open job web page in browser

The job web page can look similarly to this one:

Job web page

That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans BugZilla (component connecteddeveloper, subcomponent Hudson).

Comments:

Maybe you can add support for Phing as well !
That would be great

Posted by Daniel Gafitescu on February 08, 2012 at 04:22 PM CET #

@Daniel Gafitescu: Currently, no such plans, sorry. Feel free to submit an enhancement to our BugZilla [1] (against php/Code), ideally with scenarios that could be supported.

Thanks.
[1] http://netbeans.org/community/issues.html

Posted by Tomas Mysik on February 08, 2012 at 04:25 PM CET #

OT question...

Just yesterday I tried NetBeans on Linux (Ubuntu with XFCE). After a long time triyng to make GTK look and feel nicer (I do not like Metal very much), I noticed that with both OpenJDK and Sun JDK 6, editor font is rendered very very ugly (too thin, not much readable). I tried all possible anti-aliasing Java command-line options (off, on, gasp, lcd, rgb order), but with poor results.

Screenshots on this site shows a better looking. Can I ask you what OS / system configuration / JDK / Java options / font family are you using?

In other Java applications (as Eclipse, just to say) editor font is clear, bolder, better anti-aliased and very legible.

That's really a pity. NetBeans for me is the best for PHP developing because all of its simple but rich and numerous features (Smarty support, better support for newer PHP features, Zen Coding, simple and plain Git support, etc)... But font readability is a key feature for source code editors!

Posted by guest on February 08, 2012 at 06:06 PM CET #

Is it possible to sort items from list with code completition in order of frequency of use? Like in Visual Studio etc. Rspecially in CSS3 where the most frequent are width, line-height etc. but currently they are on the top.

Posted by metaxy on February 08, 2012 at 06:08 PM CET #

@guest: Please, submit a bug with all the possible information.

Thanks.

Posted by Tomas Mysik on February 09, 2012 at 06:18 AM CET #

@metaxy: Please, submit an enhancement with all the possible information.

Thanks.

Posted by Tomas Mysik on February 09, 2012 at 06:19 AM CET #

It's not a bug. I know the font rendering depends on the fact that Eclipse uses a different graphic toolkit for its GUI (SWT I think, while NetBeans uses AWT or something). At least cab be a bug to report to developers of OpenJDK or Sun JDK for Linux.

What I was asking is simply to tell me the configuration and editor font used for screenshots, cause they look a bit better than mine.

Posted by guest on February 09, 2012 at 12:02 PM CET #

@guest: No special configuration (no special options, default fonts [Monospaced 13]). That's why I was talking about a bug (your words "editor font is rendered very very ugly (too thin, not much readable)" are definitely not OK).

Posted by Tomas Mysik on February 09, 2012 at 01:33 PM CET #

hi guys... as daniel has mentioned in his first comment: support for phing would be great. if there are no such plans so far, maybe you can drop me an email if there is support somewhere in the future ;) thx and keep up the good work!

Posted by Dirk on March 09, 2012 at 02:04 PM CET #

@Dirk,
As Tomas wrote in his reply to Daniel, please file an enhancement request. And if you know a lot of NB users who would like phing support, get them to log in and vote for the enhancement!

Posted by Jeff Rubinoff on April 04, 2012 at 10:44 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today