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

Submitting an exercise via command line #967

Open
zeeatwork opened this issue Nov 12, 2020 · 7 comments
Open

Submitting an exercise via command line #967

zeeatwork opened this issue Nov 12, 2020 · 7 comments

Comments

@zeeatwork
Copy link

Screen Shot 2020-11-12 at 10 08 57 AM

@NobbZ
Copy link
Member

NobbZ commented Nov 12, 2020

You need to replace path/to/file1 with the actual file name, also the squarebrackets do denote optionality of further arguments. while the ellipsis denotes that there can be arbitrary many of them.

@zeeatwork
Copy link
Author

zeeatwork commented Nov 13, 2020 via email

@NobbZ
Copy link
Member

NobbZ commented Nov 14, 2020

I do not know about "Apple finder". Can you please share the exact command you have used as well as the exact error you get?

Also please navigate to your exercises folder and run pwd there, tell us its output. Additionally we need to see the output of exercism debug.

Please copy and paste the output and and put it in code blocks:

```plain
Your pasted output here
```

@zeeatwork
Copy link
Author

zeeatwork commented Nov 14, 2020 via email

@NobbZ
Copy link
Member

NobbZ commented Nov 14, 2020

You have to specify files that exist. Default location for the Java hello world exercises solution file is $(exercism workspace)/java/hello-world/src/main/java/Greeter.java, IIRC.

So as your pwd is $(exercism workspace)/java/hello-world already, you have to exercism submit src/main/java/Greeter.java.

@Pearl-Gan
Copy link

What shall i submit,source file or the excutable file?
when I submit my source file, i got an information "not in workspace". What does it mean? Is it say my files are in a wrong path?

@NobbZ
Copy link
Member

NobbZ commented Nov 21, 2020

You are supposed to submit the sources.

If you have problems with submitting, then please show us the command you are using, the exact error you get as well as your current working dir and the output of exercism debug

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

3 participants