File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Workspace Files not Compiling in RAD 7.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Workspace Files not Compiling in RAD 7.0" Watch "Workspace Files not Compiling in RAD 7.0" New topic
Author

Workspace Files not Compiling in RAD 7.0

hariharakarthi Subramanian
Greenhorn

Joined: Aug 11, 2008
Posts: 11
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

Joined: Nov 03, 2004
Posts: 6
Click on the Project > Properties > Builders and Check if the builder is configured.
hariharakarthi Subramanian
Greenhorn

Joined: Aug 11, 2008
Posts: 11
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

Joined: Nov 03, 2004
Posts: 6
did you check if it is added in the JVM Classpath?
hariharakarthi Subramanian
Greenhorn

Joined: Aug 11, 2008
Posts: 11
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

Joined: Aug 11, 2008
Posts: 11
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Workspace Files not Compiling in RAD 7.0