diff --git a/lib/templates/java b/lib/templates/java index 75924d4..2dcff86 100755 --- a/lib/templates/java +++ b/lib/templates/java @@ -205,7 +205,16 @@ function generate_wosrccomp() { *) die "Destination name should not have an extension" esac + local prefix case "$file" in + */src/main/java/*/v/*) + javafile="$file" + prefix="${file%%/src/main/java/*}" + wosrcfile="${javafile#$prefix/}" + prefix="$prefix/src/main/wosrc" + wosrcfile="${wosrcfile#*/v/}" + wosrcfile="$prefix/$wosrcfile" + ;; */src/main/java/*) javafile="$file" wosrcfile="${file/src\/main\/java/src/main/wosrc}"