Comments (9)
To get advpng to work I needed to apply this attribute to its apply-tag:
force="true"
from ant-build-script.
As you can see, it's been a while since this (At least part of this) was brought to my attention. I've been busy with other things and I don't have a Mac, so I can't test any of this there. Which sucks.
I did write the scary, unreliable, version test on Ubuntu, so it breaking there is a little bit of a surprise (but not much of one, since I referred to as "scary" when I came up with the solution.)
I've been hoping to take a day or two at some point and rewrite this whole thing, since it's a big hunk of frankencode at this point. Obviously that hasn't happened, but this feedback on the ugliness will help get it sorted out.
I'm confused as to the os.family issue. I'll have to go through the history to see what the purpose of that was (I don't remember and don't remember doing it myself. )
from ant-build-script.
I mistakenly closed this issue, so I re-opened it. But the errors and fixes are above. Everything works now. But it was rather nasty to debug this issue. Hopefully this gets fixed on mainline too, so others can benefit.
from ant-build-script.
I found the commit which introduced the os.family bug.
from ant-build-script.
Yes, that scary test is fine, but Ubuntu 12.04.2 doesn't have 0.7 by default, so it didn't pass the test. I had to install more current version from ppa, which sadly has a bug too, and displays the version as "Hg", which sucks. In general I think it's more problematic to have that test than fail on 0.6.x version (does it even fail with 0.6.x?).
from ant-build-script.
Ah, thanks for the clarification. As I said, I want to just rework the whole section. There's just a lot going on so it's going to take a while. We added a lot in the push to get 1.0 out the door (the commit above solved one longstanding issue, in addition to introducing this bug) so it ended up being pretty messy.
from ant-build-script.
Yes, I looked also the history, and that was one scary blob of an update (I did not have these problems on version before that). But with the findings, and workarounds I did, I don't think it's very big problem to fix. Let me know when you have a new version committed so I can confirm that everything works. Thanks for a great tool!
from ant-build-script.
Cool. I'll see if I can pull this together tonight or tomorrow. This has bugged me for a while and all this research will make it go a lot quicker than I expected. I'll close this issue once the new version is in.
from ant-build-script.
Open for testing
https://github.com/h5bp/ant-build-script/tree/new-image-optimization
from ant-build-script.
Related Issues (20)
- Change docs to address confusion HOT 2
- Can't copy minified js directory over to publish HOT 2
- Concatenation after minifying and ADVANCED_OPTIMIZATIONS HOT 5
- Minifying any unconcatenated css files... FileNotFoundException HOT 2
- The gem-sass.jar throws an exception with Foundation 4 HOT 3
- Image Optimization HOT 5
- Rework Image Optimization HOT 15
- CSS reference not updating w/php includes on build HOT 6
- Mavericks Upgrade: Busted Macports for Ant HOT 2
- Unicode characters being inserted between css imports upon concatenation. HOT 5
- css-references not updating in html-file HOT 17
- working with sass stylesheets HOT 1
- problem with advpng and java.. HOT 5
- set language_in option for closure compiler? HOT 6
- Port to NodeJs HOT 1
- css does not minify/concat correctly when using default main.css HOT 7
- ant validate only validates single page HOT 1
- JS files vanished in publish/ directory HOT 1
- How to use this build script outside my project? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-build-script.