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

Error: Unable to access jarfile C:/projects/beta3-latest/scripts/lib/devon-ide-configurator-.jar #87

Closed
hohwille opened this issue Apr 5, 2019 · 4 comments
Labels
bug Something isn't working configurator related to our configurator tool that manages IDE settings for Eclipse, Intellij, vscode, etc. scripts related to shell scripts (bash and CMD)
Milestone

Comments

@hohwille
Copy link
Member

hohwille commented Apr 5, 2019

Seems as there is some issue with the maven filtering (variable substituion)...
Testet with 3.0.0-beta3 on windows...

Running command: java -jar '/c/projects/beta3-latest/scripts/lib/devon-ide-configurator-.jar' -cp '/c/projects/beta3-latest/scripts/lib/*.jar' -t '/c/projects/beta3-latest/settings/eclipse/workspace' -w '/c/projects/beta3-latest/workspaces/main' -v '/c/projects/beta3-latest/settings/eclipse/workspace/replacement-patterns.properties' -u
Error: Unable to access jarfile C:/projects/beta3-latest/scripts/lib/devon-ide-configurator-.jar
@hohwille hohwille added bug Something isn't working configurator related to our configurator tool that manages IDE settings for Eclipse, Intellij, vscode, etc. scripts related to shell scripts (bash and CMD) labels Apr 5, 2019
@hohwille hohwille added this to the release:3.0.0 milestone Apr 5, 2019
@hohwille
Copy link
Member Author

hohwille commented Apr 5, 2019

Indeed:

  doRunCommand "java -jar '${DEVON_IDE_HOME}/scripts/lib/devon-ide-configurator-${devon_ide_version}.jar' -cp '${DEVON_IDE_HOME}/scripts/lib/*.jar' -t '${1}' -w '${2}' -v '${replacement_patterns_path}' ${3}"

The variable ${devon_ide_version} should have been resolved during release build.

@hohwille
Copy link
Member Author

hohwille commented Apr 5, 2019

Filtering stopped working entirely:

if [ "${1}" = "-v" ] || [ "${1}" = "--version" ]
then
  echo "${devon_ide_version}"
  return
fi

@hohwille
Copy link
Member Author

hohwille commented Apr 5, 2019

Was broken with this commit: https://github.com/hohwille/devon-ide/commit/21b2c6551fecc00c822654fc7436217cd9757898
When changing to CI friendly maven, I accidentally dropped the devon_ide_version variable.

@hohwille hohwille mentioned this issue Apr 5, 2019
hohwille added a commit that referenced this issue Apr 5, 2019
* #66: #64: bash code style
* #87: fixed (was broken with #43)
@hohwille
Copy link
Member Author

hohwille commented Apr 9, 2019

Fixed.

@hohwille hohwille closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working configurator related to our configurator tool that manages IDE settings for Eclipse, Intellij, vscode, etc. scripts related to shell scripts (bash and CMD)
Projects
None yet
Development

No branches or pull requests

1 participant