]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Fri, 5 Nov 1999 18:28:10 +0000 (18:28 +0000)
committercas <cas@opencascade.com>
Fri, 5 Nov 1999 18:28:10 +0000 (18:28 +0000)
25 files changed:
src/WOKStep/FILES
src/WOKStep/WOKStep.cdl
src/WOKStep/WOKStep_ArchiveLibrary.cxx
src/WOKStep/WOKStep_ClientExtract.cxx
src/WOKStep/WOKStep_CodeGenerate.cxx
src/WOKStep/WOKStep_Compile.cxx
src/WOKStep/WOKStep_DynamicLibrary.cxx
src/WOKStep/WOKStep_ExecLink.cxx
src/WOKStep/WOKStep_Extract.cxx
src/WOKStep/WOKStep_ExtractExecList.cxx
src/WOKStep/WOKStep_HeaderExtract.cxx
src/WOKStep/WOKStep_ImplementationDep.cxx
src/WOKStep/WOKStep_LibLimit.cxx
src/WOKStep/WOKStep_LibLink.cxx
src/WOKStep/WOKStep_Link.cxx
src/WOKStep/WOKStep_LinkList.cxx
src/WOKStep/WOKStep_MSFill.cxx
src/WOKStep/WOKStep_ProcessStep.cxx
src/WOKStep/WOKStep_Source.cxx
src/WOKStep/WOKStep_TKReplace.cxx
src/WOKStep/WOKStep_TclLibIdep.tcl
src/WOKStep/WOKStep_ToolkitSource.cxx
src/WOKStep/WOKStep_WNTLibrary.cxx
src/WOKStep/WOKStep_ccl.tcl
src/WOKStep/WOKStep_frontal.tcl

index 36074c3c77f664b518be8f7c25490cf768d24583..65bf21cce1b64334f16b0ad7c23970acc79ab608 100755 (executable)
@@ -1,3 +1,5 @@
 WOKStep_ccl.tcl
 WOKStep_frontal.tcl
 WOKStep_TclLibIdep.tcl
+WOKStep_JavaCompile.tcl
+WOKStep_JavaHeader.tcl
index f4f245521ebab6024853f39e0826722dab4ec321..8ec039601943fabe5497563f766a72516c87118a 100755 (executable)
@@ -39,6 +39,7 @@ is
            class ServerExtract;
            class ClientExtract;
            class EngineExtract;
+           class JiniExtract;
        
        class ExtractExecList;
        
index a0b52743a407a0f341fcdd411c5f1e88a34ade82..aaa89450ee5a695fe1cf215a3a7849687bd6e05a 100755 (executable)
@@ -175,6 +175,7 @@ void WOKStep_ArchiveLibrary::Execute(const Handle(WOKMake_HSequenceOfInputFile)&
               << "Failed     : lib" <<   ar->TargetName() << ".a" << endm;           
       SetFailed();
       break;
+    default: break;
     }
   ashell->NoLog();
   ashell->UnLock();
index d3ceff45a3107792abe64e92146725fd73721bbd..9d9e226b77298c9d4c7f13d4b6e63df1f980a5ea 100755 (executable)
@@ -218,7 +218,8 @@ Handle(WOKMake_HSequenceOfInputFile) WOKStep_ClientExtract::OutOfDateEntities()
        case WOKBuilder_NotDefined:
          SetFailed();
          return result;
-       }
+        default: break;
+        }
     }
   return result;
 }
@@ -314,6 +315,7 @@ void WOKStep_ClientExtract::Execute(const Handle(WOKMake_HSequenceOfInputFile)&
                    outfile = new WOKernel_File(outent->Path()->FileName(), Unit(), sourcetype);
                    istemplate = Standard_True;
                    break;
+                   default: break;
                  }
              
                outfile->GetPath();
@@ -371,6 +373,7 @@ void WOKStep_ClientExtract::Execute(const Handle(WOKMake_HSequenceOfInputFile)&
        case WOKBuilder_Failed:
          ErrorMsg << "WOKStep_Extract::Execute" << "Failed    : " << entity->Name() << endm;          
          break;
+        default: break;
        }
     }
 
