EricJoy2048 commented on issue #2415:
URL:
https://github.com/apache/incubator-seatunnel/issues/2415#issuecomment-1214889789
> I plan add a Constructor method and support directly specify the plug-in
directory
>
> ```
> public AbstractPluginDiscovery(@Nullable Path absolutePluginDir) {
> this.pluginDir = absolutePluginDir;
> LOGGER.info("Load {} Plugin from {}",
getPluginBaseClass().getSimpleName(), pluginDir);
> }
> ```
This idea still can not solve the plugin dir path, The core problem is how
to find the root directory of the project, whether it is deployed or executed
in the IDE.
I suggest add a environment variable named `SEATUNNEL_HOME`, the we can get
the project root dir under any circumstances.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]