Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for windows #28

Open
THENNARASU opened this issue Oct 12, 2024 · 0 comments
Open

Support for windows #28

THENNARASU opened this issue Oct 12, 2024 · 0 comments

Comments

@THENNARASU
Copy link

THENNARASU commented Oct 12, 2024

Is your feature request related to a problem? Please describe.
Unable to run ec.jar in windows

Describe the solution you'd like
Should be able to use "java -jar %EC_COMPILER_HOME%\target\ec.jar %*" in windows instead $@

Describe alternatives you've considered
Tried powershell and prompt. Build entity-compiler from develop branch but still not able to make it work

Additional context
I think there is some hardcoded reference to the path that is restricting this to be used in windows.

Exception in thread "main" java.lang.ExceptionInInitializerError
at org.entityc.compiler.cmdline.command.CLBuild.run(CLBuild.java:90)
at org.entityc.compiler.cmdline.CommandLine.run(CommandLine.java:120)
at org.entityc.compiler.EntityCompiler.main(EntityCompiler.java:68)
Caused by: java.util.regex.PatternSyntaxException: Unexpected internal error near index 1

at java.base/java.util.regex.Pattern.error(Pattern.java:2028)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1789)
at java.base/java.util.regex.Pattern.(Pattern.java:1430)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1069)
at java.base/java.lang.String.split(String.java:3157)
at java.base/java.lang.String.split(String.java:3203)
at org.entityc.compiler.project.ProjectManager.(ProjectManager.java:57)
at org.entityc.compiler.project.ProjectManager.(ProjectManager.java:42)
... 3 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant