aboutsummaryrefslogtreecommitdiff
path: root/test/manual/moduleBasedMultiProject/runTests
diff options
context:
space:
mode:
Diffstat (limited to 'test/manual/moduleBasedMultiProject/runTests')
-rwxr-xr-xtest/manual/moduleBasedMultiProject/runTests10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/manual/moduleBasedMultiProject/runTests b/test/manual/moduleBasedMultiProject/runTests
new file mode 100755
index 00000000..48557b43
--- /dev/null
+++ b/test/manual/moduleBasedMultiProject/runTests
@@ -0,0 +1,10 @@
+#!/bin/sh
+echo 'This will build, module-style, 2 modules with lombok dependencies. If the compilation works without error or warning, lombok is working as designed.'
+mkdir -p out/projA
+mkdir -p out/projB
+javac --processor-path ../../../dist/lombok.jar -p ../../../dist/lombok.jar -d out/projA projA/module-info.java projA/pkgA/ClassA.java
+javac --processor-path ../../../dist/lombok.jar -p ../../../dist/lombok.jar:out/projA -d out/projB projB/module-info.java projB/pkgB/ClassB.java
+
+echo Now we try to delombok and see if it works as designed.
+
+java -jar ../../../dist/lombok.jar delombok -p --module-path out/projA projB/pkgB/ClassB.java projB/module-info.java