Skip to content

Use InputArgs on Java projects #8

@ghost

Description

Hi, I have trouble using InputArgs on Java:
What my build system does is compiling my code TEST.java, which leads to the class file TEST.class, which then is executed (see build system below).
In the Windows-cmd, this works fine with arguments (like "javac TEST.java && java TEST test_arg"), but using Sublime and InputArgs, it leads to following error
"str expected, not dict
[cmd: ['javac', 'test.java', '&&', 'java', 'test', 'test_arg']]"

I really love InputArgs on my python projects, but some of my college courses require me to use java.
If you have time and motivation, please let me know how to fix this :)

My current build system:
{"cmd": ["javac", "$file_name","&&","java", "$file_base_name"],
"file_regex": "^(...?):([0-9]):?([0-9]*)",
"selector": "source.java",
"shell": true,}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions