L
Luke
Hi,
I'm having problems compiling a class that uses another class that is in
the same directory.
Apparently 1.4.2 cannot import straight classes, but must have a package
name.
I have placed the classes I need in a package but one of the classes in
the package needs another class that is in the package as well.
All sounds ok, but....
I have a class (a) in say /dir1/ which accesses a class (b) in /dir1/dir2
and a class (c) in either /dir1/dir2/ or /dir1/dir2/dir3
then I have a class (b) in /dir1/dir2 which accesses a class (c) in its same
directory (/dir1/dir2) or /dir1/dir2/dir3. This doesn't work in 1.4.2. Why?
I can't place (c) in /dir1/dir2/dir3 because it is also acessed by (a)
How do I work around this?
Please help me out, I'll be able to explain it better.
thanks,
kind regards,
Luke
I'm having problems compiling a class that uses another class that is in
the same directory.
Apparently 1.4.2 cannot import straight classes, but must have a package
name.
I have placed the classes I need in a package but one of the classes in
the package needs another class that is in the package as well.
All sounds ok, but....
I have a class (a) in say /dir1/ which accesses a class (b) in /dir1/dir2
and a class (c) in either /dir1/dir2/ or /dir1/dir2/dir3
then I have a class (b) in /dir1/dir2 which accesses a class (c) in its same
directory (/dir1/dir2) or /dir1/dir2/dir3. This doesn't work in 1.4.2. Why?
I can't place (c) in /dir1/dir2/dir3 because it is also acessed by (a)
How do I work around this?
Please help me out, I'll be able to explain it better.
thanks,
kind regards,
Luke