Re: Disable colored output
Sorry, I am not actively working on Lazytest right now. I suggest patching your local version, or just ignoring it. -S On Monday, February 27, 2012 11:35:10 PM UTC-5, Vladimir Matveev wrote: > > > mvn goalname -Dinsert.property.here=true > I tried this and it didn't work. > > > AFAICT, the lazytest maven plugin launches tests in a separate JVM: > So I think the only way to overcome this is to make the plugin > understand new configuration option. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Disable colored output
> mvn goalname -Dinsert.property.here=true I tried this and it didn't work. > AFAICT, the lazytest maven plugin launches tests in a separate JVM: So I think the only way to overcome this is to make the plugin understand new configuration option. On Feb 27, 3:17 pm, Rob Lally wrote: > I'm reasonably sure that with maven you can pass system properties using the > form > > mvn goalname -Dinsert.property.here=true > > R. > > On 27 Feb 2012, at 17:54, Vladimir Matveev wrote: > > > > > > > > > Thank you again, I will try to look harder for it. > > > On Feb 27, 5:46 pm, Stuart Sierra wrote: > >> Sorry, Vladimir, I don't have an answer for you right now. I'm sure there's > >> a way to set system properties in Maven, but I don't have the relevant > >> documentation at hand. > > >> -S > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clojure@googlegroups.com > > Note that posts from new members are moderated - please be patient with > > your first post. > > To unsubscribe from this group, send email to > > clojure+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Disable colored output
AFAICT, the lazytest maven plugin launches tests in a separate JVM: https://github.com/stuartsierra/lazytest/blob/master/modules/lazytest-maven-plugin/src/main/java/com/stuartsierra/lazytest/AbstractLazytestMojo.java#L190 and only propages System environment variables: https://github.com/stuartsierra/lazytest/blob/master/modules/lazytest-maven-plugin/src/main/java/com/stuartsierra/lazytest/AbstractLazytestMojo.java#L182 but not System properties: https://github.com/stuartsierra/lazytest/blob/master/modules/lazytest-maven-plugin/src/main/java/com/stuartsierra/lazytest/AbstractLazytestMojo.java#L143 So indeed the -Dfoo=bar maven/java way of passing properties will not work out of the box 2012/2/27 Rob Lally > I'm reasonably sure that with maven you can pass system properties using > the form > >mvn goalname -Dinsert.property.here=true > > R. > > > On 27 Feb 2012, at 17:54, Vladimir Matveev wrote: > > > Thank you again, I will try to look harder for it. > > > > On Feb 27, 5:46 pm, Stuart Sierra wrote: > >> Sorry, Vladimir, I don't have an answer for you right now. I'm sure > there's > >> a way to set system properties in Maven, but I don't have the relevant > >> documentation at hand. > >> > >> -S > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clojure@googlegroups.com > > Note that posts from new members are moderated - please be patient with > your first post. > > To unsubscribe from this group, send email to > > clojure+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Disable colored output
I'm reasonably sure that with maven you can pass system properties using the form mvn goalname -Dinsert.property.here=true R. On 27 Feb 2012, at 17:54, Vladimir Matveev wrote: > Thank you again, I will try to look harder for it. > > On Feb 27, 5:46 pm, Stuart Sierra wrote: >> Sorry, Vladimir, I don't have an answer for you right now. I'm sure there's >> a way to set system properties in Maven, but I don't have the relevant >> documentation at hand. >> >> -S > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Disable colored output
Thank you again, I will try to look harder for it. On Feb 27, 5:46 pm, Stuart Sierra wrote: > Sorry, Vladimir, I don't have an answer for you right now. I'm sure there's > a way to set system properties in Maven, but I don't have the relevant > documentation at hand. > > -S -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Disable colored output
Sorry, Vladimir, I don't have an answer for you right now. I'm sure there's a way to set system properties in Maven, but I don't have the relevant documentation at hand. -S -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Disable colored output
Hi Stuart, Thank you for your answer. It seems that it isn't possible to specify properties when using maven. I tried specifying property in my pom.xml in section and setting property on the command line - it's no good, the output is still colorized. Shouldn't maven plugin have an option for such thing? On Feb 26, 7:31 pm, Stuart Sierra wrote: > Yes, you can disable ANSI colors by setting the Java system property > "lazytest.colorize" to "false". > > -Stuart Sierra > > > > > > > > On Saturday, February 25, 2012 4:09:18 PM UTC-5, Vladimir Matveev wrote: > > > Hello, > > > I'm using IntelliJ IDEA to develop my clojure programs and I'm using > > lazytest to test them. I'm also using maven and corresponding IDEA > > plugin to manage my projects. > > When I run lazytest:run goal using this plugin, the console window > > shows console output of 'mvn lazytest:run' command, but since this is > > regular text window it does not handle ANSI terminal codes, so I'm > > getting something like this: > > > [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m > > Namespaces > > nc.commons.config.ConfigTest > > #'nc.commons.config.Config/set-config-property > > [32mshould correctly save different types of key-value > > pairs in the map [0m > > #'nc.commons.config.Config/get-config-property > > [32mshould correctly load different types of key-value > > pairs from the map [0m > > nc.commons.model.EntityTypeTest > > #'nc.commons.model.EntityType/entity-types -- the list of > > entity types > > [32mshould contain only entity types with valid > > references between them [0m > > #'nc.commons.model.EntityType/get-field-type applied to entity > > types > > [32mshould return field type given entity type and field > > name [0m > > [32mshould return nil if given entity type does not > > contain provided field [0m > > #'nc.commons.model.EntityType/has-field? applied to entity > > types > > [32mshould return true if entity type provided to it has > > provided field [0m > > [32mshould return false if entity type provided to it > > doesn't have provided field [0m > > > Ran 7 test cases. > > [32m0 failures. [0m > > > So, is it possible to disable colored output and switch to text-only > > test completion marks? > > > Best regards, > > Vladimir. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: [lazytest] Disable colored output
Yes, you can disable ANSI colors by setting the Java system property "lazytest.colorize" to "false". -Stuart Sierra On Saturday, February 25, 2012 4:09:18 PM UTC-5, Vladimir Matveev wrote: > > Hello, > > I'm using IntelliJ IDEA to develop my clojure programs and I'm using > lazytest to test them. I'm also using maven and corresponding IDEA > plugin to manage my projects. > When I run lazytest:run goal using this plugin, the console window > shows console output of 'mvn lazytest:run' command, but since this is > regular text window it does not handle ANSI terminal codes, so I'm > getting something like this: > > [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m > Namespaces > nc.commons.config.ConfigTest > #'nc.commons.config.Config/set-config-property > [32mshould correctly save different types of key-value > pairs in the map [0m > #'nc.commons.config.Config/get-config-property > [32mshould correctly load different types of key-value > pairs from the map [0m > nc.commons.model.EntityTypeTest > #'nc.commons.model.EntityType/entity-types -- the list of > entity types > [32mshould contain only entity types with valid > references between them [0m > #'nc.commons.model.EntityType/get-field-type applied to entity > types > [32mshould return field type given entity type and field > name [0m > [32mshould return nil if given entity type does not > contain provided field [0m > #'nc.commons.model.EntityType/has-field? applied to entity > types > [32mshould return true if entity type provided to it has > provided field [0m > [32mshould return false if entity type provided to it > doesn't have provided field [0m > > Ran 7 test cases. > [32m0 failures. [0m > > So, is it possible to disable colored output and switch to text-only > test completion marks? > > Best regards, > Vladimir. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
[lazytest] Disable colored output
Hello, I'm using IntelliJ IDEA to develop my clojure programs and I'm using lazytest to test them. I'm also using maven and corresponding IDEA plugin to manage my projects. When I run lazytest:run goal using this plugin, the console window shows console output of 'mvn lazytest:run' command, but since this is regular text window it does not handle ANSI terminal codes, so I'm getting something like this: [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m [32m. [0m Namespaces nc.commons.config.ConfigTest #'nc.commons.config.Config/set-config-property [32mshould correctly save different types of key-value pairs in the map [0m #'nc.commons.config.Config/get-config-property [32mshould correctly load different types of key-value pairs from the map [0m nc.commons.model.EntityTypeTest #'nc.commons.model.EntityType/entity-types -- the list of entity types [32mshould contain only entity types with valid references between them [0m #'nc.commons.model.EntityType/get-field-type applied to entity types [32mshould return field type given entity type and field name [0m [32mshould return nil if given entity type does not contain provided field [0m #'nc.commons.model.EntityType/has-field? applied to entity types [32mshould return true if entity type provided to it has provided field [0m [32mshould return false if entity type provided to it doesn't have provided field [0m Ran 7 test cases. [32m0 failures. [0m So, is it possible to disable colored output and switch to text-only test completion marks? Best regards, Vladimir. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en