Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong paths added to the project search path? #156

Open
Spelt opened this issue Jan 29, 2024 · 5 comments
Open

Wrong paths added to the project search path? #156

Spelt opened this issue Jan 29, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Spelt
Copy link

Spelt commented Jan 29, 2024

Hi

I manage ZXing for Delphi and I need a little help in order to support Boss properly. I have uploaded the boss.json here: https://github.com/Spelt/ZXing.Delphi/blob/v_3.0/boss.json

The problem is the line "mainsrc": "Lib/Classes/",

It seems right but all other paths next to Lib are also added to the path. For example the this path is added: modules\ZXing.Delphi\UnitTest

I would expect only everything in: modules\ZXing.Delphi\Lib\Classes

Or am I doing something wrong here?

Thanks!
Edward

@viniciussanchez
Copy link
Member

Normally he takes the first folder... it could be a bug in the boss. Until then I always only worked with "/src" for example.

@viniciussanchez viniciussanchez added the bug Something isn't working label May 8, 2024
@andriwsluna
Copy link
Contributor

@Spelt , i installed your packge here and boss added only de lib/classes folder and your sub folders: modules\ZXing.Delphi\Lib\Classes\1D Barcodes;
..\modules\ZXing.Delphi\Lib\Classes\1D Barcodes;
modules\ZXing.Delphi\Lib\Classes\2D Barcodes\Decoder;
..\modules\ZXing.Delphi\Lib\Classes\2D Barcodes\Decoder;
modules\ZXing.Delphi\Lib\Classes\2D Barcodes\Detector;
..\modules\ZXing.Delphi\Lib\Classes\2D Barcodes\Detector;
modules\ZXing.Delphi\Lib\Classes\2D Barcodes;
..\modules\ZXing.Delphi\Lib\Classes\2D Barcodes;
modules\ZXing.Delphi\Lib\Classes\Common\Detector;
..\modules\ZXing.Delphi\Lib\Classes\Common\Detector;
modules\ZXing.Delphi\Lib\Classes\Common\ReedSolomon;
..\modules\ZXing.Delphi\Lib\Classes\Common\ReedSolomon;
modules\ZXing.Delphi\Lib\Classes\Common;
..\modules\ZXing.Delphi\Lib\Classes\Common;
modules\ZXing.Delphi\Lib\Classes\Filtering;
..\modules\ZXing.Delphi\Lib\Classes\Filtering;
modules\ZXing.Delphi\Lib\Classes;
..\modules\ZXing.Delphi\Lib\Classes

The "modules\ZXing.Delphi\UnitTest" are not added. Try to upgrade boss version.

@Spelt
Copy link
Author

Spelt commented Jun 1, 2024 via email

@andriwsluna
Copy link
Contributor

andriwsluna commented Jun 1, 2024

This is cause by this PR.
I don't know exactly why this adjustment

I believe this is for cases where Dproj is in a subfolder in relation to boss.json. But I think it would be better solved using the "projects" array in boss.json

@Spelt
Copy link
Author

Spelt commented Jun 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants