mbeckerle commented on pull request #63:
URL: https://github.com/apache/daffodil-vscode/pull/63#issuecomment-995299277


   I am not having any luck.
   
   First I ran vscode and uninstalled the current daffodil extension. Exit 
vscode.
   
   Then I checked out your PR branch, and did a yarn build.
   
   Then I installed the vsix file into vscode via command line.
   
   Start vscode again. Go to extensions. Daffodil is there. Click on settings 
gear.
   
   I put this in the "User" tab (not Workspace tab) debug classpath via the 
extension settings button
   
   
/home/mbeckerle/Documents/dataiti/git/dfdl-schemas/dfdl-pcap/src/main/resources:/home/mbeckerle/Documents/dataiti/git/dfdl-schemas/dfdl-pcap/src/test/resources:/home/mbeckerle/.ivy2/local/com.owlcyberdefense/dfdl-ethernetip/1.0.0/jars/dfdl-ethernetip.jar
   
   I have verified these are correct.
   
   Those are the root folders for main and test resources for pcap, and the jar 
for ethernetIP.
   
   I put this in absolute path to schema file:
   
   
/home/mbeckerle/Documents/dataiti/git/dfdl-schemas/dfdl-pcap/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd
   
   I put this in absolute path to data file:
   
   
/home/mbeckerle/Documents/dataiti/git/dfdl-schemas/dfdl-pcap/src/test/resources/com/tresys/pcap/data/icmp1.cap
   
   There does not seem to be any Save or "Go" button to tell it to use these 
settings. 
   
   Somehow I got a Daffodil Launch configuration. (launch.json has a 
configuration named "Daffodil Launch")
   
   The schema file name isn't in the launch.json, It still just has ${file}, so 
I edited the schema file absolute path to the pcap.dfdl.xsd into the 
launch.json.
   
   When I run, I get an SDE (and the blocking dialog does not allow me to copy 
the messages! )
   
   The first SDE says line168 of pcap.dfdl.xsd unable to find eth:Ethernet type 
definition component. 
   
   That is defined by the ethernetIP schema imported at line 50. 
   
   So it is unable to resolve that file name: 
com/owlcyberdefense/dfdl/xsd/ethernetIP.dfdl.xsd
   
   Further down in the SDE dialog (that I can't copy from), are a bunch of 
errors and warnings basically saying it can't find any of the files it is 
trying to import, including the daffodil built in schema file that this 
extends. 
   
   So the classpath is definitely not working for me. 
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to