-
-
Notifications
You must be signed in to change notification settings - Fork 300
Buildpath Versions
Buildpath versions can have several variations. This page describes them.
reference to .jar (possibly bundle) directly, rather than through a bnd project. (normally this is not a bnd project, because then you would one of the other forms)
-buildpath: path/to/file.jar;version=file
oldest version available
-buildpath: bsn
specific version (oldest of the 1.6 range)
-buildpath: bsn;version=1.6
latest either in an available repo or in bnd workspace
-buildpath: bsn;version=latest
reference to target generated .jar file of a bnd project in bnd workspace
-buildpath: bsn;version=snapshot
reference to project/bin directory in bnd workspace, give you visibility of packages in the project that are not exported or even included as private packages in the output bundle.
-buildpath: bsn;version=project
In an offline build, javac is unware of OSGi exports, so javac will see the entire jar. In Eclipse, the classpath container could constrain the access rules for jars using their export information. This means that Eclipse would provide visibility closer to runtime than an offline build would or could.