IBM / sourceorbit

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

Support for ADDBNDDIRE #65

Closed arco400 closed 5 months ago

arco400 commented 5 months ago

Hi @worksofliam and @edmundreinhardt,

Maybe I have missed it, but in the list with supported source extensions there seems to be no extension to execute an ADDBNDDIRE command. After creation of a serviceprogram I'd like to add the reference for the created service program to our binder directory.

ADDBNDDIRE BNDDIR(MYOBJLIB/MYBINDER) OBJ((MYGPLLIB/MYSRVPGM))

Is it possible to achieve such a task in the build process?

Thanks, Arco Simonse

worksofliam commented 5 months ago

Hi @arco400 - I will give a more concrete answer tomorrow. What I write below applies specifically to -bf make:

Whenever we create a service program, we automatically run that command as part of the build to a binding directory which is part of the project.

Read about that on the make page. There is also a section on change the compile defaults (again, that only applies to -bf make: https://ibm.github.io/sourceorbit/#/./pages/cli/make?id=binding-handled-automatically

arco400 commented 5 months ago

Ah @worksofliam I'm sorry, I had not seen that documentation page. I started reading on the main readme.md and there is no link (at least I did not see it) to this make doc. Useful information, thank you for pointing this out!