-
Notifications
You must be signed in to change notification settings - Fork 10
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
simpleUrlUpdate without sbt-rjs = updated /app/assets sources, not /target/web/ #6
Comments
@helllamer thanks, I will try to see if I can reproduce the same error, my guess is that the rjs started the pipeline "correctly" by copying the assets to /target/web first. if that is the case, I believe we might need a solution out side of this plugin. Either had some sort of dummy plugin to first copy the the assets to the target path or we will need some changes upstream. |
Should be fixed with latest commit |
I've build and tried latest revision against
One oblivious idea how to fix it in
, but it does not help for unknown reason. I've tried
UPD: If |
hmm, that is odd. I had the changes tested with
yes the md5 files are in both digest and suu folder, but it didn't report the duplicate exeception? |
Ok, I will make more experiments on/after weekend in different configurations and report results here. |
@neomaclin I've tried to continue work after summer vacation, but
Hope to will find source of problem.
|
Thanks @helllamer . The duplication error I believe is due to the fact I didn't have a filtering on file names with in the pipeline. And the reason myself does have that error could be related to how our project is structured(like a forced "clean" on each stage). one of the fixes I have was to do a move(rather than copy) in the sbt task itself. But thanks for the follow up on this. |
I had a similar problem with source files being rewritten in version 1.0.0. For me, this was fixed by updating to version 1.0.1 (no problems so far). What is the status on this? Are you planning on publishing this version also? |
@cornerman my publishing repo rights has been renounced...for awhile. I am not sure I would be able to do a follow up on the binary release anytime soon. As for the solution itself. I do not have a working environment for me now as I have moved to another company/work, not sure I want to have a "fix" fully tested before I push out the changes. |
difficult indeed. I did not do heavy testing, as I have just one html file in which the asset filenames need to be adapted. But it works. Just, locally publishing is tedious. As an alternative, do you maybe have an idea what configuration causes the problems with 1.0.0? I use it here to update the file Does it make sense for you to release it as a snapshot? Otherwise, I would consider forking and releasing it myself if that is okay with you; as I will need something similar. |
You are welcomed to mold it to any shape or form as per your needs. As per usage you linked, it might, just my guess, be related you have only used the "digest" filter once. But I am not very sure if that really is the cause, as I do believe you are not using it with other static files like js or css, which required the second stage "digest" to update the md5 values for related files. The solution wouldn't be really be done via the configuration. Reading my own input couple years back, I believe it has to be done with code itself:
|
Thank you for the input! As the current version works for me, I would then fork this repo and release it as is, just under my org. for now as a snapshot and if it keeps on working as 1.0.1. |
I've detected a bug, that takes place, if NO
rjs
presents inpipeline
.File
1.css
contains something like this:build.sbt
contains this:After calling
sbt stage
, original source file1.css
is modified bysimpleUrlUpdate
:Need to do
hg revert
after suchstage
...File
plugins.sbt
contains this:The text was updated successfully, but these errors were encountered: