Comments (5)
This one is tricky :)
from wro4j.
Thanks go out to my coworker who stresses wro4j with cascaded imports as if there were no tomorrow. :)
The only reason it works on the first run seems to be that the directory "generated2" does not exist. See ro.isdc.wro.maven.plugin.Wro4jMojo.isIncrementalCheckRequired():
@Override
protected boolean isIncrementalCheckRequired() {
return super.isIncrementalCheckRequired() && destinationFolder.exists();
}
from wro4j.
A possible solution could be holding a storage per group (which is expensive), or treating import statements differently when dealing with change detection...
from wro4j.
My first idea was to store the hashes not only by path
/scss/header.scss=77141eb86ceb6a88beabe40d81fd1a65b5ce9e64
but also by group
base:/scss/header.scss=77141eb86ceb6a88beabe40d81fd1a65b5ce9e64
base2:/scss/header.scss=77141eb86ceb6a88beabe40d81fd1a65b5ce9e64
But I'm not sure if this is a good solution.
from wro4j.
This is similar to have storage per group. The disadvantage is that there will be multiple checks for change for the same resource when it is referred from different groups.
I would prefer not checking twice for change. Instead of keeping a Map<String, Boolean>
(<uri>, <change flag>)
, to keep Map<String, Map<String, Boolean>
(where map holds the flag for each group).
from wro4j.
Related Issues (20)
- Confusing exception with incrementalBuildEnabled HOT 9
- Unexpected behavior when extending ConfigurableWroManagerFactory HOT 3
- Delta check fails if project directory contains "," HOT 2
- NPE in LazyProcessorDecorator when running parallelProcessing HOT 11
- wro4j-extensions maven dependency pulls in a huge set of dependencies HOT 1
- Empty group cause build model failed because of wro.xsd HOT 3
- Issue with CSS resolver HOT 5
- Allow overriding default processor configuration on a per-group basis. HOT 1
- NodeTypeScriptProcessor: possible bugs in code logic HOT 1
- Missing SVG contentType in ContentTypeResolver HOT 7
- Can't use webjar: with maven HOT 3
- Eclipse error: Could not get the value for parameter contextFolder for plugin execution default HOT 4
- Release 1.7.9 since it is already in Maven repos HOT 1
- Is it possible to disable build minified JS file on javascript source change? HOT 1
- Add a plugin to remove unused CSS rules HOT 4
- No processed css and js files in target directory using wro4j-maven-plugin HOT 3
- GoogleClosureCompressorProcessor CompilerOptions not settable
- Error while importing new xml within wro.xml HOT 1
- Issue with using TimestampNamingStrategy for rename bundles
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 wro4j.