index 0b6819eb7bd5b82df6c37186fed4d1d4e9a8ebb5..d0523e2e3325e575217071e616eb4086f3a318bc 100755 (executable)
@@ -236,6 +236,7 @@ void WOKStep_CodeGenerate::Execute(const Handle(WOKMake_HSequenceOfInputFile)& e
          fails->Append(infile);
          ErrorMsg << "WOKStep_CodeGenerate::Execute" << "Failed    : " << infile->File()->Name() << endm;           
          break;
+        default: break;
        }
     }
 
index 88d3f1e389ae152586ac2318f2b1ad7b93d066e3..9603a10a1cad09009ca4e6b0d8c2110c867369b1 100755 (executable)
@@ -273,6 +273,7 @@ _TEST_BREAK();
          fails->Append(infile);
          ErrorMsg << "WOKStep_Compile::Execute" << "Failed    : " << infile->File()->Name() << endm;           
          break;
+        default: break;
        }
     }
 
index 6333db327ceaab73fe306f70ec4bcd0b7c169a37..5520314e9215cff80f5df3190a5a9bbb12e58ea5 100755 (executable)
@@ -242,6 +242,7 @@ void WOKStep_DynamicLibrary::Execute(const Handle(WOKMake_HSequenceOfInputFile)&
               << "Failed     : " <<   libname << endm;           
       SetFailed();
       break;
+    default: break;
     }
   
   ashell->UnLock();
index 824c6af4a02330e9ea7829f2248b22cc880bad56..c0213f58612d499db352925f2f7a7a115ae8490d 100755 (executable)
@@ -113,6 +113,7 @@ void WOKStep_ExecLink::Execute(const Handle(WOKMake_HSequenceOfInputFile)& execl
     case WOKMake_Failed:
     case WOKMake_Unprocessed:
       break;
+    default: break;
     }
   SetStatus(status);
   return;
index 0bb24651116d9356362cbd6f96d79f5d898eed29..262699657064d84cbcf492349e13e4f8283ba47b 100755 (executable)
@@ -198,6 +198,7 @@ void WOKStep_Extract::Execute(const Handle(WOKMake_HSequenceOfInputFile)& tobuil
                    outfile = new WOKernel_File(outent->Path()->FileName(), Unit(), sourcetype);
                    istemplate = Standard_True;
                    break;
+                  default: break;
                  }
              
                outfile->GetPath();
@@ -262,6 +263,7 @@ void WOKStep_Extract::Execute(const Handle(WOKMake_HSequenceOfInputFile)& tobuil
 
          ErrorMsg << "WOKStep_Extract::Execute" << "Failed    : " << entity->Name() << endm;          
          break;
+         default: break;
        }
     }
 
index 5ec2feda5e09b34f17b04392b17cdee694aed0ce..968bb15c1703e784a2da32389bb19c55e0b7cf14 100755 (executable)
@@ -159,6 +159,7 @@ _TEST_BREAK();
                             << "========> " << astep->SubCode() << " is still unprocessed" << endm;
                  ok=Standard_False;
                  break;
+                default: break;
                }
 
              AddExecDepItem(infile,outfile, Standard_True);
index 80334350923980e822f14faa49d2b6761ea2ac49..95cce548cc08ace5e51b378cfd5c5614d1aa4d45 100755 (executable)
@@ -82,6 +82,7 @@ _TEST_BREAK();
        case WOKBuilder_NotDefined:
          SetFailed();
          return result;
+        default: break;
        }
     }
   return result;
