IBM / sourceorbit

Dependency Management for IBM i projects
https://ibm.github.io/sourceorbit/
Apache License 2.0
19 stars 10 forks source link

generateBob is using old file names. #34

Closed edmundreinhardt closed 7 months ago

edmundreinhardt commented 7 months ago

In the vscode-project-explorer repo https://github.com/IBM/vscode-ibmi-projectexplorer/blob/e8de8d482a3111871d861c984eb04121571e9f26/src/views/projectExplorer/migrateSource.ts#L160

The generateBob API works and the correct Rules.mk files are generate but the following errors are logged in the Debug console It is almost as if the file names before the rename are still being processed.

rejected promise not handled within 1 second: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QPROTOSRC/errortable.rpgle'
extensionHostProcess.js:147
stack trace: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QPROTOSRC/errortable.rpgle'
    at v.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:26791)
    at Object.stat (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:24606)
extensionHostProcess.js:147
rejected promise not handled within 1 second: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QRPGLESRC/payroll.rpgle'
extensionHostProcess.js:147
stack trace: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QRPGLESRC/payroll.rpgle'
    at v.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:26791)
    at Object.stat (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:24606)
extensionHostProcess.js:147
rejected promise not handled within 1 second: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QPROTOSRC/errortable.rpgle'
extensionHostProcess.js:147
stack trace: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QPROTOSRC/errortable.rpgle'
    at v.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:26791)
    at Object.stat (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:24606)
extensionHostProcess.js:147
rejected promise not handled within 1 second: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QRPGLESRC/payroll.rpgle'
extensionHostProcess.js:147
stack trace: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/Users/reinhard/fromqsys3/QRPGLESRC/payroll.rpgle'
    at v.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:26791)
    at Object.stat (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:143:24606)
worksofliam commented 7 months ago

Are you able to reproduce this with the CLI?

edmundreinhardt commented 7 months ago

I doubt it. I think this has to do with the API.

edmundreinhardt commented 7 months ago

fromqsys3.zip

edmundreinhardt commented 7 months ago

Fixed with the latest commit. Thanks Liam