Customer might encounter "Could not determine the SWIFT metadata library directory. The SWIFT data library was installed with your SWIFT adapter in its data directory" error when validating the SWIFT project
book
Article ID: KB0083437
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SWIFT
-
Description
User may see the following error while validating a Swift project, when the Java properties ADSWIFT_DATA, ADSWIFT_MXDATA and ADSWIFT_XSD may be missing in the designer.tra file. The properties point to the Swift data,mxdata and xsd files which are present under $TIBCO_HOME/bw/plugins/adswift/bin/
index = -1 sumTxt = "Could not determine the SWIFT metadata library directory. The SWIFT data library was installed with your SWIFT adapter in its data directory." detTxt = "Could not determine the SWIFT metadata library directory. The SWIFT data library was installed with your SWIFT adapter in its data directory." AESWIFT-000001 "Could not determine the SWIFT metadata library directory. The SWIFT data library was installed with your SWIFT adapter in its data directory." at com.tibco.swift2.bwplugin.swiftcheck.SwiftSchemaLoaderResource.initSchemas(Unknown Source) at com.tibco.swift2.bwplugin.swiftcheck.SwiftSchemaLoaderResource.didAddToDocument(Unknown Source) at com.tibco.ae.tools.designer.RootFolderWatcher.addListenersOn(RootFolderWatcher.java:307) at com.tibco.ae.tools.designer.RootFolderWatcher.cleanup(RootFolderWatcher.java:206) at com.tibco.ae.tools.designer.RootFolderWatcher.handleContentsChange(RootFolderWatcher.java:179) at com.tibco.ae.tools.designer.RootFolderWatcher.propertyChange(RootFolderWatcher.java:113) at com.tibco.ae.designerapi.util.AEPropertyChangeSupport.firePropertyChange(AEPropertyChangeSupport.java:120) at com.tibco.ae.designerapi.util.AEPropertyChangeSupport.firePropertyChange(AEPropertyChangeSupport.java:90) at com.tibco.ae.designerapi.DesignerResource.firePropertyChange(DesignerResource.java:1280) at com.tibco.ae.designerapi.DesignerResource.fireContentsNotificationOfDataChange(DesignerResource.java:1374) at com.tibco.ae.designerapi.DesignerGroupResource.notifyIfAddedKnownChild(DesignerGroupResource.java:813) at com.tibco.ae.designerapi.DesignerGroupResource.addResource(DesignerGroupResource.java:848) at com.tibco.ae.designerapi.DesignerResourceStore.loadResourceFrom(DesignerResourceStore.java:754) at com.tibco.ae.designerapi.DesignerResourceStore.loadResourcesFrom(DesignerResourceStore.java:703) at com.tibco.ae.designerapi.DesignerResourceStore.initializeResource(DesignerResourceStore.java:1055) at com.tibco.ae.designerapi.DesignerResourceStore.insureFoldersAreInitialized(DesignerResourceStore.java:1189) at com.tibco.ae.designerapi.DesignerResourceStore.insureFoldersAreInitialized(DesignerResourceStore.java:1164) at com.tibco.ae.tools.designer.cmdline.ValidateProject.execute(ValidateProject.java:117) at com.tibco.ae.tools.designer.cmdline.ValidateProject.main(ValidateProject.java:23)
Issue/Introduction
Customer may encounter "Could not determine the SWIFT metadata library directory. The SWIFT data library was installed with your SWIFT adapter in its data directory" error when validating a SWIFT project.
Environment
Operation System: UNIX,WINDOWS
Resolution
To resolve this error while validating the project from the command line, the user should add the following properties with the appropriate path as mentioned above in the designer.tra file and try to validate the project again.