From af5b8b60f86392f721db71ca2d9d4fb3b40b6b2d Mon Sep 17 00:00:00 2001 From: cas Date: Thu, 13 Jan 2000 17:59:02 +0000 Subject: [PATCH] No comments --- src/WOKStep/WOKStep_ClientExtract.cdl | 2 +- src/WOKStep/WOKStep_ClientExtract.cxx | 3 ++- src/WOKStep/WOKStep_DynamicLibrary.cxx | 20 ++++++++++++++++++++ src/WOKStep/WOKStep_JiniExtract.cdl | 8 ++++++-- src/WOKStep/WOKStep_JiniExtract.cxx | 5 ++++- src/WOKStep/WOKStep_MSStep.cdl | 5 +++++ src/WOKStep/WOKStep_MSStep.cxx | 8 +++++++- 7 files changed, 45 insertions(+), 6 deletions(-) diff --git a/src/WOKStep/WOKStep_ClientExtract.cdl b/src/WOKStep/WOKStep_ClientExtract.cdl index 2bac9a1..eacc22b 100755 --- a/src/WOKStep/WOKStep_ClientExtract.cdl +++ b/src/WOKStep/WOKStep_ClientExtract.cdl @@ -28,7 +28,7 @@ is checked, hidden : Boolean from Standard) returns mutable ClientExtract from WOKStep; - HandleInputFile(me; infile : InputFile from WOKMake) + HandleInputFile(me:mutable; infile : InputFile from WOKMake) returns Boolean from Standard; Init(me:mutable) diff --git a/src/WOKStep/WOKStep_ClientExtract.cxx b/src/WOKStep/WOKStep_ClientExtract.cxx index 9d9e226..dd9b1f1 100755 --- a/src/WOKStep/WOKStep_ClientExtract.cxx +++ b/src/WOKStep/WOKStep_ClientExtract.cxx @@ -3,6 +3,7 @@ // Author: Jean GAUTIER // +#include #include @@ -53,7 +54,7 @@ WOKStep_ClientExtract::WOKStep_ClientExtract(const Handle(WOKMake_BuildProcess)& //function : HandleInputFile //purpose : //======================================================================= -Standard_Boolean WOKStep_ClientExtract::HandleInputFile(const Handle(WOKMake_InputFile)& infile) const +Standard_Boolean WOKStep_ClientExtract::HandleInputFile(const Handle(WOKMake_InputFile)& infile) { if(!infile->IsPhysic()) { diff --git a/src/WOKStep/WOKStep_DynamicLibrary.cxx b/src/WOKStep/WOKStep_DynamicLibrary.cxx index 5520314..2d2d253 100755 --- a/src/WOKStep/WOKStep_DynamicLibrary.cxx +++ b/src/WOKStep/WOKStep_DynamicLibrary.cxx @@ -138,7 +138,27 @@ void WOKStep_DynamicLibrary::Execute(const Handle(WOKMake_HSequenceOfInputFile)& Handle(WOKUtils_Shell) ashell = Shell(); +//--> EUG4YAN + bidname = new TCollection_HAsciiString ( Unit () -> Name () ); + bidname -> AssignCat ( ".lnk" ); + + Handle( WOKernel_File ) lnkfile = new WOKernel_File ( bidname, Unit (), stadmtype ); + lnkfile -> GetPath (); + + if ( lnkfile -> Path () -> Exists () ) lnkfile -> Path () -> RemoveFile (); + + if ( !lnkfile -> Path () -> CreateFile () ) + + ErrorMsg << "WOKStep_Link::ExecuteLink" + << "Unable to create link file '" + << lnkfile -> Path () -> Name () -> ToCString () + << "'" << endm; +//<-- EUG4YAN + ashell->Lock(); +//--> EUG4YAN + ashell -> LogInFile ( lnkfile -> Path () ); +//<-- EUG4YAN ldshr->SetShell(ashell); ldshr->SetOutputDir(OutputDir()); diff --git a/src/WOKStep/WOKStep_JiniExtract.cdl b/src/WOKStep/WOKStep_JiniExtract.cdl index ffd9c90..c1123eb 100755 --- a/src/WOKStep/WOKStep_JiniExtract.cdl +++ b/src/WOKStep/WOKStep_JiniExtract.cdl @@ -28,8 +28,12 @@ is checked, hidden : Boolean from Standard) returns mutable JiniExtract from WOKStep; - HandleInputFile(me; infile : InputFile from WOKMake) - returns Boolean from Standard; + HandleInputFile(me:mutable; item : InputFile from WOKMake) + returns Boolean from Standard + is redefined protected; + + --HandleInputFile(me; infile : InputFile from WOKMake) + -- returns Boolean from Standard; Init(me:mutable) is redefined protected; diff --git a/src/WOKStep/WOKStep_JiniExtract.cxx b/src/WOKStep/WOKStep_JiniExtract.cxx index 0271ef1..2c43e01 100755 --- a/src/WOKStep/WOKStep_JiniExtract.cxx +++ b/src/WOKStep/WOKStep_JiniExtract.cxx @@ -4,6 +4,8 @@ // Author: Arnaud BOUZY // +#include + #include #include @@ -53,7 +55,7 @@ WOKStep_JiniExtract::WOKStep_JiniExtract(const Handle(WOKMake_BuildProcess)& abp //function : HandleInputFile //purpose : //======================================================================= -Standard_Boolean WOKStep_JiniExtract::HandleInputFile(const Handle(WOKMake_InputFile)& infile) const +Standard_Boolean WOKStep_JiniExtract::HandleInputFile(const Handle(WOKMake_InputFile)& infile) { if(!infile->IsPhysic()) { @@ -392,3 +394,4 @@ void WOKStep_JiniExtract::Execute(const Handle(WOKMake_HSequenceOfInputFile)& to if(Status() == WOKMake_Unprocessed) SetSucceeded(); return; } + diff --git a/src/WOKStep/WOKStep_MSStep.cdl b/src/WOKStep/WOKStep_MSStep.cdl index c8dae14..de4820a 100755 --- a/src/WOKStep/WOKStep_MSStep.cdl +++ b/src/WOKStep/WOKStep_MSStep.cdl @@ -14,6 +14,7 @@ uses DevUnit from WOKernel, File from WOKernel, Entity from WOKBuilder, + Path from WOKUtils, HAsciiString from TCollection is @@ -29,4 +30,8 @@ is ---Purpose: Adds an entity to the known entity list -- (one more time) + BuilderEntity(me; apath : Path from WOKUtils) + returns mutable Entity from WOKBuilder + is redefined protected; + end MSStep; diff --git a/src/WOKStep/WOKStep_MSStep.cxx b/src/WOKStep/WOKStep_MSStep.cxx index 857fe8a..a042180 100755 --- a/src/WOKStep/WOKStep_MSStep.cxx +++ b/src/WOKStep/WOKStep_MSStep.cxx @@ -3,7 +3,7 @@ // Author: Jean GAUTIER // - +#include #include @@ -51,3 +51,9 @@ Handle(WOKBuilder_Entity) WOKStep_MSStep::BuilderEntity(const Handle(WOKernel_Fi return entity; } +Handle_WOKBuilder_Entity WOKStep_MSStep::BuilderEntity(const Handle_WOKUtils_Path&) const +{ + Handle_WOKBuilder_Entity aHandle_WOKBuilder_Entity ; + Standard_NotImplemented::Raise("WOKStep_MSStep::BuilderEntity(const Handle_WOKUtils_Path&) not implemented") ; + return aHandle_WOKBuilder_Entity ; +} -- 2.39.5