delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

When using the classes defined in Project A in code in Project B, eclipse's auto-complete finds them ok.
However - when I try and build Project B with the dependence on Project A, I get the compile error:
package au.com.company.device.logging does not exist
Is there something obvious I am missing?  I trully thought this would be a simple matter.  Are the names of the packages in the two projects somehow conflicting?
Any help very much appreciated, cheers.
Luke


Hi all,
I am developing a j2me library for a device.
I want Project A to be the library project.  This will have a set of packages all with the structure..
au.com.company.device.<some components name>
Next I want Project B to be a test application which uses the classes of Project A.
In Project B there is the package..
au.com.company.device.testmidlet
This seems like a simple enough scenario, and yet I cannot get it to work in Eclipse IDE.
What I have done:
I have both the projects compiling when the dependency is broken (by commenting out code).
In Project B's properties, 'Java Build Path', on the 'Projects' tab I have Project A selected.
Project A has its source folder selected for export.
When using the classes defined in Project A in code in Project B, eclipse's auto-complete finds them ok.
However - when I try and build Project B with the dependence on Project A, I get the compile error:
package au.com.company.device.logging does not exist
Is there something obvious I am missing?  I trully thought this would be a simple matter.  Are the names of the packages in the two projects somehow conflicting?
Any help very much appreciated, cheers.
Luke

TOP

Hello hiero, welcome to devshed.
I've moved this thread into Java Help, as the helpful javanuts in here can probably answer this more easily than the Other-Programming-Languages posse.
--Simon

TOP

Thanks for that!



When using the classes defined in Project A in code in Project B, eclipse's auto-complete finds them ok.
However - when I try and build Project B with the dependence on Project A, I get the compile error:
package au.com.company.device.logging does not exist
Is there something obvious I am missing?  I trully thought this would be a simple matter.  Are the names of the packages in the two projects somehow conflicting?
Any help very much appreciated, cheers.
Luke

TOP

Back Forum