apps
Danger Hiptop – Build Fail, Cannot find ${env.DANGER_HOME}
Working on my first app for the Danger Hiptop SDK. It’s pretty fun, Java with custom classes stacked on top.
I was editing the project in Eclipse, but when it came time to compile via the Ant build.xml, got this type of error:
1 2 | BUILD FAILED /Applications/hiptop-sdk/examples/chessclock/build.xml:14: Cannot find ${env.DANGER_HOME}/tools/build_common.xml imported from /Applications/hiptop-sdk/examples/ourspace/build.xml |
Reason? The environment variables I set weren’t being seen in Eclipse for some reason. Not to worry. Simply:
- Right click on build.xml
- Select “Run As…”->”External Tools Configuration”
- Select the “Environment” tab
- Press “New”, and fill out “DANGER_HOME” and “/locationOfYourDangerSDK” (mine is “/Applications/hiptop-sdk”)
- Hit “Run”!
Before I was compiling it straight from terminal. But sometimes it’s nice to strike a fire instead of wait for lightning.
FTD
Popularity: 20% [?]
popular posts
projectus
what others say
- dominic on JQuery Pagination Plugin Update – Multiple Results
- Ken Phan on JQuery Pagination Plugin Update – Multiple Results
- dominic on JQuery Pagination Plugin Update – Multiple Results
- d8niel on JQuery Pagination Plugin Update – Multiple Results
- dominic on JQuery Pagination Plugin Update – Multiple Results