Source folders not supported
Brought to you by:
genady
Hi,
the RMI generator doesn't work when I the source files
reside in a subdirectory in the current project.
Imaginge the following example project structure:
/myproject
+-- src/com/foo/Bar.java
+-- bin/com/foo/Bar.class
Invoking the RMI generator results in an error message
saying it doesn't find the class com.foo.Bar
Reason:
Environment.getClasspath(project) calculates a wrong
class path. You can see it when you add a simple debug
call in RMIBuilder#compile() to output the generated
class path, then you'll see that the class path doesn't
end with .../myproject/src, but instead with .../myproject.
The same happens for the output path, btw.
Regards
Thorsten
Logged In: YES
user_id=543473
Please provide more details about your environment:
Eclipse version (1.0.x, 2.0.x, 2.1.x, WSAD4, WSAD5)
OS: Windows, Linux, other Unix
Java version used to run eclipse:
Java version used to build the project:
Logged In: YES
user_id=463419
Sorry, forgot to mention that ;-)
I'm currently running Eclipse integration build I20030611
(post 3.0M1) using JDK 1.4.1_03 on Windows. The same JDK
version is used to build my project.
Logged In: YES
user_id=543473
Note that the current version does not support multiple
output folders. It does support different source folder which
are compiled into the default output folder.
If it is your problem, you should try the 1.5.0 beta, which will
be available soon at http://www.genady.net
Logged In: YES
user_id=463419
BTW, I'm using version 1.4 of the RMI generator plugin. I
tried to download the 1.5 prerelease via the project
homepage, but I'm getting the following error message when I
click on the "Download" link:
File not found.
The link ID '1' is not found in our database.
Click the Back button to try another link.
Logged In: YES
user_id=543473
I haven't installed the 3.0M1 build yet, but I guess it is
the same issue as with 2.1.
The real working beta will be soon at www.genady.net
(in a day or two).
You can email me and get it even before :)
Genady
Logged In: YES
user_id=543473
I believe it is fixed in 1.5.x