![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: How to import the Java packages into Rhapsoday Topic Summary: Created On: 4-Apr-2006 14:53 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I want to use Java classes as types for some of my class attributes. How can I import certain Java package into the Rhaposdy, so that I can use the class types when I define my classes. e.g., I need to use the classs defined in java.net package.
|
|
![]() |
|
![]() |
|
You download the JDK source files and reverse engineer them as external packages.
|
|
![]() |
|
![]() |
|
The answer sounds too good to be true...
When you try to reverse engineer java.net, you get nondescript error messages like those below. Unfortunately, this also happens for a lot of our own existing code, giving the impression that Rhapsody (7.0MR2 on Windows) is still not ready for Java prime time :-( Any hints how to get this working or at least get more useful diagnostics? Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/Authenticator.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/CacheResponse.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/CookieHandler.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/DatagramSocketImpl.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/HttpURLConnection.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/MulticastSocket.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/NetworkInterface.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/Proxy.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/ProxySelector.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/ResponseCache.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/SecureCacheResponse.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/Socket.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/URI.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/URLClassLoader.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/URLConnection.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/URLDecoder.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/URLEncoder.java. Fatal Error. Skipping the current file: C:/Tools/Java/jdk1.5.0_06/src/java/net/URLStreamHandler.java. |
|
![]() |
|
![]() |
|
eldad's answer sounds easy in theory, but reality is disappointing...
I have tried to reverse engineer the java.net package into Rhapsody 7.0MR2, but it fails on ~15 classes with "Fatal error..." (not a really useful diagnostic message!). Same thing happens with some of our own classes or those generated by jaxb. IMHO, if a tool claims to support the Java world, it should either include the JDK-libraries as reference models or it has at least be able to import them! Rhapsody not [yet] ready for Java prime time? |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.