Sorry the code got truncated; I should probably have posted directly to the list. Here's the code again:
------------------------------------------------ :JAVA_SYMLINK_FIX rem set JAVA_EXE to whatever java.exe is found via the path call :FIND_IN_PATH JAVA_EXE java.exe rem set TRUE_JAVA_EXE to the actual file java.exe points to (if it is a rem symlink), or an empty string otherwise call :FIND_SYMLINK TRUE_JAVA_EXE "%JAVA_EXE%" rem if the java.exe found via the path is not a symlink, we're done if "%TRUE_JAVA_EXE%" == "" goto :EOF echo "%JAVA_EXE%" is a symlink pointing to "%TRUE_JAVA_EXE%" rem set JAVA_EXE_DIR to the directory in which the actual java.exe resides call :SET_DIR JAVA_EXE_DIR "%TRUE_JAVA_EXE%" rem prepend JAVA_EXE_DIR to the path variable set PATH=%JAVA_EXE_DIR%;%PATH% goto :EOF :FIND_IN_PATH set %1=%~dp$PATH:2%2 goto :EOF :FIND_SYMLINK rem Sets the environment variable named by %1 to the file pointed to by %2 rem if that's a symlink.Sets the environment variable to an empty string rem otherwise. set %1= for /F "usebackq tokens=2 delims=[]" %%i in (`dir "%~2" /N`) do set %1=%%i goto :EOF :SET_DIR rem Sets the environment variable named by %1 to the directory of the file rem named by %2. set %1=%~dp2 goto :EOF ------------------------------------------------ Am 20.08.2015 um 05:15 schrieb Christoph Lipka: > In the batch file I'm using to run Doxygen, I've now added the following > subroutine to get around the problem: > > ------------------------------ > > ------------------------------ > > If you need to use doxywizard to actually run Doxygen (as opposed to just > generating a config file for it), you could launch doxywizard via a batch > file, using the very same code snippet; as far as I know that should do the > job as well. > > > > -- > View this message in context: > http://doxygen.10944.n7.nabble.com/doxywizard-can-t-run-PlantUML-tp7188p7324.html > Sent from the Doxygen - Users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Doxygen-users mailing list > Doxygen-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/doxygen-users > ------------------------------------------------------------------------------ _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users