index af455d1648c214106d3f5060327130e86b39b47a..ad1c4c29e9279bc8bd859e110c6fdf7d3c4d249b 100755 (executable)
@@ -198,8 +198,6 @@ void WOKStep_ImplementationDep::Execute(const Handle(WOKMake_HSequenceOfInputFil
   outidep->SetLocateFlag(Standard_True);
 
 
-  WOKTools_MapOfHAsciiString& knownunits = BuildProcess()->KnownUnits();
-
   if(InternFile.IsNull() && InFiles->Length())
     { 
       for(Standard_Integer i=1; i<=InFiles->Length(); i++)
index 135ecbaaa0ebabfa3869239ad6f1d03380122240..2f08e404f796cbdd21317cdd83b0322818ad4ac3 100755 (executable)
@@ -257,6 +257,7 @@ void WOKStep_LibLimit::Execute(const Handle(WOKMake_HSequenceOfInputFile)& execl
                             << "========> " << astep->SubCode() << " is still unprocessed" << endm;
                  ok=Standard_False;
                  break;
+                 default: break;
                }
              Handle(TCollection_HAsciiString) Theid = WOKMake_Step::StepOutputID(Unit()->Name(),
                                                                               astep->Code(),
index 693eb8bfdbe6d3d5910831d7d5055d984bba73b1..178e3edb96b625c885bf4c7cdf18af304103b64c 100755 (executable)
@@ -127,6 +127,7 @@ void WOKStep_LibLink::Execute(const Handle(WOKMake_HSequenceOfInputFile)& execli
     case WOKMake_Failed:
     case WOKMake_Unprocessed:
       break;
+    default: break;
     }
 
   SetStatus(status);
index 1ec4e1d7c4fa753717ea5f19c9f877820470ab2d..5ba1b73a14d020a945039a68cd4b2a908b4ab33d 100755 (executable)
@@ -494,6 +494,7 @@ WOKMake_Status WOKStep_Link::ExecuteLink(Handle(WOKMake_HSequenceOfOutputFile)&
       ErrorMsg << "WOKStep_Link::ExecuteLink" << "Failed    : " << mytarget << endm;
       SetFailed();
       break;
+    default: break;
     }
   
   ashell->UnsetEcho();
index 7740278f3344dabd9e19b4686b5a1ebdb2aebd8c..d3e961380a0fc0dd14c0f197805013793e652fcc 100755 (executable)
@@ -148,7 +148,7 @@ Handle(WOKMake_OutputFile) WOKStep_LinkList::GetUnitLibrary(const Handle(WOKerne
   Handle(WOKMake_OutputFile)   alib;
   Handle(WOKernel_File)        afile;
   Handle(WOKernel_UnitNesting) anesting;
-  WOKBuilder_LibReferenceType  reftype;
+  WOKBuilder_LibReferenceType  reftype = WOKBuilder_FullPath;
   static Handle(TCollection_HAsciiString) libtype = new TCollection_HAsciiString("library");
   Handle(TCollection_HAsciiString) libname;
 
@@ -156,7 +156,6 @@ Handle(WOKMake_OutputFile) WOKStep_LinkList::GetUnitLibrary(const Handle(WOKerne
 
   if(anesting->IsKind(STANDARD_TYPE(WOKernel_Workbench)))
     {
-      reftype = WOKBuilder_FullPath;
     }
   else
     {
index c682e45b277274b38b4f175c3d8390830ed10f82..7c3dea7f56461ca44a95204184141ebbbca9b447 100755 (executable)
@@ -232,6 +232,11 @@ void WOKStep_MSFill::Execute(const Handle(WOKMake_HSequenceOfInputFile)& )
     {
       anit.AddInStack(Unit()->Name(), WOKBuilder_Engine);
     }
+  else if (Unit()->TypeCode() == 'j')
+    {
+      anit.AddInStack(Unit()->Name(), WOKBuilder_Client);
+    }
+      
 
 
   while(anit.More() && !stop)
index bfe71812c53c73cedc11770c1222a5839a3ee7e4..43605952381aba353da20f37f70c2b00c6db0ceb 100755 (executable)
@@ -51,6 +51,8 @@
 
 #include <WOKStep_ProcessStep.ixx>
 
+#include <WOKUtils_AdmFile.hxx>
+
 #define READBUF_SIZE 1024
 
 #ifndef WNT
@@ -166,7 +168,7 @@ Handle(TCollection_HAsciiString) WOKStep_ProcessStep::GetUnitName(const Handle(T
        {
          break;
        }
-      *ptr++;
+      ++ptr;
     }
 
   *unitptr = '\0';
@@ -461,6 +463,48 @@ Handle(WOKUtils_HSequenceOfPath) WOKStep_ProcessStep::ComputeIncDirectories() co
        }
     }
 
+  DOT   = Unit () -> Params ().Eval ( "%FILENAME_FILES" );
+  aname = new TCollection_HAsciiString ( "source" );
+  afile = Locator () -> Locate (  Unit () -> Name (), aname, DOT  );
+
+  if (  !afile.IsNull ()  ) {
+
+   WOKUtils_AdmFile                          afiles (  afile -> Path ()  );
+   Handle( TCollection_HAsciiString        ) p = new TCollection_HAsciiString ( "privinclude" );
+   Handle( TColStd_HSequenceOfHAsciiString ) s;
+
+   s = afiles.Read ();
+
+   if (  !s.IsNull ()  )
+
+    for (  i = 1; i <= s -> Length (); ++i  ) {
+
+     Standard_Integer j;
+
+     DOT = s -> Value ( i );
+         
+     DOT -> LeftAdjust  ();
+     DOT -> RightAdjust ();
+
+     if (   (  j = DOT -> Search ( ":" )  ) != -1   ) {
+
+      aname = DOT -> SubString ( 1, j - 1 );
+      
+      afile = Locator () -> Locate (  aname, p, new TCollection_HAsciiString ( "" )  );
+
+      if (   !afile.IsNull () && !amap.Contains (  afile->Path () -> Name ()  )   ) {
+
+       aseq -> Append (  afile -> Path ()  );
+       amap.Add(  afile -> Path () -> Name ()  );
+
+      }  // end if
+
+     }  // end if
+     
+    }  // end for
+   
+  }  // end if
+
   return aseq;
 }
 
index a9b4ba80e7cacdddbf3bfc7fe1e21d95a14289b9..a3cc50ef17f0d4c60f6017c6444a98c7848359f9 100755 (executable)
@@ -133,8 +133,12 @@ _TEST_BREAK();
          
              astr->LeftAdjust();
              astr->RightAdjust();
-             
-             afile = Locator()->Locate(Unit()->Name(), sourcetype, astr);
+
+              if (  astr -> Search ( ":" ) != -1  ) {
+
+               afile = Locator () -> Locate ( astr );
+
+              } else afile = Locator()->Locate(Unit()->Name(), sourcetype, astr);
              
              if(afile.IsNull() == Standard_True)
                {
index dfcb19cefe4fb7c058fbe9a66d6c0f78348f52a9..b983d41b98e88fd1940feacc50c7e63eee961fc1 100755 (executable)
@@ -404,8 +404,6 @@ Handle(WOKMake_OutputFile) WOKStep_TKReplace::SubstituteInput(const Handle(WOKMa
       
       Handle(TCollection_HAsciiString) current = TheUnit->Name();
 
-      Standard_Integer udidx = myuds.FindIndex(current);
-      
       mytreated.Add(current);
 
       Handle(TCollection_HAsciiString) curtk = GetTKForUnit(current);
index faa34a0b366e1adebdba0853ee53caae63c8e088..2d8e39cc3fdd35bd6be2ed95fd87aeaf716682a6 100755 (executable)
@@ -1,16 +1,16 @@
 
 
 
-proc WOKStep_TclLibIdep::AdmFileType {} {
+proc WOKStep_TclLibIdep:AdmFileType {} {
     return "stadmfile";
 }
 
-proc WOKStep_TclLibIdep::OutputDirTypeName {} {
+proc WOKStep_TclLibIdep:OutputDirTypeName {} {
     return "sttmpfile";
 }
 
 
-proc WOKStep_TclLibIdep::HandleInputFile { ID } { 
+proc WOKStep_TclLibIdep:HandleInputFile { ID } { 
     
     scan $ID "%\[^:\]:%\[^:\]:%\[^:\]"  unit type name
     if {$name == "PACKAGES"} {
@@ -20,9 +20,9 @@ proc WOKStep_TclLibIdep::HandleInputFile { ID } {
     return 0
 }
 
-proc WOKStep_TclLibIdep::Execute { unit args } {
+proc WOKStep_TclLibIdep:Execute { unit args } {
 
-    msgprint -i -c "WOKStep_TclLibIdep::Execute" "Build ImplDep"
+    msgprint -i -c "WOKStep_TclLibIdep:Execute" "Build ImplDep"
 
     set unitname [wokinfo -n $unit]
 
@@ -31,7 +31,7 @@ proc WOKStep_TclLibIdep::Execute { unit args } {
     set packfile [woklocate -p $file $unit]
     
     if {[clength $packfile] == 0} {
-       msgprint -e -c "WOKStep_TclLibIdep::Execute" "Could not locate PACKAGES for unit $unit"
+       msgprint -e -c "WOKStep_TclLibIdep:Execute" "Could not locate PACKAGES for unit $unit"
        return 1;
     } else {
        for_file anud $packfile {
index a711d6b51ae75a18ebaf39542688114a08b3853a..7aad7505be28542fc8d52d7a7091b7fef44915e8 100755 (executable)
@@ -62,7 +62,6 @@ void WOKStep_ToolkitSource::AddPACKAGES(const Handle(WOKMake_InputFile)& PACKAGE
 {
   Handle(WOKernel_File) afile;
   Handle(TCollection_HAsciiString) sourcetype = new TCollection_HAsciiString("source");
-  Standard_Integer i;
 
   // le fichier PACKAGES
   WOKUtils_Param params = Unit()->Params();
index 3056510ebdfade42a97a7da13c9492f6179c4cd4..da73b95b613236dd596b9c74562d128e852ff4fa 100755 (executable)
@@ -147,6 +147,7 @@ void WOKStep_WNTLibrary::Execute (const Handle(WOKMake_HSequenceOfInputFile)& an
    case WOKBuilder_Failed:
      SetFailed();
      break;
+   default: break;
    }
 }
 
index 7f80dd9fcbd9d76123c614b6191628e60725a50e..8f89ff0099ce4036350ccf725878c6413ac6a59d 100755 (executable)
@@ -1,14 +1,14 @@
 
-proc WOKStep_ccl::AdmFileType {} {
+proc WOKStep_ccl:AdmFileType {} {
     
     return admfile;
 }
 
-proc WOKStep_ccl::OutputDirTypeName {} {
+proc WOKStep_ccl:OutputDirTypeName {} {
     return tmpdir;
 }
 
-proc WOKStep_ccl::HandleInputFile { ID } {
+proc WOKStep_ccl:HandleInputFile { ID } {
 
     scan $ID "%\[^:\]:%\[^:\]:%\[^:\]"  unit type name
     
@@ -31,10 +31,10 @@ proc WOKStep_ccl::HandleInputFile { ID } {
     }
 }
 
-proc WOKStep_ccl::Execute { unit args } {
+proc WOKStep_ccl:Execute { unit args } {
 
-    msgprint -i -c "WOKStep_ccl::Execute" "Processing unit : $unit"
-    msgprint -i -c "WOKStep_ccl::Execute"
+    msgprint -i -c "WOKStep_ccl:Execute" "Processing unit : $unit"
+    msgprint -i -c "WOKStep_ccl:Execute"
 
     set unitname [wokinfo -n $unit]
     set targetid "$unitname:ccldrv:$unitname.ccl"
index 0464957c140e80f7a4afc63a777a5bdbaf3d9a7e..06ea6d5557df46ca6e02aad5af503a8f3cba036b 100755 (executable)
@@ -1,18 +1,18 @@
 
-proc WOKStep_frontal::AdmFileType {} {
+proc WOKStep_frontal:AdmFileType {} {
     return stadmfile;
 }
 
-proc WOKStep_frontal::OutputDirTypeName {} {
+proc WOKStep_frontal:OutputDirTypeName {} {
     return sttmpdir;
 }
 
-proc WOKStep_frontal::HandleInputFile { ID } {
+proc WOKStep_frontal:HandleInputFile { ID } {
     return 1;
 }
 
 
-proc WOKStep_frontal::ExecuteOldFrontal {unit args} {
+proc WOKStep_frontal:ExecuteOldFrontal {unit args} {
     global WOK_GLOBALS
 
     set pk [wokinfo -n $unit]
@@ -58,7 +58,7 @@ proc WOKStep_frontal::ExecuteOldFrontal {unit args} {
 
     msgprint -i "Copying binary file Lelisp from ${bin}"
     if [catch {eval "exec cp $from [pwd]"} res] {
-       msgprint -e -c "WOKStep_frontal::Execute" $res
+       msgprint -e -c "WOKStep_frontal:Execute" $res
        return 1
     }
 
@@ -100,11 +100,11 @@ proc WOKStep_frontal::ExecuteOldFrontal {unit args} {
     set licensefile [woklocate -p CCLFrontal:datafile:[wokparam -e %Ilog_File] $wb]
 
     if { $licensefile == "" } {
-       msgprint -c "WOKStep_frontal::Execute" -e "Unable to locate the Ilog license file"
+       msgprint -c "WOKStep_frontal:Execute" -e "Unable to locate the Ilog license file"
        return 1;
     }
 
-    msgprint -c "WOKStep_frontal::Execute" -i "Building $pk"
+    msgprint -c "WOKStep_frontal:Execute" -i "Building $pk"
     
     if [catch {eval "exec /bin/env ILOG_LICENSE_FILE=$licensefile $exec -f tmp.ccl << (end)"} result] {
        msgprint -e "$result"
@@ -113,7 +113,7 @@ proc WOKStep_frontal::ExecuteOldFrontal {unit args} {
     set resexe [wokinfo -p executable:$pk $unit]
     set rescore [wokinfo -p corelisp:${pk}.core $unit]
 
-    msgprint -i -c "WOKStep_frontal::Execute" "Updating $resexe"
+    msgprint -i -c "WOKStep_frontal:Execute" "Updating $resexe"
     wokparam -s "%LeLispFile=$from"
     wokparam -s "%CoreFile=$rescore"
     
@@ -124,15 +124,15 @@ proc WOKStep_frontal::ExecuteOldFrontal {unit args} {
        close $fidexe
        chmod 0755 $resexe
     } else {
-       msgprint -e -c "WOKStep_frontal::Execute" "Enable to generate $rescore"
-       msgprint -e -c "WOKStep_frontal::Execute" $res
+       msgprint -e -c "WOKStep_frontal:Execute" "Enable to generate $rescore"
+       msgprint -e -c "WOKStep_frontal:Execute" $res
 
        return 1
     }
 
-    msgprint -i -c "WOKStep_frontal::Execute" "Updating $rescore"
+    msgprint -i -c "WOKStep_frontal:Execute" "Updating $rescore"
     if [catch {eval "exec cp $pk.core $rescore"} result] {
-       msgprint -e -c "WOKStep_frontal::Execute" $result
+       msgprint -e -c "WOKStep_frontal:Execute" $result
     }
 
     
@@ -171,7 +171,7 @@ proc WOKStep_frontal::ExecuteOldFrontal {unit args} {
 
 
 
-proc WOKStep_frontal::ExecuteNewFrontal { unit args } {
+proc WOKStep_frontal:ExecuteNewFrontal { unit args } {
     global WOK_GLOBALS
 
     set pk [wokinfo -n $unit]
@@ -251,7 +251,7 @@ proc WOKStep_frontal::ExecuteNewFrontal { unit args } {
     set fileoutmsg [wokinfo -p cmpmsgfile:${pk}_Cmp.us $unit]
     set fileoutoldmsg [wokinfo -p msgfile:${pk}.us $unit]
 
-    msgprint -i -c "WOKStep_frontal::Execute" "Updating $resexe"
+    msgprint -i -c "WOKStep_frontal:Execute" "Updating $resexe"
     wokparam -s "%CCLFile=$fileout"
     wokparam -s "%MsgCmpFile=$fileoutmsg"
     wokparam -s "%MsgFile=$fileoutoldmsg"
@@ -265,8 +265,8 @@ proc WOKStep_frontal::ExecuteNewFrontal { unit args } {
            chmod 0755 $resexe
        }
     } else {
-       msgprint -e -c "WOKStep_frontal::Execute" "Enable to generate $rescore"
-       msgprint -e -c "WOKStep_frontal::Execute" $res
+       msgprint -e -c "WOKStep_frontal:Execute" "Enable to generate $rescore"
+       msgprint -e -c "WOKStep_frontal:Execute" $res
 
        return 1
     }
@@ -289,7 +289,7 @@ proc WOKStep_frontal::ExecuteNewFrontal { unit args } {
     return 0;
 }
     
-proc WOKStep_frontal::ExecuteMessages { unit args } {
+proc WOKStep_frontal:ExecuteMessages { unit args } {
     
     set pk [wokinfo -n $unit]
 
@@ -443,20 +443,20 @@ proc WOKStep_frontal::ExecuteMessages { unit args } {
     return 0
 }
 
-proc WOKStep_frontal::Execute { unit args } {
+proc WOKStep_frontal:Execute { unit args } {
 
     set pk [wokinfo -n $unit]
     set resold 0
     catch {
        if {$pk != "KernelFrontal"} {
            if {[wokparam -e %Station] != "wnt"} {
-               set resold [WOKStep_frontal::ExecuteOldFrontal $unit $args]
+               set resold [WOKStep_frontal:ExecuteOldFrontal $unit $args]
            } 
        }
     }
-    set resnew [WOKStep_frontal::ExecuteNewFrontal $unit $args]
+    set resnew [WOKStep_frontal:ExecuteNewFrontal $unit $args]
 
-    set resmes [WOKStep_frontal::ExecuteMessages $unit $args]
+    set resmes [WOKStep_frontal:ExecuteMessages $unit $args]
 
     return [expr [expr $resold && $resnew] || $resmes]
 }