Thx Mike for your reply. Well, i was in fact trying to use com.sun.org.apache.... packages recquired by tuscany under android (ide: eclipse). At runtime, android complains about not finding a class. I then created a new X project which contains the needed sources, and add it to my android project dependancies as i used to Then the run continue until it fails again at some level pointing out that it can't resolve a given class, although the source file of the class is in the X project. I first thought that the first class instead of calling the second from the same project, is referencing the one in jre (import order problem during build). But a quick test on the classes.dex entries show that my second class has been bootstrapped to the device. But why isn't it resolved? That's what i'm trying to resolve. On Sun, Aug 23, 2009 at 10:07 PM, Mike Edwards < [email protected]> wrote:
> lookman sanni wrote: > >> Hi dev. >> Is there any way to specify in a java project that import should be >> resolved first using packages in the same project, before getting to >> libraries? I'm working with a project which contains same packages as JRE. >> Thx >> >> -- >> Best Regards >> >> Lookman SANNI >> http://blog.lookouster.org >> MSBI Intern at Umanis Tours Services; >> > > What environment are you using? > > If you are using OSGi, then there is a procedure for doing this. > > If you are using regular JDK without OSGi, then it is much harder. > > Which packages are you using that are "the same as the JRE"? Is this (say) > the XML Parser? > There is a process for replacing some of these packages, however, it does > it for the whole runtime, not just for your code... > > Yours, Mike. > -- Best Regards Lookman SANNI http://blog.lookouster.org MSBI Intern at Umanis Tours Services;
