This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Workspace Files not Compiling in RAD 7.0

 
hariharakarthi Subramanian
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Currenlty My Applicatio running on WSAD 5.1.2. We are planned to Migrate to RAD 7.0. So, I created a new workspace in RAD 7.0. I have loaded the project files and build the Workspace from scratch. But, in RAD 7.0 the files are not compiling and it is not throwing any error/warning also. If do build and see the build driectory, there is no class files generated. I am using the JDK proivided in RAD. I have changed the JDK to JDK 1.4 also. But the result is same.

In RAD.7.0 I have built a new Hello World Project. That is working fine.

Please advise.
 
Venkat Srinivasan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Click on the Project > Properties > Builders and Check if the builder is configured.
 
hariharakarthi Subramanian
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have verified the Builder in Project Properties. It is already congifured as javabuilder and migration builder. Both are checked.

Our project has reference to Websphere's rsadapterspi.jar file. Hence, the build path it is been added from the runtimes\base_v6_stub\lib directory.
But, we are getting an error "The type com.ibm.websphere.rsadapter.WSConnection cannot be resolved. It is indirectly referenced from required .class files"
But, jar files are added in the class path correctly. The same project compiles fine in WSAD 5.1.2. In RAD 7.0, the code thorws the above error.

Help us to resolve this issue.
 
Venkat Srinivasan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you check if it is added in the JVM Classpath?
 
hariharakarthi Subramanian
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Srini,

Thanks for your quick response.

It is added in the class path. Classpath of the project is as follows,

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry exported="true" kind="lib" path="C:/Workspace/workspace_App_mig/COGSecWeb/WebContent/WEB-INF/lib/classes12.zip"/>
<classpathentry exported="true" kind="lib" path="C:/Program Files/IBM/SDP70/runtimes/base_v6_stub/lib/rsadapterspi.jar"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry exported="true" kind="lib" path="C:/Program Files/IBM/SDP70/runtimes/base_v61/lib/j2ee.jar"/>
<classpathentry exported="true" kind="lib" path="C:/Workspace/workspace_App_mig/COGSecWeb/WebContent/WEB-INF/lib/cafe.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/COGSecServices"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/COGSecWeb"/>
<classpathentry kind="output" path=""/>
</classpath>

The rsadapterspi.jar is added in the class path.
You have mentioned that to add it in JVM path, I assume that you are talking about the classpath of the project. If not can you clarify what is JVM path?

Thanks,
Karthi S
 
hariharakarthi Subramanian
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The class path is as follows, Somehow it is not dipslayed in my previous postt..

<?xml version="1.0" encoding="UTF-8"?>
< !--
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry exported="true" kind="lib" path="C:/Workspace/workspace_App_mig/COGSecWeb/WebContent/WEB-INF/lib/classes12.zip"/>
<classpathentry exported="true" kind="lib" path="C:/Program Files/IBM/SDP70/runtimes/base_v6_stub/lib/rsadapterspi.jar"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_ConTAINER"/>
<classpathentry exported="true" kind="lib" path="C:/Program Files/IBM/SDP70/runtimes/base_v61/lib/j2ee.jar"/>
<classpathentry exported="true" kind="lib" path="C:/Workspace/workspace_App_mig/COGSecWeb/WebContent/WEB-INF/lib/cafe.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/COGSecServices"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/COGSecWeb"/>
<classpathentry kind="output" path=""/>
</classpath>
-->

[edited to escape HTML]
[ August 14, 2008: Message edited by: Jeanne Boyarsky ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic