Difference between revisions of "User FAQ"

From FAIWiki
Jump to navigation Jump to search
(added first FAQs)
 
Line 6: Line 6:
  
 
For example, if the classes FOO and BAR were defined (in that order), and <code>$FAI_CONFIGDIR/scripts/FOO</code> contained <code>S20</code> and <code>S40</code>, and <code>$FAI_CONFIGDIR/scripts/BAR</code> contained <code>S30</code>, the order of execution would be:
 
For example, if the classes FOO and BAR were defined (in that order), and <code>$FAI_CONFIGDIR/scripts/FOO</code> contained <code>S20</code> and <code>S40</code>, and <code>$FAI_CONFIGDIR/scripts/BAR</code> contained <code>S30</code>, the order of execution would be:
 
+
<code>
$FAI_CONFIGDIR/scripts/FOO/S20
+
# $FAI_CONFIGDIR/scripts/FOO/S20
$FAI_CONFIGDIR/scripts/FOO/S40
+
# $FAI_CONFIGDIR/scripts/FOO/S40
$FAI_CONFIGDIR/scripts/BAR/S30
+
# $FAI_CONFIGDIR/scripts/BAR/S30
 +
</code>

Revision as of 10:05, 11 August 2005

What's the official website for FAI?

http://www.informatik.uni-koeln.de/fai

What order are scripts executed in?

Scripts are executed in class definition order, and in numerical order within each class.

For example, if the classes FOO and BAR were defined (in that order), and $FAI_CONFIGDIR/scripts/FOO contained S20 and S40, and $FAI_CONFIGDIR/scripts/BAR contained S30, the order of execution would be:

  1. $FAI_CONFIGDIR/scripts/FOO/S20
  2. $FAI_CONFIGDIR/scripts/FOO/S40
  3. $FAI_CONFIGDIR/scripts/BAR/S30