@@ -610,8 +610,8 @@ run_test() {
610610 # Check source folders
611611 echo " "
612612 echo " Checking source folders..."
613- cobol_files=$( find " $REPO_ROOT /source" -name " *.cbl" 2> /dev/null | wc -l)
614- copybook_files=$( find " $REPO_ROOT /source" -name " *.cpy" 2> /dev/null | wc -l)
613+ cobol_files=$( find " $REPO_ROOT /cobol- source" -name " *.cbl" 2> /dev/null | wc -l)
614+ copybook_files=$( find " $REPO_ROOT /cobol- source" -name " *.cpy" 2> /dev/null | wc -l)
615615 total_files=$(( cobol_files + copybook_files))
616616
617617 if [ " $total_files " -gt 0 ]; then
@@ -623,7 +623,7 @@ run_test() {
623623 fi
624624 else
625625 echo -e " ${YELLOW} ⚠️ No COBOL files or copybooks found in source directory${NC} "
626- echo " Add your COBOL files to ./source/ to test migration"
626+ echo " Add your COBOL files to ./cobol- source/ to test migration"
627627 fi
628628
629629 # Check output directories
@@ -681,14 +681,14 @@ run_test() {
681681 echo " "
682682 echo " Migration Options:"
683683 echo " Standard: ./doctor.sh run"
684- echo " Reverse Engineer: dotnet run reverse-engineer --source ./source"
685- echo " Full Migration: dotnet run -- --source ./source"
684+ echo " Reverse Engineer: dotnet run reverse-engineer --source ./cobol- source"
685+ echo " Full Migration: dotnet run -- --source ./cobol- source"
686686 echo " "
687687 if [ $re_components -eq $re_components_total ]; then
688688 echo " Reverse Engineering Available:"
689689 echo " Extract business logic from COBOL before migration"
690690 echo " Generate documentation in markdown format"
691- echo " Run: dotnet run reverse-engineer --source ./source"
691+ echo " Run: dotnet run reverse-engineer --source ./cobol- source"
692692 echo " "
693693 fi
694694 if [ " $total_files " -gt 0 ]; then
@@ -750,7 +750,7 @@ run_migration() {
750750 fi
751751
752752 # Run the application with updated folder structure
753- " $DOTNET_CMD " run -- --source ./source $skip_reverse_eng
753+ " $DOTNET_CMD " run -- --source ./cobol- source $skip_reverse_eng
754754 local migration_exit=$?
755755
756756 if [[ $migration_exit -ne 0 ]]; then
@@ -802,7 +802,7 @@ run_resume() {
802802 fi
803803
804804 # Run with resume logic
805- " $DOTNET_CMD " run -- --source ./source --resume
805+ " $DOTNET_CMD " run -- --source ./cobol- source --resume
806806}
807807
808808# Function to monitor migration
@@ -969,12 +969,12 @@ run_reverse_engineering() {
969969 echo " "
970970
971971 # Check for COBOL files
972- cobol_count=$( find " $REPO_ROOT /source" -name " *.cbl" 2> /dev/null | wc -l)
973- copybook_count=$( find " $REPO_ROOT /source" -name " *.cpy" 2> /dev/null | wc -l)
972+ cobol_count=$( find " $REPO_ROOT /cobol- source" -name " *.cbl" 2> /dev/null | wc -l)
973+ copybook_count=$( find " $REPO_ROOT /cobol- source" -name " *.cpy" 2> /dev/null | wc -l)
974974 total_count=$(( cobol_count + copybook_count))
975975
976976 if [ " $total_count " -eq 0 ]; then
977- echo -e " ${YELLOW} ⚠️ No COBOL files or copybooks found in ./source/${NC} "
977+ echo -e " ${YELLOW} ⚠️ No COBOL files or copybooks found in ./cobol- source/${NC} "
978978 echo " Add COBOL files to analyze and try again."
979979 return 1
980980 fi
@@ -988,7 +988,7 @@ run_reverse_engineering() {
988988 echo " "
989989
990990 # Run the reverse engineering command
991- " $DOTNET_CMD " run reverse-engineer --source ./source
991+ " $DOTNET_CMD " run reverse-engineer --source ./cobol- source
992992
993993 local exit_code=$?
994994
@@ -1040,7 +1040,7 @@ run_conversion_only() {
10401040 echo " "
10411041
10421042 # Run the application with skip-reverse-engineering flag
1043- " $DOTNET_CMD " run -- --source ./source --skip-reverse-engineering
1043+ " $DOTNET_CMD " run -- --source ./cobol- source --skip-reverse-engineering
10441044 local migration_exit=$?
10451045
10461046 if [[ $migration_exit -ne 0 ]]; then
@@ -1069,7 +1069,7 @@ run_conversion_only() {
10691069# Main command routing
10701070main () {
10711071 # Create required directories if they don't exist
1072- mkdir -p " $REPO_ROOT /source" " $REPO_ROOT /output" " $REPO_ROOT /Logs"
1072+ mkdir -p " $REPO_ROOT /cobol-source " " $REPO_ROOT / source" " $REPO_ROOT /output" " $REPO_ROOT /Logs"
10731073
10741074 case " ${1:- doctor} " in
10751075 " setup" )
0 commit comments