JeremyEastham
04/18/2022, 8:27 PMstartDevEnv
script? How is it different from the startTestingEnv
script?rp
04/19/2022, 4:09 AMstartDevEnv
script? How is it different from the startTestingEnv
script?JeremyEastham
04/19/2022, 4:10 AMrp
04/19/2022, 4:10 AMstartDevEnv
was an older version of startTestingEnv
. It's no longer needed and I have removed it.JeremyEastham
04/19/2022, 4:12 AMrp
04/19/2022, 4:13 AMJeremyEastham
04/19/2022, 4:14 AM.testEnvStarted
file to check if the env has been started, so that if you run the file again it doesn't run twice. I also added a check to throw an error if the tests run when that file doesn't exist.rp
04/19/2022, 4:15 AM--wait
option too?JeremyEastham
04/19/2022, 4:16 AMsupertokens-root:spotlessApply
to the pre-commit hook? Right now it just throws an error until you do it.rp
04/19/2022, 4:17 AMJeremyEastham
04/19/2022, 4:17 AMrp
04/19/2022, 4:20 AMJeremyEastham
04/19/2022, 4:53 AMjava -classpath "./core/*:./plugin-interface/*" io.supertokens.Main ./ DEV
Or: java -classpath "./supertokens-core/*:./supertokens-plugin-interface/*" io.supertokens.Main ./ DEV
It throws:
Error: Could not find or load main class io.supertokens.Main
Caused by: java.lang.ClassNotFoundException: io.supertokens.Main
rp
04/19/2022, 4:57 AMJeremyEastham
04/19/2022, 4:57 AMrp
04/19/2022, 4:57 AMJeremyEastham
04/19/2022, 4:57 AMgradle run
also failsrp
04/19/2022, 4:58 AMJeremyEastham
04/19/2022, 4:58 AMbuild.gradle
files right nowrp
04/19/2022, 4:59 AMJeremyEastham
04/19/2022, 5:00 AMrp
04/19/2022, 5:01 AMJeremyEastham
04/19/2022, 5:02 AMrp
04/19/2022, 5:02 AMJeremyEastham
04/19/2022, 5:02 AMrp
04/19/2022, 5:02 AMJeremyEastham
04/19/2022, 5:03 AMsupertokens-core
and supertokens-plugin-interface
?rp
04/19/2022, 5:05 AM./startTesitingEnv --wait
, it moves the JARs of the projects to the supertokens-root/core
and to supertokens-root/plugin-interface
.
This is done so that we mimic the installation directory structureJeremyEastham
04/19/2022, 5:06 AMrp
04/19/2022, 5:06 AMJeremyEastham
04/19/2022, 5:08 AMrp
04/19/2022, 5:08 AMJeremyEastham
04/19/2022, 5:11 AMrp
04/19/2022, 5:18 AMJeremyEastham
04/19/2022, 5:21 AM