Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emfcp-dev] Compile errors in my workspace

Hi, Team,

I raised a bug a while back to report compile errors in several of our source projects, owing to transitive dependencies on types that are not imported in those bundles:
  • org.eclipse.ui.views.properties.IPropertySourceProvider
  • org.eclipse.emf.ecp.edit.spi.swt.util.SWTValidationHelper
These are compile errors of the “type Xyz cannot be resolved. It is indirectly referenced from required .class files” sort.

I tried to fix this with a patch in Gerrit, but it fails to build with Tycho because Maven does not resolve the import of org.eclipse.ui.views.properties package.  Oddly, using the ECP target definition from the releng/org.eclipse.emf.ecp.target.rcp project, my workspace compiles just fine with this patch.  But of course, the patch is no good if Tycho can’t build it.  It’s a bit strange, too, that the Tycho build uses two target definition files (the ECP and RAP targets), which is a thing that PDE cannot do.  So, right off the top, our development environments are out of sync with the build.

So, my questions are
  1. How does everybody else not have these compile errors in their workspaces?  I have tried using other target definitions that I find in our git repo, but they are missing key components such as Mockito.
  2. Does anybody have a suggestion why the Tycho build would be unable to resolve the import of a package from a bundle that I quite definitely added to the target platform?  I even tried adding the entire org.eclipse.platform.feature.group, and with planner mode (the TP currently uses slicer) to ensure dependencies.
My set-up is 
  • based on Eclipse Modeling Tools EPP version Oxygen.2
  • configured by the EMFForms.setup Oomph set-up model in the repository
  • importing all of the ECP projects into my workspace, but
  • I close a large number of projects:  everything RAP-related, spreadsheet, emfstore, CDO, workspace, fx, graphiti, change broker, diff/merge, web (my focus is on some EMF Forms core stuff)
How do others on the team assemble their development environments for ECP/EMFForms?

Thanks,

Christian

Back to the top