This is an automated email from the ASF dual-hosted git repository.
linxinyuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/main by this push:
new 6626c81d64 fix: run configurations for Windows (#4107)
6626c81d64 is described below
commit 6626c81d64e31c3709a7447ae2925a7a3f57e410
Author: Xinyuan Lin <[email protected]>
AuthorDate: Fri Dec 5 18:02:12 2025 -0800
fix: run configurations for Windows (#4107)
### What changes were proposed in this PR?
Add a configuration option to automatically shorten file paths for
Windows users when the original path exceeds the system’s maximum
length.
After this PR, Windows users should not see this error anymore.
<img width="612" height="157" alt="image"
src="https://github.com/user-attachments/assets/73a23ef2-0fad-4f2f-bc99-c7f2e576a4d9"
/>
### Any related issues, documentation, discussions?
Follow-up of PR #4087
### How was this PR tested?
Tested manually.
### Was this PR authored or co-authored using generative AI tooling?
No
---
.run/ComputingUnitManagingService.run.xml | 1 +
.run/ComputingUnitMaster.run.xml | 1 +
.run/ComputingUnitWorker.run.xml | 1 +
.run/ConfigService.run.xml | 1 +
.run/FileService.run.xml | 1 +
.run/TexeraWebApplication.run.xml | 1 +
.run/WorkflowCompilingService.run.xml | 1 +
7 files changed, 7 insertions(+)
diff --git a/.run/ComputingUnitManagingService.run.xml
b/.run/ComputingUnitManagingService.run.xml
index c7a2c4bf85..f8e18bd3ba 100644
--- a/.run/ComputingUnitManagingService.run.xml
+++ b/.run/ComputingUnitManagingService.run.xml
@@ -20,6 +20,7 @@ under the License.
<configuration default="false" name="ComputingUnitManagingService"
type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME"
value="org.apache.texera.service.ComputingUnitManagingService" />
<module name="texera.computing-unit-managing-service.main" />
+ <shortenClasspath name="ARGS_FILE" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.texera.service.*" />
diff --git a/.run/ComputingUnitMaster.run.xml b/.run/ComputingUnitMaster.run.xml
index 78a818af29..260d7dea23 100644
--- a/.run/ComputingUnitMaster.run.xml
+++ b/.run/ComputingUnitMaster.run.xml
@@ -20,6 +20,7 @@ under the License.
<configuration default="false" name="ComputingUnitMaster" type="Application"
factoryName="Application">
<option name="MAIN_CLASS_NAME"
value="org.apache.texera.web.ComputingUnitMaster" />
<module name="texera.amber.main" />
+ <shortenClasspath name="ARGS_FILE" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.texera.web.*" />
diff --git a/.run/ComputingUnitWorker.run.xml b/.run/ComputingUnitWorker.run.xml
index a5e4c90505..4445ed7d39 100644
--- a/.run/ComputingUnitWorker.run.xml
+++ b/.run/ComputingUnitWorker.run.xml
@@ -20,6 +20,7 @@ under the License.
<configuration default="false" name="ComputingUnitWorker" type="Application"
factoryName="Application">
<option name="MAIN_CLASS_NAME"
value="org.apache.texera.web.ComputingUnitWorker" />
<module name="texera.amber.main" />
+ <shortenClasspath name="ARGS_FILE" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.texera.web.*" />
diff --git a/.run/ConfigService.run.xml b/.run/ConfigService.run.xml
index cfbd94abc9..a84ec5ed26 100644
--- a/.run/ConfigService.run.xml
+++ b/.run/ConfigService.run.xml
@@ -20,6 +20,7 @@ under the License.
<configuration default="false" name="ConfigService" type="Application"
factoryName="Application">
<option name="MAIN_CLASS_NAME"
value="org.apache.texera.service.ConfigService" />
<module name="texera.config-service.main" />
+ <shortenClasspath name="ARGS_FILE" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.texera.service.*" />
diff --git a/.run/FileService.run.xml b/.run/FileService.run.xml
index 76a3f5cf31..5c460c3737 100644
--- a/.run/FileService.run.xml
+++ b/.run/FileService.run.xml
@@ -20,6 +20,7 @@ under the License.
<configuration default="false" name="FileService" type="Application"
factoryName="Application">
<option name="MAIN_CLASS_NAME"
value="org.apache.texera.service.FileService" />
<module name="texera.file-service.main" />
+ <shortenClasspath name="ARGS_FILE" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.texera.service.*" />
diff --git a/.run/TexeraWebApplication.run.xml
b/.run/TexeraWebApplication.run.xml
index b6537a0ef1..2942a0b8fe 100644
--- a/.run/TexeraWebApplication.run.xml
+++ b/.run/TexeraWebApplication.run.xml
@@ -20,6 +20,7 @@ under the License.
<configuration default="false" name="TexeraWebApplication"
type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME"
value="org.apache.texera.web.TexeraWebApplication" />
<module name="texera.amber.main" />
+ <shortenClasspath name="ARGS_FILE" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.texera.web.*" />
diff --git a/.run/WorkflowCompilingService.run.xml
b/.run/WorkflowCompilingService.run.xml
index 78f1a05861..3e7410635f 100644
--- a/.run/WorkflowCompilingService.run.xml
+++ b/.run/WorkflowCompilingService.run.xml
@@ -20,6 +20,7 @@ under the License.
<configuration default="false" name="WorkflowCompilingService"
type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME"
value="org.apache.texera.service.WorkflowCompilingService" />
<module name="texera.workflow-compiling-service.main" />
+ <shortenClasspath name="ARGS_FILE" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="org.apache.texera.service.*" />