Open OlegYch opened 10 years ago
i depend on gatling via
Seq("io.gatling" % "gatling-app" % "2.0.0-SNAPSHOT", "io.gatling.highcharts" % "gatling-charts-highcharts" % "2.0.0-SNAPSHOT"). map(_.exclude("io.gatling", "gatling-recorder").exclude("io.gatling", "gatling-jdbc").exclude("io.gatling", "gatling-redis"). excludeAll(ExclusionRule(organization = "com.typesafe.sbt")).excludeAll(ExclusionRule(organization = "com.typesafe.zinc")))
today i noticed that while generating idea files it didn't pickup new version of HdrHistogram library from new version of snapshot:
[info] Creating IDEA module for project 'load-tests' ... [info] Resolving org.slf4j#jul-to-slf4j;1.7.6 ... [info] Resolving org.scala-lang#scala-compiler;2.10.4 ... [info] Resolving org.scala-lang#scala-library;2.10.4 ... [info] Resolving org.scala-lang#scala-reflect;2.10.4 ... [info] Resolving org.scala-lang#scalap;2.10.4 ... ...snip... [info] Resolving io.gatling#gatling-app;2.0.0-SNAPSHOT ... [info] Resolving io.gatling#gatling-core;2.0.0-SNAPSHOT ... [info] Resolving io.gatling#jsr166e;1.0 ... [info] Resolving com.typesafe.akka#akka-actor_2.10;2.2.4 ... [info] Resolving net.sf.saxon#Saxon-HE;9.5.1-5 ... [info] Resolving org.joda#joda-convert;1.5 ... [info] Resolving com.typesafe#scalalogging-slf4j_2.10;1.1.0 ... [info] Resolving io.gatling#jsonpath_2.10;0.4.1 ... [info] Resolving com.fasterxml.jackson.core#jackson-databind;2.4.0-rc3 ... [info] Resolving com.fasterxml.jackson.core#jackson-annotations;2.4.0-rc3 ... [info] Resolving com.fasterxml.jackson.core#jackson-core;2.4.0-rc3 ... [info] Resolving io.fastjson#boon;0.17 ... [info] Resolving io.gatling.uncommons.maths#uncommons-maths;1.2.3 ... [info] Resolving org.jodd#jodd-lagarto;3.5 ... [info] Resolving org.jodd#jodd-log;3.5 ... [info] Resolving org.jodd#jodd-core;3.5 ... [info] Resolving com.typesafe#config;1.2.1 ... [info] Resolving com.dongxiguo#fastring_2.10;0.2.2 ... [info] Resolving net.sf.opencsv#opencsv;2.3 ... [info] Resolving io.gatling#gatling-http;2.0.0-SNAPSHOT ... [info] Resolving com.ning#async-http-client;1.8.9 ... [info] Resolving io.netty#netty;3.9.1.Final ... [info] Resolving com.jcraft#jzlib;1.1.3 ... [info] Resolving io.gatling#gatling-jms;2.0.0-SNAPSHOT ... [info] Resolving javax.jms#jms-api;1.1-rev-1 ... [info] Resolving io.gatling#gatling-metrics;2.0.0-SNAPSHOT ... [info] Resolving org.hdrhistogram#HdrHistogram;1.1.5 ... <------- note the version [info] Resolving io.gatling#gatling-charts;2.0.0-SNAPSHOT ... [info] Resolving com.tdunning#t-digest;3.0 ... [info] Resolving com.github.scopt#scopt_2.10;3.2.0 ... [info] Resolving io.gatling.highcharts#gatling-charts-highcharts;2.0.0-SNAPSHOT ... [info] Resolving com.typesafe.akka#akka-remote_2.10;2.2.4 ... [info] Resolving org.uncommons.maths#uncommons-maths;1.2.2a ... [info] Resolving com.typesafe.akka#akka-testkit_2.10;2.2.4 ... [info] Resolving com.typesafe.akka#akka-kernel_2.10;2.2.4 ... [info] Resolving com.typesafe.akka#akka-slf4j_2.10;2.2.4 ... [info] Resolving ch.qos.logback#logback-classic;1.1.1 ... [info] Resolving ch.qos.logback#logback-core;1.1.1 ... [info] Resolving org.slf4j#jcl-over-slf4j;1.7.6 ... [info] Resolving org.slf4j#log4j-over-slf4j;1.7.6 ... [info] Resolving com.foursquare.lint#linter_2.10;0.1.1 ... [info] Resolving org.scala-lang#jline;2.10.4 ... [info] Resolving org.fusesource.jansi#jansi;1.4 ... [info] downloading https://oss.sonatype.org/content/repositories/snapshots/io/gatling/gatling-app/2.0.0-SNAPSHOT/gatling-app-2.0.0-SNAPSHOT.jar ... [info] [SUCCESSFUL ] io.gatling#gatling-app;2.0.0-SNAPSHOT!gatling-app.jar (1778ms) [info] downloading https://oss.sonatype.org/content/repositories/snapshots/io/gatling/gatling-core/2.0.0-SNAPSHOT/gatling-core-2.0.0-SNAPSHOT.jar ... [info] [SUCCESSFUL ] io.gatling#gatling-core;2.0.0-SNAPSHOT!gatling-core.jar (6075ms) [info] downloading https://oss.sonatype.org/content/repositories/snapshots/io/gatling/gatling-http/2.0.0-SNAPSHOT/gatling-http-2.0.0-SNAPSHOT.jar ... [info] [SUCCESSFUL ] io.gatling#gatling-http;2.0.0-SNAPSHOT!gatling-http.jar (4075ms) [info] downloading https://oss.sonatype.org/content/repositories/snapshots/io/gatling/gatling-jms/2.0.0-SNAPSHOT/gatling-jms-2.0.0-SNAPSHOT.jar ... [info] [SUCCESSFUL ] io.gatling#gatling-jms;2.0.0-SNAPSHOT!gatling-jms.jar (1384ms) [info] downloading https://oss.sonatype.org/content/repositories/snapshots/io/gatling/gatling-metrics/2.0.0-SNAPSHOT/gatling-metrics-2.0.0-SNAPSHOT.jar ... [info] [SUCCESSFUL ] io.gatling#gatling-metrics;2.0.0-SNAPSHOT!gatling-metrics.jar (1179ms) [info] downloading https://oss.sonatype.org/content/repositories/snapshots/io/gatling/gatling-charts/2.0.0-SNAPSHOT/gatling-charts-2.0.0-SNAPSHOT.jar ... [info] [SUCCESSFUL ] io.gatling#gatling-charts;2.0.0-SNAPSHOT!gatling-charts.jar (3735ms) [info] downloading https://oss.sonatype.org/content/repositories/snapshots/io/gatling/highcharts/gatling-charts-highcharts/2.0.0-SNAPSHOT/gatling-charts-highcharts-2.0.0-SNAPSHOT.jar ... [info] [SUCCESSFUL ] io.gatling.highcharts#gatling-charts-highcharts;2.0.0-SNAPSHOT!gatling-charts-highcharts.jar (2104ms) [info] Creating IDEA module for project 'messages' ...
then i did 'update' and only then the new version of hdrhistogram was downloaded
[info] Resolving io.gatling#gatling-jms;2.0.0-SNAPSHOT ... [info] Resolving javax.jms#jms-api;1.1-rev-1 ... [info] Resolving io.gatling#gatling-metrics;2.0.0-SNAPSHOT ... [info] Resolving org.hdrhistogram#HdrHistogram;1.2.1 ... [info] Resolving org.sonatype.oss#oss-parent;7 ... [info] Resolving io.gatling#gatling-charts;2.0.0-SNAPSHOT ... [info] Resolving com.tdunning#t-digest;3.0 ... [info] Resolving com.github.scopt#scopt_2.10;3.2.0 ... [info] Resolving io.gatling.highcharts#gatling-charts-highcharts;2.0.0-SNAPSHOT ... [info] Resolving com.typesafe.akka#akka-remote_2.10;2.2.4 ... [info] Resolving org.uncommons.maths#uncommons-maths;1.2.2a ... [info] Resolving com.typesafe.akka#akka-testkit_2.10;2.2.4 ... [info] Resolving com.typesafe.akka#akka-kernel_2.10;2.2.4 ... [info] Resolving com.typesafe.akka#akka-slf4j_2.10;2.2.4 ... [info] Resolving ch.qos.logback#logback-classic;1.1.1 ... [info] Resolving ch.qos.logback#logback-core;1.1.1 ... [info] Resolving org.slf4j#jcl-over-slf4j;1.7.6 ... [info] Resolving org.slf4j#log4j-over-slf4j;1.7.6 ... [info] Resolving com.foursquare.lint#linter_2.10;0.1.1 ... [info] Resolving org.scala-lang#jline;2.10.4 ... [info] Resolving org.fusesource.jansi#jansi;1.4 ... [info] downloading http://repo1.maven.org/maven2/org/hdrhistogram/HdrHistogram/1.2.1/HdrHistogram-1.2.1.jar ... [info] [SUCCESSFUL ] org.hdrhistogram#HdrHistogram;1.2.1!HdrHistogram.jar (208ms) [info] Done updating.
then i ran gen-idea again and it correctly picked up new version of library and downloaded sources no idea if it's an sbt or sbt-idea issue, but "update" seems to work fine i'm using sbt 0.13.5-RC5 and sbt-idea 1.6.0
i depend on gatling via
today i noticed that while generating idea files it didn't pickup new version of HdrHistogram library from new version of snapshot:
then i did 'update' and only then the new version of hdrhistogram was downloaded
then i ran gen-idea again and it correctly picked up new version of library and downloaded sources no idea if it's an sbt or sbt-idea issue, but "update" seems to work fine i'm using sbt 0.13.5-RC5 and sbt-idea 1.6.0