Hi.
I’d like to automatically extend the OH classpath with all .jar s that are found in a lib folder in the root folder of OH.
On the .sh scripts this looks as follows (taken from the JSR223 wiki page):
cp=$(echo lib/*.jar | tr ' ' ':'):$(find $eclipsehome -name "org.eclipse.equinox.launcher_*.jar" | sort | tail -1);
...
java ...
-Duser.classpath=lib \
-cp $cp org.eclipse.equinox.launcher.Main $* \
-console
But I have no clue how this can be done in the .bat versiosn of the scripts.
Windows gurus, please come forward.
Can anyone translate this to .bat?
Manfred