There is a configuration option called ignoreFailingProcessing which is false by default, meaning that any failure during processing should break the build.
What is the value of this option in your wro.properties? If it is false and it still does't behave as expected, please provide more details.
Alex
> --
> You received this message because you are subscribed to the Google Groups "wro4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wro4j+un...@googlegroups.com.
> To post to this group, send email to wr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/wro4j?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
# General Configuration
debug=true
# Processor Configuration
ignoreFailingProcessor=false
managerFactoryClassName=ro.isdc.wro.manager.factory.ConfigurableWroManagerFactory
preProcessors=cssMin,duplicateAwareCssDataUri,cssUrlRewriting,semicolonAppender,googleClosureSimple
hashStrategy=MD5
namingStrategy=hashEncoder-CRC32
MacBook-Pro:web $ mvn -DBUILD_VERSION=2011.1.0.1 -DBUILD_NUMBER=123 wro4j:run -DtargetGroups=base -Dminimize=true[INFO] Scanning for projects...[INFO] [INFO] ------------------------------------------------------------------------[INFO] Building Dashboard - Web 4-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO] [INFO] --- wro4j-maven-plugin:1.6.2:run (default-cli) @ web ---[INFO] Executing the mojo: [INFO] Wro4j Model path: /projects/merge/trunk/dashboard/web/src/main/webapp/WEB-INF/wro.xml[INFO] targetGroups: base[INFO] minimize: true[INFO] ignoreMissingResources: false[INFO] destinationFolder: /projects/merge/trunk/dashboard/web/target/wro[INFO] jsDestinationFolder: /projects/merge/trunk/dashboard/web/target/web-4-SNAPSHOT/bundles/js[INFO] cssDestinationFolder: /projects/merge/trunk/dashboard/web/target/web-4-SNAPSHOT/bundles/css[INFO] groupNameMappingFile: null[INFO] wroManagerFactory class: ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory[INFO] The following groups will be processed: [base][INFO] folder: /projects/merge/trunk/dashboard/web/target/web-4-SNAPSHOT/bundles/css[INFO] processing group: base.css0 WARN CssDataUriPreProcessor - [FAIL] extract dataUri from: /resources/css/../images/icon-info.png, because: /projects/merge/trunk/dashboard/web/src/main/webapp/resources/css/../images/icon-info.png (No such file or directory). A possible cause: using CssUrlRewritingProcessor before CssDataUriPreProcessor.[INFO] file size: base-f2ee40cd.css -> 579095 bytes[INFO] /projects/merge/trunk/dashboard/web/target/web-4-SNAPSHOT/bundles/css/base-f2ee40cd.css (579095 bytes)[INFO] folder: /projects/merge/trunk/dashboard/web/target/web-4-SNAPSHOT/bundles/js[INFO] processing group: base.jsFeb 28, 2013 7:05:14 PM com.google.javascript.jscomp.LoggerErrorManager printlnSEVERE: base:49990: ERROR - Parse error. missing ; before statementX var view; ^
[INFO] file size: base-b8450364.js -> 3053022 bytes[INFO] /projects/merge/trunk/dashboard/web/target/web-4-SNAPSHOT/bundles/js/base-b8450364.js (3053022 bytes)[INFO] ------------------------------------------------------------------------[INFO] BUILD SUCCESS[INFO] ------------------------------------------------------------------------[INFO] Total time: 18.415s[INFO] Finished at: Thu Feb 28 19:05:15 EST 2013[INFO] Final Memory: 21M/422M[INFO] ------------------------------------------------------------------------
Might be a bug. Will take a look tomorrow.
Alex
Might be a bug. Will take a look tomorrow.
Alexa
To unsubscribe from this group and stop receiving emails from it, send an email to wro4j+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wro4j+un...@googlegroups.com.