From 3b024fc8ab28212f907df654f0718f9fd0b9c7fd Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Wed, 23 Nov 2011 15:19:35 +0100 Subject: Add option no_warn_sasl to systools:make_script This option will suppress the 'missing-sasl' warning which otherwise is issued when compiling a .rel file which does not include the sasl application. --- lib/sasl/doc/src/systools.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'lib/sasl/doc') diff --git a/lib/sasl/doc/src/systools.xml b/lib/sasl/doc/src/systools.xml index fa2fcbf534..1b90f0d4ee 100644 --- a/lib/sasl/doc/src/systools.xml +++ b/lib/sasl/doc/src/systools.xml @@ -138,8 +138,9 @@ Generate a boot script .script/.boot. Name = string() - Opt = src_tests | {path,[Dir]} | local | {variables,[Var]} | exref | {exref,[App]}] - | silent | {outdir,Dir} | warnings_as_errors + Opt = src_tests | {path,[Dir]} | local | {variables,[Var]} | exref | + {exref,[App]}] | silent | {outdir,Dir} | no_warn_sasl | + warnings_as_errors  Dir = string()  Var = {VarName,Prefix}   VarName = Prefix = string() @@ -195,6 +196,10 @@

The applications are sorted according to the dependencies between the applications. Where there are no dependencies, the order in the .rel file is kept.

+

If sasl is not included as an application in + the .rel file, a warning is emitted because such a + release can not be used in an upgrade. To turn of this + warning, add the option no_warn_sasl.

All files are searched for in the current path. It is assumed that the .app and .beam files for an application is located in the same directory. The .erl @@ -225,7 +230,7 @@

Example: If the option {variables,[{"TEST","lib"}]} is supplied, and myapp.app is found in lib/myapp/ebin, then the path to this application in - the boot script will be $TEST/myapp-1/ebin". If + the boot script will be "$TEST/myapp-1/ebin". If myapp.app is found in lib/test, then the path will be $TEST/test/myapp-1/ebin.

The checks performed before the boot script is generated can -- cgit v1.2.3