Using a Client Project in Rational Application Developer

The webclient client project needs to be imported and configured to run the embedded WebSphere server.

  1. Unzip the %CURAM_DIR%\CURAMCDEJ\doc\RAD\RAD.zip file into the %CURAM_DIR% directory; i.e., project base directory. Overwrite the existing files if requested. These default files are for use with Rational Application Developer only.
  2. Add the following to the %CURAM_DIR%\webclient\.classpath file.
    <classpathentry kind="con"
    path="org.eclipse.jst.server.core.container/
    com.ibm.ws.ast.st.runtime.runtimeTarget.v70/was.base.v7">
    <attributes>
    <attribute name="owner.project.facets" value="jst.web"/>
    </attributes>
    </classpathentry>
    <classpathentry kind="con"
    path="org.eclipse.jst.j2ee.internal.web.container"/>
    <classpathentry kind="con"
    path="org.eclipse.jst.j2ee.internal.module.container"/>
  3. Add the following to the %CURAM_DIR%\webclient\.project file to replace the current buildSpec and natures nodes:
    <buildSpec>
    <buildCommand>
    <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>org.eclipse.jdt.core.javabuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>org.eclipse.wst.common.project.facet.core.builder</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>org.eclipse.wst.validation.validationbuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    </buildSpec>
    <natures>
    <nature>
       org.eclipse.jem.workbench.JavaEMFNature
    </nature>
    <nature>
       org.eclipse.wst.common.modulecore.ModuleCoreNature
    </nature>
    <nature>
       org.eclipse.wst.common.project.facet.core.nature
    </nature>
    <nature>org.eclipse.jdt.core.javanature</nature>
    <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
    </natures>
  4. Import the project (.project) located in the CuramCDEJ folder in the development installation.
  5. Import the project (.project) located in the webclient folder in the development installation.
    • Create a webclient\work directory to match the required source directory in the project classpath, if it is not present already.
  6. Import the project (.project) located in the CuramEAR folder in the development installation.