From 09bd4e8ad1d3bde00e6ec26a9384a77d6651254d Mon Sep 17 00:00:00 2001 From: halw Date: Sun, 28 Aug 2011 20:55:08 +0000 Subject: [PATCH] Added instructions for going from a default "new project wizard" project to a SCOOP-enabled project. Author:halw Date:2011-08-28T20:55:08.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@960 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../scoop-practical-matters.wiki | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/documentation/current/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-practical-matters.wiki b/documentation/current/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-practical-matters.wiki index 9b54afa4..80665757 100644 --- a/documentation/current/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-practical-matters.wiki +++ b/documentation/current/solutions/concurrent-computing/concurrent-eiffel-scoop/scoop-practical-matters.wiki @@ -12,7 +12,7 @@ SCOOP adds only a single keyword to the Eiffel language: separate. In any case in which SCOOP is not enabled, the separate keyword is ignored, and the SCOOP-specific validity rules are not applied. -In order to enable SCOOP processing in your project, you use the project settings. Actually, there's really just one mandatory setting: '''Concurrency''', and the value you need is '''SCOOP''', as shown in the section of the Project Settings dialog below. Still, in addition to the Concurrency project setting, remember that it is recommended that for new projects you use enable [[Creating a new void-safe project#Project settings for void-safe projects|the settings that guarantee void-safety]]. +In order to enable SCOOP processing in your project, you use the project settings. Actually, there's just one mandatory setting: '''Concurrency''', and the value you need is '''SCOOP''', as shown in the section of the Project Settings dialog below. Still, in addition to the Concurrency project setting, remember that it is recommended that for new projects you use enable [[Creating a new void-safe project#Project settings for void-safe projects|the settings that guarantee void-safety]]. @@ -23,3 +23,29 @@ In order to enable SCOOP processing in your project, you use the project setting {{note|The '''Concurrency''' setting requires a [[Clean compile|clean compile]] to be done in order for a change of value to take effect. }} +==Using the new project wizard== + +If you create a project using the EiffelStudio new project wizard (for example, selecting "Basic application" from the choices under "Create project" when EiffelStudio opens,) the created project will have neither void-safety nor SCOOP enabled. [This is true in EiffelStudio version 6.8, but may change in future versions.] So, to enable void-safety and SCOOP in such a default project, you'll have to do some work on the project settings. + +===Void-safety settings=== + +As mentioned above, you'll need to make the [[Creating a new void-safe project#Project settings for void-safe projects|the settings that guarantee void-safety]]. + +===Libraries and precompiled libraries=== + +Notice in the note in [[Creating a new void-safe project#Project settings for void-safe projects|that section of the documentation]], that for a period of transition, you should select the "'libraryname'-safe.ecf" version of libraries for void-safe projects. There is no special SCOOP version of libraries, so if you are not using a precompiled library, then selecting "base-safe.ecf" should be sufficient. + +However, there is a special version of the precompiled EiffelBase library for SCOOP. So, if you are using precompiled EiffelBase, you should remove the precompile that the wizard included, and add the precompile "precomp_base-scoop-safe.ecf". + +===The SCOOP setting=== + +Then, you'll have to select "SCOOP" as a value for the "Concurrency" setting. + +===Clean compile=== + +Changing the "Concurrency" setting, the "Void safety" setting, and precompiled libraries each would cause you to have to do a [[Clean compile|clean compile]] of your system in order to become effective. + + + + +