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

devon java create - ERROR: Missing arguments for doMavenArchetype #505

Closed
maybeec opened this issue Jan 3, 2021 · 1 comment · Fixed by #509
Closed

devon java create - ERROR: Missing arguments for doMavenArchetype #505

maybeec opened this issue Jan 3, 2021 · 1 comment · Fixed by #509
Labels
commandlet related to commandlets (scripts/command/*) enhancement New feature or request java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium)

Comments

@maybeec
Copy link
Member

maybeec commented Jan 3, 2021

Expected behavior

As a user, I want to create a new project so that it automatically is created in the default wokspace.

Actual behavior

PS D:\tmp\devonfw-ide-test> devon java create
WARNING: You are currently not directly in a workspace folder. Current location is:
/d/tmp/devonfw-ide-test
Create project in main workspace instead?
(yes/no): yes

******** ATTENTION ********
ERROR: Missing arguments for doMavenArchetype
We are sorry for the inconvenience. Please check the above errors, resolve them and try again.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Install clean devonfw-ide
  2. run devon java create in root dir of the installed IDE
  3. Answer Create project in main workspace instead? with yes

Related/Dependent Issues

Comments/Hints:

Same is happening if you run devon java create within a workspace:

******** ATTENTION ********
ERROR: Missing arguments for doMavenArchetype
We are sorry for the inconvenience. Please check the above errors, resolve them and try again.

Affected version:

  • OS: Windows
  • Console: PowerShell / Git Bash / CMD
@maybeec maybeec added bug Something isn't working commandlet related to commandlets (scripts/command/*) java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) labels Jan 3, 2021
@maybeec
Copy link
Member Author

maybeec commented Jan 3, 2021

ok, this is invalid as you could simply provide the project name as parameter to make it work, but I feel, this can be improved to prevent from stopping users to proceed here as they might think they faced a bug.

@maybeec maybeec added enhancement New feature or request and removed bug Something isn't working labels Jan 3, 2021
@hohwille hohwille added this to the release:2020.12.002 milestone Jan 7, 2021
@hohwille hohwille linked a pull request Jan 7, 2021 that will close this issue
@hohwille hohwille changed the title devon java created - ERROR: Missing arguments for doMavenArchetype devon java create - ERROR: Missing arguments for doMavenArchetype Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commandlet related to commandlets (scripts/command/*) enhancement New feature or request java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium)
Projects
None yet
2 participants