-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev.properties provided extra classpath items are invisible to #389
Comments
Bundle.getEntry(..) and Bundle.findEntries(...) do not search the classpath. They only search the base bundle file. |
Well these are actually meant as those e.g. eclipse put things in the |
The docs state that the The framework treats them as extra |
Yes but technically they are not Bundle-Classpath entries, as the later will be placed in the "base bundle file", this currently limits PDE (and Tycho) capability to not generate data into the project root (where generated data do not belongs to) and requires to add additional build.properties entries (because content can not be placed in the output folder at the first place) and makes code that uses entry scans (e.g. to find So the goal would be to either have another way or simply treat them as "base bundle file" items. |
I think it would need to be a separate mechanism because The classpath dev mode is implemented by a |
Besides eclipse-pde/eclipse.pde#841 another use-case of that would be eclipse-platform/eclipse.platform#790.
Thanks for that suggestion, I looked into that and this looks promising and I started to work on a |
I don't see this as a disadvantage and if it simplifies things just do that if in devmode. |
@HannesWell any updates here? This would really be useful. |
Not yet, but I have it on my TODO List. Resolving interference with the existing |
This issue has been inactive for 180 days and is therefore labeled as stale. |
Bundle.getEntry(..)
andBundle.findEntries(...)
currently do not find items from extra classpath provided bydev.properties
, this is inconsistent to how a deployed bundle would operate and currently requires some ugly hacks.The text was updated successfully, but these errors were encountered: