IBM Support

Property "Java-output-path" in {J2EE Project}\.settings\org.eclipse.wst.common.component NOT used

Question & Answer


While migrating a J2EE Project from IBM® Rational® Application Developer (RAD) v6.0 to RAD v7.0, the property "Java-output-path" in {J2EE Project}\.settings\org.eclipse.wst.common.component is set to an incorrect value; does this have any negative impact on the migration results?


A J2EE Dynamic Web Project was migrated from RAD v6.0 with a changed WebContent folder name (== web Content Directory).

This was not accurately reflected in the RAD v7.0 .settings metadata folder file:
In this file, source-path refers to the Content Directory folder as follows:

<wb-resource deploy-path="/" source-path="/webApplication"/>

, and showed the changed name : /webApplication ,while:

<property name="java-output-path" value="WebContent/WEB-INF/classes"/>

,still referred to the default name of the Content Directory: WebContent.

Note: The changed name was reflected correctly in the Java Build Path ( == .classpath file):
<classpathentry kind="output" path="webApplication/WEB-INF/classes"/>
,which is critical to correctly building the project.


<property name="java-output-path" ...
..\{J2EE Project}\.settings\org.eclipse.wst.common.component

, was used in early Eclipse Web Tools Project (WTP) development for communication between the WTP Java EE code and the WTP server tools.

It is no longer used (and has not been used since WTP 0.7), and will not effect the user. It does not cause any problems with any tooling.

Note: The migration framework for RAD v7.5 will fix this entry, even though it is not used. There is no need to fix this entry in this file except for consistency/cosmetic purposes with newly created dynamic web projects in RAD v7.0 with a changed Content Directory. A fix for this problem would not be of merit for 7.0.0.x.

Although this property is benign, you can manually change value of
<property name="java-output-path"
, to reflect the changed web Content Directory name.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Development","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0;;;;;;;","Edition":""},{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Development","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"6.0;;6.0.1;;;7.0","Edition":""}]

Document Information

Modified date:
16 June 2018