Coder Social home page Coder Social logo

Comments (8)

xsocher avatar xsocher commented on July 24, 2024

I have found out that setting system properties will do the trick.

mvn jasmine:test -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog

but, I was wondering if there is a way to set this system related properties in pom.xml? like surefire:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html

from jasmine-maven-plugin.

searls avatar searls commented on July 24, 2024

Good catch. I wonder if that logging setting will also suppress genuine errors during the build? I'd rather be able to let people set the level to error than just a big on/off switch, since debugging a headless runner with no error message is pretty difficult.

from jasmine-maven-plugin.

xsocher avatar xsocher commented on July 24, 2024

yes, I agree with you. Any possibilities to let me set following properties will be enough for me.

org.apache.commons.logging.simplelog.defaultlog=fatal or
log4j.logger.com.gargoylesoftware.htmlunit.DefaultCssErrorHandler=ERROR

from jasmine-maven-plugin.

soldiermoth avatar soldiermoth commented on July 24, 2024

+1

from jasmine-maven-plugin.

searls avatar searls commented on July 24, 2024

+1. Anyone know how to do this?

On Apr 5, 2012, at 20:22, Bobby Peck
[email protected]
wrote:

+1


Reply to this email directly or view it on GitHub:
#31 (comment)

from jasmine-maven-plugin.

mikesmithson avatar mikesmithson commented on July 24, 2024

we're seeing a slew of warning messages as well since we introduced handlebars templating into our codebase:

Jun 2, 2012 11:59:49 PM com.gargoylesoftware.htmlunit.html.HtmlScript isExecutionNeeded
WARNING: Script is not JavaScript (type: text/x-handlebars-template, language: ). Skipping execution.

seems that htmlunit is looking for text/javascript, not x-handlebars-template. I also have run out of options to try other than modifying the HTMLScript source code.

from jasmine-maven-plugin.

torgeir avatar torgeir commented on July 24, 2024

+1

from jasmine-maven-plugin.

klieber avatar klieber commented on July 24, 2024

Closing this issue because it hasn't been active in over 3 years. If this is still an issue with the current version of the plugin please add a comment with the latest information on the issue and I will reopen it.

from jasmine-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.