Bugs item #1379847, was opened at 2005-12-13 12:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1379847&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: DrJava fails to resolve correct packages.
Initial Comment:
Running newest beta version: 20051117-1924
OS: Linux Red Hat
Java: 1.4.2_09 (tried with 1.5 as well).
I am working in project mode.
My project file is located
at: /home/mjensen/test/tests.pjt
I have 2 branches from where the project file is:
A) /test/cargo/
(Full
structure: /test/cargo/test/src/com/prosrm/cargo/secur
ity/tomcat/WebServiceTest.java)
B) /test/pdk/
(Full
structure: /test/pdk/src/com/prosrm/testsupport/web/Mo
ckFilterChain.java)
The file shown in A tries to do the following:
package com.prosrm.cargo.security.tomcat;
import com.prosrm.testsupport.web.MockFilterChain;
....
When I compile WebServiceTest.java, I get an error
message saying that the package
com.prosrm.testsupport.web doesn't exist.
As extra classpath I have
added: /home/mjensen/test/pdk/src/
But it seems like DrJava can not resolve the classes
in the other package, perhaps becuase the package its
in, reflects the same directory structhre that it
file we are currently working in looks like.
If I set the same classpath in my .bashrc file, and
compile it from the shell, it works fine.
-- Michael
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1379847&group_id=44253
|