From d40549736ffeee518c82cf0e17f7057e3b1ada88 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Fri, 30 Sep 2016 08:09:59 +0000 Subject: [PATCH] Update wikipage Executing a System Within and Without EiffelStudio. (Signed-off-by:jocelyn). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1658 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- ...ing-system-within-and-without-eiffelstudio.wiki | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/documentation/trunk/eiffelstudio/Tutorials/executing-system-within-and-without-eiffelstudio.wiki b/documentation/trunk/eiffelstudio/Tutorials/executing-system-within-and-without-eiffelstudio.wiki index 72084f1f..0ecb71f8 100644 --- a/documentation/trunk/eiffelstudio/Tutorials/executing-system-within-and-without-eiffelstudio.wiki +++ b/documentation/trunk/eiffelstudio/Tutorials/executing-system-within-and-without-eiffelstudio.wiki @@ -9,9 +9,7 @@ Our example system is very simple and has no need for execution arguments. In mo In the Eiffel text, you can access such run-time arguments through the Kernel Library class ARGUMENTS. There is another technique -- using the arguments to the root creation procedure -- but using ARGUMENTS is the most general way. Any class of your system can inherit from ARGUMENTS and use queries argument_count to know the number of arguments passed to the execution, and argument (i), for i between 1 and argument_count to access the i-th element. Class ARGUMENTS has more features; since you have Eiffelstudio up, you can check the details if you wish (use the contract form). -There are 2 ways to specify execution arguments from within EiffelStudio. The first is through the menu path - -Project --> Project Settings --> Debug/Profile --> Program Execution +There are 2 ways to specify execution arguments from within EiffelStudio. The first is through the menu path Execution --> Execution Parameters . The second is through the argument dialog which can be opened by right-clicking on any of the debugging or program execution buttons on the main toolbar. The latter is more convenient for quick and easy access to execution arguments. ==Executing from EiffelStudio== @@ -20,17 +18,11 @@ We have seen how to execute a compiled system from within EiffelStudio: choose o ==Executing a finalized system outside of EiffelStudio== -A finalized system can be executed on any computer of the appropriate platform; it doesn't need EiffelStudio. The executable version is in the directory - -project_directory/EIFGENs/target_name/F_code - -where `project_directory` is the project's directory and `target_name` is the name of the target. The name of the executable file is `system_name` (or `system_name.exe` on Windows) where `system_name` is the name that you have assigned to your system in the project settings (reflected in the ECF file). +A finalized system can be executed on any computer of the appropriate platform; it doesn't need EiffelStudio. The executable version is in the directory `project_directory/EIFGENs/target_name/F_code` where `project_directory` is the project's directory and `target_name` is the name of the target. The name of the executable file is `system_name` (or `system_name.exe` on Windows) where `system_name` is the name that you have assigned to your system in the project settings (reflected in the ECF file). The target of the Guided Tour system is `classic` and the name is `simple`, so you can locate `simple.exe` (or `simple.exe` on Windows) in `EIFGENs/classic/F_code` for your project, and run it stand-alone if you like. -If you run the system from a command line, and it requires arguments (`simple` doesn't), you will provide the appropriate arguments after the command name: - -system_name ... arg ... +If you run the system from a command line, and it requires arguments (`simple` doesn't), you will provide the appropriate arguments after the command name: `system_name ... arg ...` . Because various platforms have different conventions, "relative paths" referenced in your system will mean something different under Unix/Linux, where they relate to the directory from which the command is launched, and under Windows, where they relate to the application's directory.