User Tools

Site Tools


eiffel:faq:eiffel-new

This is an old revision of the document!


eiffel-new

eiffel-new is a command line program on our Prism workstations (and the SEL Virtual Machine) to create a new Eiffel project with void safe settings and including the Espec unit testing framework and Mathmodels.

> eiffel-new
New Eiffel void-safe project name: fizzbuzz
Use:  estudio19.05 fizzbuzz/fizzbuzz.ecf &
> ls
fizzbuzz/
> cd fizzbuzz/
> ls
fizzbuzz.ecf  model/        root/         tests/
> estudio fizzbuzz/fizzbuzz.ecf & 
 -- starts EiffelStudio IDE
end

The command prompts you for a project name (e.g. fizzbuzz) and then creates a folder called fizbuzz with a root class (file root.e), a test class TEST_EXAMPLE (file test_example.e) and an ECF file.

At the command line execute estudio fizzbuzz/fizzbuzz.ecf & . The IDE is invoked and will ask for a directory in which to place the EIFGEN files.

eiffel/faq/eiffel-new.1562862578.txt.gz · Last modified: 2019/07/11 16:29 by jonathan