Package doesnot exist
Hi,
I am trying to write a test suite using Junit for a package. The package "Apps.Local.London.SWIFTParser" compiles and runs fine.
When I try to import the package in my testcase java file and try to compile it, I get the following error:-
SWIFTParserTest.java:10: package Apps.Local.London.SWIFTParser does not exist
import Apps.Local.London.SWIFTParser.SwiftParser;
^
The package is added in the classpath. I have this in my .cshrc
setenv CLASSPATH /home/santsat/dev/Magellan/Development/8/8.01/JIRA-1788394-SWIFTParsing/Apps/Local/London/SWIFTParser/SwiftParser.class:${CLASSPATH}
Any thoughts on as to what might be causing this issue?
[697 byte] By [
chabhia] at [2007-11-27 2:06:29]

> I am trying to write a test suite using Junit for a
> package. The package "Apps.Local.London.SWIFTParser"
> compiles and runs fine.
Still you might want to make it stick to the naming conventions.
> When I try to import the package in my testcase java
> file and try to compile it, I get the following
> error:-
>
> SWIFTParserTest.java:10: package
> Apps.Local.London.SWIFTParser does not exist
> import Apps.Local.London.SWIFTParser.SwiftParser;
> ^
> . I have this in my .cshrc
>
> setenv CLASSPATH
> /home/santsat/dev/Magellan/Development/8/8.01/JIRA-178
> 8394-SWIFTParsing/Apps/Local/London/SWIFTParser/SwiftP
> arser.class:${CLASSPATH}
Maybe you want to set the classpath to the package root (/home/santsat/dev/Magellan/Development/8/8.01/JIRA-1788394-SWIFTParsing/), not the class file.