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

Pipeline error when a JS file is deleted #477

Closed
cescoffier opened this Issue Apr 21, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@cescoffier
Member

cescoffier commented Apr 21, 2015

When a JavaScript file is deleted we get a:

Cannot determine the output file for ...

This is normal if the file was not in the regular assert directory, so we should silently ignore the error (display a warning, but do not produce a pipeline error)

@cescoffier cescoffier added this to the 0.8.1 milestone Apr 21, 2015

@cescoffier cescoffier self-assigned this Apr 21, 2015

@cescoffier cescoffier added ready and removed planned labels Apr 21, 2015

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Apr 21, 2015

Member

So actually the issue is the following:

  • you have .js or .css file in src/main/resources/stuff/
  • you remove it

the bug comes from two mojos:

  • JavaScript compiler
  • CSS Compiler

These two mojos are watching on src/main/resources instead of src/main/resources/assets.

Member

cescoffier commented Apr 21, 2015

So actually the issue is the following:

  • you have .js or .css file in src/main/resources/stuff/
  • you remove it

the bug comes from two mojos:

  • JavaScript compiler
  • CSS Compiler

These two mojos are watching on src/main/resources instead of src/main/resources/assets.

@cescoffier cescoffier removed the ready label Apr 21, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment