From 4fe40dadd75c0dc701126bd075626d8fc4d35208 Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Tue, 27 Aug 2024 21:45:28 -0400 Subject: [PATCH] Use recursive jar directory in IDEA project libraries so that modules can be picked up. Updated wrapper so that old IDEA projects get updated for recursive scanning. --- src/main/java/rife/bld/wrapper/Wrapper.java | 46 +++++++++++++++++-- .../bld/app/idea/libraries/compile.xml | 8 ++-- .../bld/app/idea/libraries/runtime.xml | 4 +- .../templates/bld/app/idea/libraries/test.xml | 8 ++-- .../bld/base/idea/libraries/compile.xml | 8 ++-- .../bld/base/idea/libraries/runtime.xml | 4 +- .../bld/base/idea/libraries/test.xml | 8 ++-- .../bld/lib/idea/libraries/compile.xml | 8 ++-- .../bld/lib/idea/libraries/runtime.xml | 4 +- .../templates/bld/lib/idea/libraries/test.xml | 8 ++-- .../rife2_hello/idea/libraries/compile.xml | 8 ++-- .../rife2_hello/idea/libraries/runtime.xml | 4 +- .../rife2_hello/idea/libraries/standalone.xml | 4 +- .../bld/rife2_hello/idea/libraries/test.xml | 8 ++-- 14 files changed, 84 insertions(+), 46 deletions(-) diff --git a/src/main/java/rife/bld/wrapper/Wrapper.java b/src/main/java/rife/bld/wrapper/Wrapper.java index 74d20a2..c677fde 100644 --- a/src/main/java/rife/bld/wrapper/Wrapper.java +++ b/src/main/java/rife/bld/wrapper/Wrapper.java @@ -120,6 +120,10 @@ public void createWrapperFiles(File destinationDirectory, String version) private static final Pattern BLD_JAR_PATTERN = Pattern.compile("/\\.bld/dist/bld-[^\"/!]+(? - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/app/idea/libraries/runtime.xml b/src/main/resources/templates/bld/app/idea/libraries/runtime.xml index 2ae5c4b..d4069f2 100644 --- a/src/main/resources/templates/bld/app/idea/libraries/runtime.xml +++ b/src/main/resources/templates/bld/app/idea/libraries/runtime.xml @@ -8,7 +8,7 @@ - - + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/app/idea/libraries/test.xml b/src/main/resources/templates/bld/app/idea/libraries/test.xml index c16475a..05f52ce 100644 --- a/src/main/resources/templates/bld/app/idea/libraries/test.xml +++ b/src/main/resources/templates/bld/app/idea/libraries/test.xml @@ -10,9 +10,9 @@ - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/base/idea/libraries/compile.xml b/src/main/resources/templates/bld/base/idea/libraries/compile.xml index 143dc93..5316b95 100644 --- a/src/main/resources/templates/bld/base/idea/libraries/compile.xml +++ b/src/main/resources/templates/bld/base/idea/libraries/compile.xml @@ -9,9 +9,9 @@ - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/base/idea/libraries/runtime.xml b/src/main/resources/templates/bld/base/idea/libraries/runtime.xml index 2ae5c4b..d4069f2 100644 --- a/src/main/resources/templates/bld/base/idea/libraries/runtime.xml +++ b/src/main/resources/templates/bld/base/idea/libraries/runtime.xml @@ -8,7 +8,7 @@ - - + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/base/idea/libraries/test.xml b/src/main/resources/templates/bld/base/idea/libraries/test.xml index c16475a..05f52ce 100644 --- a/src/main/resources/templates/bld/base/idea/libraries/test.xml +++ b/src/main/resources/templates/bld/base/idea/libraries/test.xml @@ -10,9 +10,9 @@ - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/lib/idea/libraries/compile.xml b/src/main/resources/templates/bld/lib/idea/libraries/compile.xml index 143dc93..5316b95 100644 --- a/src/main/resources/templates/bld/lib/idea/libraries/compile.xml +++ b/src/main/resources/templates/bld/lib/idea/libraries/compile.xml @@ -9,9 +9,9 @@ - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/lib/idea/libraries/runtime.xml b/src/main/resources/templates/bld/lib/idea/libraries/runtime.xml index 2ae5c4b..d4069f2 100644 --- a/src/main/resources/templates/bld/lib/idea/libraries/runtime.xml +++ b/src/main/resources/templates/bld/lib/idea/libraries/runtime.xml @@ -8,7 +8,7 @@ - - + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/lib/idea/libraries/test.xml b/src/main/resources/templates/bld/lib/idea/libraries/test.xml index c16475a..05f52ce 100644 --- a/src/main/resources/templates/bld/lib/idea/libraries/test.xml +++ b/src/main/resources/templates/bld/lib/idea/libraries/test.xml @@ -10,9 +10,9 @@ - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/rife2_hello/idea/libraries/compile.xml b/src/main/resources/templates/bld/rife2_hello/idea/libraries/compile.xml index 143dc93..5316b95 100644 --- a/src/main/resources/templates/bld/rife2_hello/idea/libraries/compile.xml +++ b/src/main/resources/templates/bld/rife2_hello/idea/libraries/compile.xml @@ -9,9 +9,9 @@ - - - - + + + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/rife2_hello/idea/libraries/runtime.xml b/src/main/resources/templates/bld/rife2_hello/idea/libraries/runtime.xml index 2ae5c4b..d4069f2 100644 --- a/src/main/resources/templates/bld/rife2_hello/idea/libraries/runtime.xml +++ b/src/main/resources/templates/bld/rife2_hello/idea/libraries/runtime.xml @@ -8,7 +8,7 @@ - - + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/rife2_hello/idea/libraries/standalone.xml b/src/main/resources/templates/bld/rife2_hello/idea/libraries/standalone.xml index 643da27..9100291 100644 --- a/src/main/resources/templates/bld/rife2_hello/idea/libraries/standalone.xml +++ b/src/main/resources/templates/bld/rife2_hello/idea/libraries/standalone.xml @@ -7,7 +7,7 @@ - - + + \ No newline at end of file diff --git a/src/main/resources/templates/bld/rife2_hello/idea/libraries/test.xml b/src/main/resources/templates/bld/rife2_hello/idea/libraries/test.xml index c16475a..05f52ce 100644 --- a/src/main/resources/templates/bld/rife2_hello/idea/libraries/test.xml +++ b/src/main/resources/templates/bld/rife2_hello/idea/libraries/test.xml @@ -10,9 +10,9 @@ - - - - + + + + \ No newline at end of file