This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
eiffel:hello:hello2:start [2018/01/01 05:36] jonathan |
eiffel:hello:hello2:start [2018/12/28 20:53] (current) jackie [Step1: Create a new project] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Lab0: Calendar===== | ||
+ | |||
+ | |||
If you get stuck, be sure to view the [[https://wiki.eecs.yorku.ca/project/eiffel/videos:start|Instructional Videos]]. | If you get stuck, be sure to view the [[https://wiki.eecs.yorku.ca/project/eiffel/videos:start|Instructional Videos]]. | ||
+ | |||
+ | For Lab0 below (Calendar example) view accompanying Video [[https://youtu.be/woVYZsVV8F8|here]] | ||
====== First Project Using the IDE ====== | ====== First Project Using the IDE ====== | ||
Line 7: | Line 12: | ||
If you have met the above preconditions, you should be able to start a new Eiffel project from scratch. Start Eiffelstudio, and setup a new project "calendar" as shown in the steps below: | If you have met the above preconditions, you should be able to start a new Eiffel project from scratch. Start Eiffelstudio, and setup a new project "calendar" as shown in the steps below: | ||
- | **Step1**: Create a new ''calendar'' project at the terminal | + | ===== Step1: Create a new project ===== |
+ | Create a new ''calendar'' project at the terminal: [[:eiffel:starter:|Eifflel 18.11 Void Safe Starter Project]]: | ||
+ | |||
+ | <code> | ||
+ | red> eiffel-new | ||
+ | New Eiffel void-safe project name: calendar | ||
+ | red> ls | ||
+ | calendar | ||
+ | </code> | ||
Check your directory structure to see that the file system mirrors the cluster hierarchy. | Check your directory structure to see that the file system mirrors the cluster hierarchy. | ||
Line 22: | Line 35: | ||
</code> | </code> | ||
+ | The new project is in the folder ''calendar''. | ||
- | Also, take a look at the XML ECF file that you have been editing via the Settings. | + | estudio18.11 calendar/calendar.ecf& |
+ | |||
+ | |||
+ | Also, take a look at the Settings and the XML/ECF file to see the Void safe settings. | ||
+ | |||
+ | To add a new cluster or class see [[/eiffel/faq/cluster|FAQ: Adding a new cluster/class]] | ||
===== Calendar Class ===== | ===== Calendar Class ===== | ||
Line 100: | Line 119: | ||
* How can we compare two dates? | * How can we compare two dates? | ||
+ | ===== Using the debugger ===== | ||
+ | |||
+ | When tests fail, it is essential to be able to use the debugger to track down the error. | ||
+ | |||
+ | |||
+ | [[https://www.youtube.com/watch?v=X2L_gyB0eAU&index=5&list=PLGoQo5eIwvcBYwWdMleIk5PU4n7lVnk-E|Using Estudio Debugger]] | ||
+ | |||
+ | This is part of a series of instructional videos: | ||
+ | [[https://wiki.eecs.yorku.ca/project/eiffel/videos:start|Eiffel instructional videos]] | ||
===== Abstraction ===== | ===== Abstraction ===== | ||