warbler icon indicating copy to clipboard operation
warbler copied to clipboard

public/assets doesn't get moved to war root after assets:precompile:primary

Open edrex-janrain opened this issue 12 years ago • 2 comments

We have a Rake task that runs assets:precompile before the war task, which results in the precompiled assets being copied to the root of the war file.

To speed up our build, as well as to work around some issues with assets:precompile swallowing error messages, we switched it out for assets:precompile:primary, which only builds the digest versions of the assets.

After the change, assets no longer get copied to the root, but are in web-app/public/assets. Is this a bug in Warbler or a misconfiguration on our part? Ideas for troubleshooting/workarounds?

Seems related to #50, but that was kind of the reverse problem (Rails was looking in the wrong place)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446640-public-assets-doesn-t-get-moved-to-war-root-after-assets-precompile-primary?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).

edrex-janrain avatar Sep 25 '12 16:09 edrex-janrain

I will assign this to myself to remember that I have to research this in some hours

guilleiguaran avatar Sep 25 '12 16:09 guilleiguaran

@edrex-janrain can you provide a minimal app to reproduce this issue? (with the rake task that you are using to run precompile before of war)

guilleiguaran avatar Nov 17 '12 19:11 guilleiguaran