Skip to content

Support for windows #28

@THENNARASU

Description

@THENNARASU

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions