Skip to content

No trailing slash for build.fan resDirs gives unhelpful msg #84

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

Closed
SlimerDude opened this issue Jan 20, 2016 · 0 comments
Closed

No trailing slash for build.fan resDirs gives unhelpful msg #84

SlimerDude opened this issue Jan 20, 2016 · 0 comments

Comments

@SlimerDude
Copy link
Collaborator

A common mistake with build.fan is that users forget to add a trailing slash to a resDir:

resDirs = [`etc`]

Currently this gives a rather unhelpful message in the problems view of:

Internal compiler error, please check Error Log view

Indeed the stack trace in the Error Log view does say:

sys::IOErr: Must use trailing slash for dir: /C:/Projects/f4/etc

but it's not easy to find.

@haiodo haiodo closed this as completed in 8cea176 May 17, 2016
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

1 participant