Stream: committers
Topic: Building with eclipse
Sean McIlvenna (Oct 04 2016 at 16:59):
I'm trying to build fhir-build with eclipse. I've added all the individual projects to the workspace, but I'm getting an error indicating:
The project was not built since its build path is incomplete. Cannot find the class file for org.hl7.fhir.instance.model.api.IBaseConformance. Fix the build path then try building this project
Sean McIlvenna (Oct 04 2016 at 17:00):
I can't find any folder matching org.hl7.fhir.instance.model.api
The closest I can find is org.hl7.fhir.dstu3.model.api.IBaseConformance
Sean McIlvenna (Oct 04 2016 at 17:00):
@Grahame Grieve any ideas?
Rick Geimer (Oct 04 2016 at 17:11):
Actually we figured it out. The hapi library was no on the build path.
Sean McIlvenna (Oct 04 2016 at 17:27):
Yup. I ended up having to add
<classpathentry kind="lib" path="../imports/hapi-fhir-base-1.6.jar"/>
to the .classpath file in org.hl7.fhir.tools.core
Sean McIlvenna (Oct 04 2016 at 17:28):
I also had to add a security exception (accessible) to the org.hl7.fhir.igtools project for "javafx/**"
Sean McIlvenna (Oct 04 2016 at 17:56):
I've updated the documentation in the wiki for building with eclipse: http://wiki.hl7.org/index.php?title=FHIR_Java_Setup
Sean McIlvenna (Oct 04 2016 at 17:56):
with my notes on what I've had to do to get it to work
Sean McIlvenna (Oct 04 2016 at 17:56):
I'm thinking my change to the access rules and the libraries should be committed.. but will wait for feedback
Grahame Grieve (Oct 04 2016 at 19:34):
why would you need to add hapi as a path, and not the rest of us?
Grahame Grieve (Oct 04 2016 at 19:34):
I hate java.... I'm waking up every morning to a shower of inconsistent behaviors
Grahame Grieve (Oct 04 2016 at 19:36):
I can't see any reason not commit either change - though none of us need them, so I'm sure it will blow up in our face, like everything else.
Sean McIlvenna (Oct 04 2016 at 22:12):
Yah @Grahame Grieve I feel your pain with Java :)
Last updated: Apr 12 2022 at 19:14 UTC