Danger Hiptop – Build Fail, Cannot find ${env.DANGER_HOME}

Thursday, January 28th, 2010 | apps, code hacking

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:

  1. Right click on build.xml
  2. Select “Run As…”->”External Tools Configuration”
  3. Select the “Environment” tab
  4. Press “New”, and fill out “DANGER_HOME” and “/locationOfYourDangerSDK” (mine is “/Applications/hiptop-sdk”)
  5. 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

Share

Tags: , ,

2 Comments to Danger Hiptop – Build Fail, Cannot find ${env.DANGER_HOME}

vicky
November 10, 2010

Hi,
the developer site for hiptop has stopped working. I need the developer’s docs to study for my interview in two days. could you please mail me the docs, asap.
Thanks in anticipation.

dominic
November 10, 2010

Hey Vicky,

I’ll check around for the documentation but… basically it’s been shut down since September 2010. They were really difficult to get our app reviewed. Makes you glad Apple Store came out!

Leave a comment

Subscribe

archives