I'm using someones source code and I cannot import some required files. The folders in which these files are all exist but I cannot import them since they are not being recognised. Any help please?
Attachment 32753Attachment 32755
Printable View
I'm using someones source code and I cannot import some required files. The folders in which these files are all exist but I cannot import them since they are not being recognised. Any help please?
Attachment 32753Attachment 32755
Is there an ambiguity problem by having a folder named: src.rpf and one named src with a contents rpf?
Also posted at: http://www.dreamincode.net/forums/to...lem-with-path/
I posted on both forums to get different replies. I'm really not sure what to do. I've tried renaming the folders too but that didn't work.
Is there a file located at the path shown in the import statement?
In the example I gave theres a file in the NyARReality folder which is located in sub-folders found in the folder src.rpf but then there is another folder called src with a folder rpf inside and I think it's getting confused.
How would it get confused if the src.rpf folder did not exist? Get rid of it so there is no confusion.Quote:
I've tried renaming the folders too but that didn't work.
Don't delete it, just rename it so that it removes the ambiguity between:
src.rpf
and
src/rpf
I'm going to go ahead and do that and I'll update you. Thanks
Tried renaming all the folders that had two words separated by a dot and instead separated them using '_'. I still get the same problemAttachment 32757
Try creating small small simple testing programs with one class in a package and work on getting that to work. There are too many parts in this problem for you to post it all. With two classes with one in a package that is imported in the other, you can work on learning how to use packages, classpath and the import statement.
BTW I can't read the text in the images. It'd be better to copy the text and paste it here.