mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
Clarify error messages about folder logic (#6447)
This commit is contained in:
parent
1b3114d794
commit
d51b12c445
|
@ -116,19 +116,21 @@ CLASS zcl_abapgit_folder_logic IMPLEMENTATION.
|
|||
lv_len = strlen( lv_parentcl ).
|
||||
|
||||
IF iv_package(lv_len) <> lv_parentcl.
|
||||
* if abapGit project is installed in package ZZZ, all subpackages should be named
|
||||
* ZZZ_something. This will define the folder name in the zip file to be "something",
|
||||
* similarily with online projects. Alternatively change to FULL folder logic
|
||||
lv_message = 'PREFIX: Unexpected package naming (' && iv_package && ')'
|
||||
&& 'you might switch the folder logic'.
|
||||
" If abapGit project is installed in package ZZZ, all subpackages should be named
|
||||
" ZZZ_something. This will define the folder name in the zip file to be "something",
|
||||
" similarily with online projects. Alternatively change to FULL folder logic
|
||||
lv_message = |PREFIX: Unexpected package naming |
|
||||
&& |(top: { iv_top }, parent: { lv_parentcl }, child: { iv_package }). |
|
||||
&& |Try using the folder logic FULL|.
|
||||
zcx_abapgit_exception=>raise( lv_message ).
|
||||
ENDIF.
|
||||
WHEN zif_abapgit_dot_abapgit=>c_folder_logic-mixed.
|
||||
lv_len = strlen( iv_top ).
|
||||
|
||||
IF iv_package(lv_len) <> iv_top.
|
||||
lv_message = 'MIXED: Unexpected package naming (' && iv_package && ')'
|
||||
&& 'you might switch the folder logic'.
|
||||
lv_message = |MIXED: Unexpected package naming |
|
||||
&& |(top: { iv_top }, parent: { lv_parentcl }, child: { iv_package }). |
|
||||
&& |Try using the folder logic FULL|.
|
||||
zcx_abapgit_exception=>raise( lv_message ).
|
||||
ENDIF.
|
||||
WHEN OTHERS.
|
||||
|
|
Loading…
Reference in New Issue
Block a user