You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble executing the sbt tasks from the sbt console because the key of the cxfGenerate task is actually "run wsdl2java" (with spaces) and because of those spaces the sbt console thinks it is two seperate tasks.
Note the lowercase t! taskKey is a macro which will create a task with key cxfGenerate and description run wsdl2java. TaskKey.apply on the other hand will create a task with key "run wsdl2java" and no descrpition.
Solution is to change all occurances of TaskKey and SettingsKey to taskKey and settingsKey respectively.
I'm having trouble executing the sbt tasks from the sbt console because the key of the
cxfGenerate
task is actually"run wsdl2java"
(with spaces) and because of those spaces the sbt console thinks it is two seperate tasks.See:
What you meant to write was probably:
Note the lowercase
t
!taskKey
is a macro which will create a task with keycxfGenerate
and descriptionrun wsdl2java
.TaskKey.apply
on the other hand will create a task with key"run wsdl2java"
and no descrpition.Solution is to change all occurances of
TaskKey
andSettingsKey
totaskKey
andsettingsKey
respectively.For reference: https://stackoverflow.com/a/51804234
The text was updated successfully, but these errors were encountered: