#include <WOKStep_LinkList.ixx>
-
+//---> EUG4JR
+Standard_Boolean g_fForceLib;
+//<--- EUG4JR
//=======================================================================
//function : WOKStep_LinkList
Standard_Boolean mustExist = aunit->SearchInFileList(Locator(),libname);
if (mustExist)
{
- ErrorMsg << "WOKStep_LinkList::GetUnitLibrary"
- << "No library (" << libname << ") found for unit " << aunit->Name() << endm;
- SetFailed();
+// ErrorMsg << "WOKStep_LinkList::GetUnitLibrary"
+// << "No library (" << libname << ") found for unit " << aunit->Name() << endm;
+// SetFailed();
}
- else
- WarningMsg << "WOKStep_LinkList::GetUnitLibrary"
- << "No library (" << libname << ") in unit " << aunit->Name() << endm;
+ else {
+// WarningMsg << "WOKStep_LinkList::GetUnitLibrary"
+// << "No library (" << libname << ") in unit " << aunit->Name() << endm;
+ }
}
else
{
InfoMsg << "WOKStep_LinkList::GetUnitContribution"
<< "Processing step " << step->UniqueName() << endm;
+//---> EUG4JR
+ if ( !strcmp ( DynamicType () -> Name (), "WOKStep_TransitiveLinkList" ) )
+ g_fForceLib = Standard_True;
+//<--- EUG4JR
Handle(WOKMake_HSequenceOfOutputFile) outfiles = step->OutputFileList();
-
+//---> EUG4JR
+ if ( g_fForceLib ) g_fForceLib = Standard_False;
+//<--- EUG4JR
if(outfiles.IsNull())
{
ErrorMsg << "WOKStep_LinkList::GetUnitContribution"
Handle(TCollection_HAsciiString) aunitname;
Handle(TCollection_HAsciiString) afullname, abasename;
Standard_Integer i,j;
-
+#if 0
Handle(WOKernel_File) toolkits = Locator()->Locate(Unit()->Name(),
new TCollection_HAsciiString("source"),
new TCollection_HAsciiString("TOOLKITS"));
+#else
+ Handle(WOKernel_File) toolkits;
+#endif
if(toolkits.IsNull())
{
}
#ifdef WNT
+ if ( !mymatrix.IsNull () ) {
// if faut enlever le tk qui contient eventuellement l'ud en cours de construction
if(!WOKernel_IsToolkit(Unit()))
}
}
}
+ } // end if
#endif
}
{
WarningMsg << "WOKStep_TKReplace::GetTKForUnit"
<< "More than one toolkit contains " << aunit << " using " << result << " ignoring " << mytks(i) << endm;
+#if 0
WarningMsg << "WOKStep_TKReplace::GetTKForUnit"
<< "You can specify the toolkit used using a TOOLKITS file" << endm;
+#endif
}
else
{