hi, i want have access of a project(like it classes) into another project.Can i use ClasLoader for that? If so how can i do that?
Ex-I want to access classes in Project A in Project B.
hi, i want have access of a project(like it classes) into another project.Can i use ClasLoader for that? If so how can i do that?
Ex-I want to access classes in Project A in Project B.
Assuming you're talking about Eclipse and you want the classes of "Project A" to be accessible to the code of "Project B":
Right click on "Project B" -> Properties -> Java Build Path -> Projects -> "Add..." -> Add a check-mark next to "Project A" -> OK
Hi, Because of your tag (eclipse) I suppose you have 2 bundles and you want to access from one bundle to another bundles classes. In OSGI this is done using Export-Package and Import-Package properties in the bundle manifest file.
Hope it helps