Setup of HAPI off Master Branch

27 views
Skip to first unread message

Ivan Sager

unread,
Oct 22, 2017, 10:35:35 PM10/22/17
to HAPI FHIR
Trying to get HAPI setup in intellij

Downloaded the master branch https://github.com/jamesagnew/hapi-fhir
and let Maven resolve the dependencies.

When I try to compile, I get several errors around dependencies not found such as 
 
  • import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
  • CodeableConceptDt
  • StructureDefinition
Any help will be appreciated!

Cheers
Ivan

James Agnew

unread,
Oct 25, 2017, 5:22:16 PM10/25/17
to Ivan Sager, HAPI FHIR
Hi Ivan,

All of those classes (and many more) are code generated during the HAPI build process. I'd recommend running a full build from the command line (via "mvn install") at least once. From there IDEA should automatically see the generated files, but you may have to do a "generate sources and update folders" on the projects.

Cheers,
James

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/b1f93c31-a221-4001-a017-c50115a89b55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

isa...@sagersystems.com

unread,
Oct 27, 2017, 11:12:28 PM10/27/17
to HAPI FHIR
Thanks. Yip got it working seem to be a few glitches with r4 tests but I can get past those. Cheers Ivan
Reply all
Reply to author
Forward
0 new messages