This is a feature of JBuilder Professional and Enterprise.
The Cocoon Web Application wizard creates a Cocoon node containing several files and adds them to the existing project.
To open the Cocoon Web Application wizard, choose File|New to display the object gallery, click the XML tab, and double-click the Cocoon Web Application icon.
Choose the Cocoon base and configure libraries as follows:
<jbuilder>/cocoon/
, where <jbuilder>
represents the full path to the JBuilder directory, for example, C:\jbuilder6
. This default path is automatically filled in for you.
Displays the path or paths that Cocoon searches for class files. Files can be zipped into a ZIP or JAR file.
Paths are searched in the order listed. To switch the order of paths, use the Move Up and Move Down buttons. Choose the Add, Edit, or Remove buttons to change paths.
Displays the path or paths that Cocoon searches for source files. Files can be zipped into a ZIP or JAR file.
Paths are searched in the order listed. To switch the order of paths, use the Move Up and Move Down buttons. Choose the Add, Edit, or Remove buttons to change paths.
Displays the path or paths that contain the HTML documentation files for Cocoon. This allows reference documentation to be displayed in the doc pane. The default is <jbuilder>/cocoon/doc/
, where <jbuilder>
represents the full path to the JBuilder directory, for example, C:\jbuilder6
. This default path is automatically filled in for you.
Paths are searched in the order listed. To switch the order of paths, use the Move Up and Move Down buttons. Choose the Add, Edit, or Remove buttons to change paths.
The libraries to use when compiling.
Libraries are searched in the order listed. To switch the order of libraries, use the Move Up and Move Down button. Choose the Add, Edit, or Remove buttons to change the libraries in the list.
Library names in the list are in one of three colors: Black, Red, and Gray. The color use is explained in the following table.
Library name colors in library lists
Color | Description | Troubleshooting |
---|---|---|
Black | The library is defined correctly. | |
Red | The library definition is missing. | This typically means the project refers to a library that is not yet defined. It can also mean the library has been defined without any paths. |
Gray | Use of this library requires an upgrade. | You need to upgrade your edition of JBuilder in order to use this library. For example, if you have JBuilder Personal, use of the dbSwing library requires that you upgrade to either JBuilder Professional or Enterprise. |
If the Class, Source, or Documentation tab is selected, the Add button displays the Select Directory dialog box where you choose the new path for the class, source, or documentation file you want to add.
If the Required Libraries tab is selected, the Select A New Library dialog box is displayed, where you select the library to add.
If the Class, Source, or Documentation tab is selected, the Edit button displays the Select Directory dialog box where you edit the existing class, source, or documentation path.
If the Required Libraries tab is selected when you click Edit, the Select A Different Library dialog box is displayed.
Deletes the selected path or library.
Moves the selected path or library up in the list.
Moves the selected path or library down in the list.
Generates a Web archive file.