This step-by-step guide explains how to setup a Netbeans project for running and debugging the yFiles AJAX demo web application with Netbeans.
The guide refers to the Netbeans IDE release 6.9.1. The configuration process can be different for other Netbeans releases. Note that only the "Java" and "All" Netbeans bundles support the "Java Web and EE" technologies that are required for creating a web application project as explained below.
Create a new "Java Web" project:
Select the name and location:
Confirm the build file path:
Configure the server:
Configure the existing sources and libraries:
demos/web-content/
sub folder of the yFiles AJAX distribution.demos/web-content/WEB-INF/
sub folder of the yFiles AJAX distribution.lib/java/
sub folder of the yFiles AJAX distribution.demos/src
sub folder if it is not chosen as default.demos/src-jee6
" as an additional Java source folder.Configure additional web application resources:
lib/javascript
sub directory of the yFiles AJAX distribution.
Enter "javascript" in the corresponding "Path in WAR" field.lib/resources
sub directory of the yFiles AJAX distribution.
Enter "resources" in the corresponding "Path in WAR" field.yfiles-ajax-license.xml
).
Enter "WEB-INF" in the corresponding "Path in WAR" field.Copyright © 2006-2013 yWorks GmbH. All Rights Reserved.