ceylon / ceylon-common

DEPRECATED
Apache License 2.0
14 stars 9 forks source link

Improve module not found error message in case of missing version #37

Closed quintesse closed 10 years ago

quintesse commented 10 years ago

On the mailing list a user got misled by the message that a module in a HTTP repository could not be found while it was clearly there. They were used to the fact that you can leave out a version and Ceylon will either automatically choose the only one available or give you the list of possibilities.

Thing is this doesn't work for repositories that can't be searched, like plain (non Herd) HTTP repositories.

We should improve this error in those cases by suggesting to specify a version.

quintesse commented 10 years ago

Opened in wrong project, recreating here: ceylon/ceylon-module-resolver#91