Eclipse-based IDEs

In this topic ...

Factory Projects in Eclipse-based Environments

Viewing Console Messages

Finding the Factory and Eclipse-based IDE Logs

Related Topics ...

Limiting the Elements Shown in the Navigator

Accessing Javadoc

The Designer in Eclipsed-based development environments operates as a fully integrated IDE and is available as a plugin to the following Eclipsed-based IDEs:

  • Eclipse 3.x

  • IBM Rational Development Environments

 

 

Factory Projects in Eclipse-based IDEs

The table below describes the characteristics of Factory projects:

Project Characteristic Description
Project Nature Factory projects use the Java project nature.
Project Contents Factory projects contain all the contents of the Factory's servable content root directory. For example, wpf.war and below.
Source Directory Factory projects use the Factory installation's WEB-INF/work/source directory as a source directory. You may designate other directories as Source Directories as well, but include this one.
Build Directory Points to the WEB-INF/temp directory. This is the directory to which the project's Java source files get compiled. An Ant script included as part of the Designer plugin copies the classes in this directory to the WEB-INF/work/classes directory.
Included Libraries Factory projects include all the JAR files in the Factory's WEB-INF/lib directory and the JAR files in the WEB-INF/clientlibs/servlet.jar.
External Tools Copy Classes is an Ant script that copies the compiled Java classes from the build directory to the WEB-INF/work/classes directory.

 

Viewing Console Messages

We can view the console messages generated by your IDE (including System.out statements in builder generation classes) by modifying the command property for the menu item or short cut you use to launch the Designer.

To modify the Designer launch command so that it displays a console:

  1. Open the Programs | WebSphere Portlet Factory | Designer menu item.

  2. Right-click on Designer and select Properties.

  3. In the Designer Properties dialog, add the -debug -consolelog flags to the Target value. For example:

C:\eclipse\eclipse.exe -debug -consolelog

  1. Click OK.

 

Finding Factory and Eclipse-base IDE Logs

We can find the log file for the Designer in the eclipse/plugins/com.bowstreet.designer.core/log directory.

We can find the log file for the Factory in the Factory's WEB-INF/logs directory.