-
Notifications
You must be signed in to change notification settings - Fork 203
css-references not updating in html-file #175
Comments
I'm a little confused as to what's happening. The publish folder will be updated if there's a change to your files. If there's not a change to your files there won't be a change. Are you seeing any errors in the console? |
Sorry, if I was unclear. I couldn find any errors in the console. (I also tried
|
What does your HTML file look like before and after the build process? |
I haven't really changed the html: https://gist.github.com/woeps/1905f2055b71e031f598 Btw: Thanks for your really fast reply! |
That looks right. I'm not sure what the problem is.
|
I'm afraid me neither. I'm trying to get this to work for many hours now, but without any success. That's why I decided to post this issue here. Atm it seems the only way to get a valid build (for a changed css-file) is by removing the intermediate-folder. Which is kind of okay, but still a bummer in matter of automation. I'd need to take a closer look at ant to understand what's really going on in this folder. (This is my first use of ant.) |
I don't understand what's wrong. As in I don't understand what us wrong.
|
For test purposes I used the main.css which got shipped with bp5. |
What you're describing is confusing. Feel free to send me your whole
|
I pushed my entire working directory here: https://github.com/woeps/mybp5.git |
Ack, sorry I missed that you had updated this. I can take a look if it's still a problem. |
I'd be glad if you had any suggestions. - Still wasn't able to find the |
+1 i am sitting with the same problem. Custom css and js files (mani.css, helper.js, main.js) are minified and concatenated but not referenced in the index.html of the publish folder. I use the 1.1.0 branch of Ant. I hope we can shed some light on this, i have very little to no experience with Ant. For now i will just reference the names of the minified files to index myself, and remove the original file names. |
I'll take a look at this this week. I've had a plan to release 1.1.0 soon and this is one of the things I needed to clear up. |
Wonderful, thanks for the super fast feedback! |
Thank me when I've figured it out :) The good news is, the "release 1.1.0" item has made it onto my daily to-dos, so it's on the radar at least. This just made no sense to me when I looked at it originally. This is something that worked before so it's a regression somewhere which is always fun to hunt down. |
Please take a look at the latest in the 1.1.0 branch. |
I just cloned bp5 and the buildscript in a clean directory and everything works fine for the first building-process.
After that, the html file won't get updated with the new hashname for the css-file on
ant build
. - Though changes in the original html-file get respected and the css-file gets copied to the publish-folder with a new hashname.Removing the intermediate-dir makes it work again.
Is there a way to just 'update' (change) the existing files in the publish-folder after another build-execution? (Like I understand it's supposed to be.)
I'm trying to get this to work for a couple of hours now, but I couldn't find any really helpfull infos. - In the end I wanna set this up together with sass, but that's not the problem.
Did I miss something? Any advice on this?
The text was updated successfully, but these errors were encountered: