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

Close

#70 [Core] manage source folder and target exe from Cabal file

Milestone_6
open
Leif Frenzel
Task (31)
7
2008-04-06
2008-03-21
Leif Frenzel
No

In the past, EclipseFP managed project model information (i.e. which folders are source folders, where are the executables that are compiled from the sources in the project, etc.) itself and persisted them in a .hsproject descriptor file in the project.

All this information is also available in the .cabal file for the project, so we want in the future manage the information there. This means that

- the .cabal file is mandatory for Haskell projects in the workspace (and there is no more .hsproject instead)

- the .cabal file is the master for all project model information

Necessary changes:

- implement access to the project model details from the .cabal file (using Distribution.PackageDescription API from the Cabal package)
- enable multiple project executables (multiple source folder are already possible)
- implement resource monitoring for Cabal files and fallback robustness for projects with Haskell nature that are missing a .cabal file (validation is already in place)
- implement additional validation for project model info in .cabal files (e.g. we want to see a problem marker if the .cabal file refers to a source folder in the project which isn't actually there)

Discussion

  • Leif Frenzel
    Leif Frenzel
    2008-03-21

    • labels: --> Task
    • assigned_to: nobody --> leiffrenzel
    • priority: 5 --> 7
     
  • Leif Frenzel
    Leif Frenzel
    2008-03-21

    • milestone: --> 781048
     
  • Leif Frenzel
    Leif Frenzel
    2008-03-24

    • milestone: 781048 --> 781049
     
  • Leif Frenzel
    Leif Frenzel
    2008-03-30

    • milestone: 781049 --> 781050
     
  • Leif Frenzel
    Leif Frenzel
    2008-04-06

    • milestone: 781050 --> Milestone_6