Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Converting to HTF

Help
2012-12-16
2012-12-17
  • Graham Berks
    Graham Berks
    2012-12-16

    Hi, having issues getting the project to work again after moving to HTF.

    The cabal project and all tests using HTF run fine from the command line but not via eclipse.

    I have cleaned the project and there are no visible errors but nothing seems to have been built in the .dist-buildwrapper and hence trying to run tests brings up the empty config dialog box.

    Any ideas how to sort this out ?

    Thanks

     
  • Graham Berks
    Graham Berks
    2012-12-16

    Recreating the project or trashing the workspace did not help.

    Thanks

     
  • Graham Berks
    Graham Berks
    2012-12-16

    It does mention in the console

    buildwrapper: buildwrapper: could not execute: htfpp

    But this does work externally.

    I'm guessing this might have something todo that HTF is installed locally for me on my mac rather than globally. Though is somewhat of a guess. Appears to be no option to define it's location like other helpers.

     
    Last edit: Graham Berks 2012-12-16
  • Graham Berks
    Graham Berks
    2012-12-17

    Yeah I put in a temporary sym link to htfpp from my local area into global and it all works.
    If you don't mind putting in a location pref for htfpp that would be great.

    Thanks

     
  • JP Moresmau
    JP Moresmau
    2012-12-17

    I don't have control over that, it's ghc using the directive.

     
  • Graham Berks
    Graham Berks
    2012-12-17

    Fair enough will have to keep the link. Great update by the way, very handy to be able to go from the failing test to the code.

    Cheers.