[RSS]

New and Noteworthy in Beta 1


General

  • New 6.0 branding integrated - images, icons, start page design
  • Plugin Manager enhancements and fixes (see Tools/Plugins) - visual indication of the plugin's source, different way of grouping plugins into visible items

Ruby

  • Quick Fixes
    • Automatic detection of block variables that might be accidentally modifying local variables

http://wiki.netbeans.org/wiki/attach/RubyHints/blockvar-fixes.png

    • Rails deprecation warnings which identify usages of deprecated Rails idioms (enable this warning in the Ruby options panel)

http://wiki.netbeans.org/wiki/attach/RubyHints/deprecated-fields.png

    • Quick which finds same-line definitions of classes or methods and offer to explode these into multiline, formatted definitions

http://wiki.netbeans.org/wiki/attach/RubyHints/sameline.png

    • A number of experimental hints compatible with Beta 1 but not bundled; access these from the Plugin manager. These hints can convert between do and brace-style blocks, they warn about "wrong" name conventions for Ruby symbols, they offer to run the Rails generator to generate missing views for action methods, they identify possible incorrect usage of attributes
    • More information about the Ruby quick fixes
  • RHTML formatting (and improvements to the Ruby formatting algorithm). A new formatting preferences panel allows configuration of the continuation indent as well as enabling reformatting of comments.
  • Updated bundled JRuby to version 1.0.1
  • Ability to deploy Rails projects to Java EE application servers
  • YAML code folding and navigator, improved RHTML navigator
  • Go To Declaration in RHTML files now work to warp to partials, redirect_to, link_to, etc.

http://wiki.netbeans.org/wiki/attach/NewAndNoteWorthyBeta1/renderpartial.png

  • Large number of bug fixes and tweaks

Diff

  • Export Diff Patch - CVS and Subversion integration
    • based on unified diff
    • automatically opens generated patch file into the editor with colored annotations

NewAndNoteWorthyBeta1/patch.png

Mobility Pack

Designer 1 has been removed

The old version of Visual Mobile Designer has been removed from Mobility Pack. Now Mobility Pack has a new version of Designer only. Still there is possibility to open the source code of old design file.

Converter for old design files

Both Designer are using different file format. Therefore there is an action for converting an old design file to the new file format. The conversion does not cover all functionality. We would like to tests it as much as possible therefore we would like to ask you for a help with testing the conversion.

You can invoke conversion, using "Convert to new version" popup menu action on an old design file node.

Old Design File

Converter dialog let you specify a name for a converted file and guides you through the conversion.

Converter Dialog

Now you can see the converted file in the same package. Please, read conversion report carefully to finish the conversion successful. Some steps may require manual changes in the source code.

Please, let us know about any conversion problem that you experience.

Designer generates JavaDoc and editor-folds

Designer is generating a code with JavaDoc for each method. Also all generated sections are folded by default.

Generated Editor Folds

Designer Analyzer view changed

Commands and Resources analyzers has been merged together.

Analyzer View

Import of WTK and CDC Toolkit/Old CDC 5.5 projects has changed

Due to multiuser support, the new way of importing projects was implemented. Instead of using external source roots, projects are now copied including sources. This way any modifications made by a user don't affect any other user

RESTful Web Services

  • Now aligned with JSR-311 (JAX-RS) and Jersey (reference implementation for JAX-RS).
  • Added a logical view displaying all the RESTful service in your projects:
http://wiki.netbeans.org/wiki/attach/NewAndNoteWorthyBeta1/logicalview.png
  • Added support for generating JavaScript client stubs from existing RESTful web services that greatly reduce the complexity of creating client applications that access RESTful web services.
http://wiki.netbeans.org/wiki/attach/NewAndNoteWorthyBeta1/clientstubs.png

Database

  • No more quoting when creating database objects
Previously the Database Explorer would quote any object it created (tables, columns, indexes, etc.). For example, if you were to use the Create Table dialog to create the table 'foo', it would run the command CREATE TABLE "MYSCHEMA"."foo".

Then if you were to run a SQL command, such as "select * from foo" you would get an error saying "Table 'foo' not found".

We no longer quote database objects, so now when you do "select * from foo" it will work.

What this does mean is that if you use characters that are not in the standard set of characters used for SQL identifiers (A-Z, a-z, 0-9 and _), then you need to quote it. For example, if you use spaces or national characters, you need to quote the identifier in the dialog where you create the table, column, index, etc.

Visual Web

  • Includes Build 11 of Project Woodstock. Click here for release notes
  • Data source naming supported. By enabling prompt for data source name in the Options dialog, it is now possible to provide a customized name for a data source. Go to Tools->Options | Basic-Miscellaneous-Visual Web and check the Prompt for Data Source Name checkbox.
  • Migration of Creator or NetBeans 5.5.x Visual Web database projects is seamless. Also can use Resolve Database Connections when database connections have not been registered.

Developing Visual Web JSF Web Applications with J2EE 1.4.x

If you wish to create a Visual Web JSF project which is to be deployed to a 1.4 J2EE application server, you will first need to install the Visual Web JSF Backwards Compatibility Kit plugin. Do the following:

  1. Choose Tools > Plugins.
    The Plugins dialog displays.
  2. Choose the Available tab and scroll through the available plugins to the Visual Web JSF Backwards Compatibility Kit. Select its Install checkbox.
  3. Click the Install button.
    A NetBeans IDE Installer dialog displays.
  4. Click the Next button.
    A license agreement displays. Accept the terms of the license and click the Install button. The installer downloads and installs the Kit and its dependent libraries.
  5. Click the Finish button.
    The NetBeans IDE Installer dialog dismisses itself.
  6. Click the Close button.
You may now create a Visual Web JSF framework web application which deploys to a 1.4 J2EE application server.

Editor

  • Issue 14549 is now fixed - now the visual feedback to the user when entering multibyte characters into the editor is the same as it is in other parts of NetBeans.

Attachments

clientstubs.JPG Info on clientstubs.JPG 90203 bytes
clientstubs.PNG Info on clientstubs.PNG 71093 bytes
clientstubs.png Info on clientstubs.png 71093 bytes
logicalview.JPG Info on logicalview.JPG 46890 bytes
logicalview.PNG Info on logicalview.PNG 21956 bytes
logicalview.png Info on logicalview.png 21956 bytes
patch.PNG Info on patch.PNG 22109 bytes
patch.png Info on patch.png 22109 bytes
renderpartial.png Info on renderpartial.png 23287 bytes
sameline.png Info on sameline.png 18429 bytes