Changes between Version 3 and Version 4 of howto
- Timestamp:
- Aug 30, 2020, 10:44:01 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto
v3 v4 16 16 17 17 For further options please check the [wiki:StartUp StartUp page] 18 18 19 = Interfaces: ri, web 19 {{{ri:h}}} 20 21 RefactorErl provides several [http://pnyf.inf.elte.hu/trac/refactorerl/wiki/WikiStart#Userinterfaces user interfaces]. 22 23 The [http://pnyf.inf.elte.hu/trac/refactorerl/wiki/ErlangShellInterface interactive Erlang shell interface] -- {{{ri}}} -- gives you a simple command (function call) based usage. To ask help about the parameters of the function you can use the helper functions, such as {{{ri:h()}}} or {{{ri:*_h()}}}. 24 25 If you successfully installed Yaws to your machine, you can use the [http://pnyf.inf.elte.hu/trac/refactorerl/wiki/Web2 web interface] of the tool as well. When you compile the tool you have to provide the path to the YAWS' {{{ebin}}} directory: 26 {{{bin/referl -build tool -yaws_path path_to_yaws_ebin}}} 27 28 When starting the web interface with {{{ri:start_web2/1}}}, you have to [http://pnyf.inf.elte.hu/trac/refactorerl/wiki/Web2#Startup:RefactorErlshell configure] the webserver. 20 29 21 30 = Building a database 22 For a first time user, we suggest using the {{{ri}}} interface to build the database of RefactorErl from the source code. There are several options to analyse the source files. For details see [wiki:ManagingFiles the file management page]. Here we discuss some basic scenarios.31 For a first time user, we suggest using the {{{ri}}} interface to build the database of !RefactorErl from the source code. There are several options to analyse the source files. For details see [wiki:ManagingFiles the file management page]. Here we discuss some basic scenarios. 23 32 24 33 You can add files using the {{{ri:add/*}}} functions. To add a single module just provide the path to the file as an argument: