Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#31 cannot add "-pp" option from the GUI in 2.1

v2.1
pending
5
2012-09-15
2012-03-12
Ting Lei
No

I was trying to add options (to get camlp4 work) but couldn't add the "-pp" option as described in the documentation here:
http://ocamldt.free.fr/spip.php?article17

It says: "
Once the grammar has been compiled, or if a standard grammar is available, this grammar can be used within the builder profiles, via the "-pp" option.

The example here shows a conditional compilation: "-DTAG" imposes to the compiler to take into account only the code conditioned by the "TAG" presence. See the Camlp4 manual for more information.
"
The documentation shows a screenshot like this:
http://ocamldt.free.fr/IMG/png/odt-project-configuration-grammars-use.png

But what I get after clicking the "add" button in Properties\Ocaml\BuilderProfiles\OptionDefinition\Add
is a BLANK dialogbox as in the attached screenshot.

There is no error messages to show what went wrong.

Discussion

  • Ting Lei
    Ting Lei
    2012-03-12

    screenshot of a blank dialogbox for clicking the "add" button in Properties\Ocaml\BuilderProfiles\OptionDefinition\Add

     
  • Emmanuel Dieul
    Emmanuel Dieul
    2012-03-13

    Well, it seems there's an underlying GUI crash: perhaps a Java exception is thrown. Could you post an attached file with the Eclipse error log content ? It's accessible via:
    - the "Window > Show View > Error Log" menu,
    and then the "Open Log" icon of this view.

    • the "Help > About Eclipse" menu,
      and then the "Installation Details" button
      and "Configuration" page
      and "View Error Log" button

    Could you also indicate which release of Eclipse and Java is used ?

    Thanks.