You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in the title, relative path doesn't seem to work. Using full path everything is ok.
Steps to reproduce:
Place the Tutorials folder inside cslang-cli folder so it will be on the same level as bin
I used the sample code from the tutorial. So I had the following:
2.1 Base -> print.sl
2.2 Hiring -> check_availability, create_user_email, generate_user_email, new_hire
Run command with full path:
3.1 run --f C:/CL/1.0.7/cslang-cli/Tutorials/hiring/new_hire.sl --cp C:/CL/1.0.7/cslang-cli/Tutorials --i first_name=john,last_name=doe
Actual result after step 3 : finished with SUCCESS
Run command with relative path:
4.1 run --f ../Tutorials/hiring/new_hire.sl --cp ../Tutorials --i first_name=john,last_name=doe
Actual result after step 4 : you receive the below error message
Exception is : java.lang.RuntimeException: Duplicate executable found: 'tutorials.hiring.new_hire'
Note: tested with v1.0.6 & v1.0.7
The text was updated successfully, but these errors were encountered:
As mentioned in the title, relative path doesn't seem to work. Using full path everything is ok.
Steps to reproduce:
2.1 Base -> print.sl
2.2 Hiring -> check_availability, create_user_email, generate_user_email, new_hire
3.1 run --f C:/CL/1.0.7/cslang-cli/Tutorials/hiring/new_hire.sl --cp C:/CL/1.0.7/cslang-cli/Tutorials --i first_name=john,last_name=doe
Actual result after step 3 : finished with SUCCESS
4.1 run --f ../Tutorials/hiring/new_hire.sl --cp ../Tutorials --i first_name=john,last_name=doe
Actual result after step 4 : you receive the below error message
Exception is : java.lang.RuntimeException: Duplicate executable found: 'tutorials.hiring.new_hire'
Note: tested with v1.0.6 & v1.0.7
The text was updated successfully, but these errors were encountered: