adept-dm/adept announce

209 views
Skip to first unread message

Fredrik Ekholdt

unread,
Aug 2, 2013, 12:38:53 PM8/2/13
to adep...@googlegroups.com

Hey everybody!

I have 2 pieces of great news!


First up: I have spent a bit of time on creating a **first** version of a potential alpha release including a SBT. With the current version you can use adept to build and test (at least) 2 examples projects: a version of Play and sbteclipse. 

The idea with the current version is that it enables you guys to try it and show it off. It is an *alpha* so expect issues. On the other hand it  also means **this is the time** to get in the features/design you want :)

I have also spent a bit of time on creating an arguably nice README and wiki section.


You can find it here: https://github.com/adept-dm

Wiki is here: https://github.com/adept-dm/adept/wiki

Example projects can be found here: https://github.com/adept-dm/adept/wiki/Example-Projects


Also: Typesafe has agreed to let me spend the rest of this summer on Adept. Typesafe has been very clear that they do not want to own this project though. Typesafe will also possibly start using Adept in some of its products, if Adept succeeds in gaining enough momentum over the summer. That means that if you feel like contributing now is the time! :) 


Enjoy your weekends!

Fredrik

Paul Phillips

unread,
Aug 2, 2013, 3:19:08 PM8/2/13
to adep...@googlegroups.com
From a clean checkout I experience the following, which I see is a java6/java7 thing. Is it intentional/explicit that it requires java7? Either way it'd be a good thing to mention somewhere obvious.

% sbt test
[info] Loading project definition from /s/adept/project
[info] Updating {file:/s/adept/project/}default-90ac93...
[info] Resolving org.scala-sbt#precompiled-2_10_1;0.12.4 ...
[info] [SUCCESSFUL ] com.eed3si9n#sbt-assembly;0.8.8!sbt-assembly.jar (1481ms)
[info] [SUCCESSFUL ] com.github.gseitz#sbt-release;0.5!sbt-release.jar (1682ms)
[info] Done updating.
[info] Compiling 4 Scala sources to /s/adept/project/target/scala-2.9.2/sbt-0.12/classes...
[error] java.lang.IllegalArgumentException: Illegal pattern character 'Y'
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? 

Fredrik Ekholdt

unread,
Aug 2, 2013, 3:28:12 PM8/2/13
to adep...@googlegroups.com, adep...@googlegroups.com
Nope, not intentional :/ 
​Will fix first chance I get 

Paul Phillips

unread,
Aug 2, 2013, 3:29:32 PM8/2/13
to adep...@googlegroups.com
I very much like what you're trying with the in-place download progress, but it moves around crazily for me. It's going to give people seizures. Does it do that for you or is it some unlucky quality of my terminal? (OSX, ITerm2)

Fredrik Ekholdt

unread,
Aug 2, 2013, 3:32:22 PM8/2/13
to adep...@googlegroups.com, adep...@googlegroups.com
Right, it is multiple projects displaying the progress at the same time. 
​Should be a quick fix  
​Hope you didn't webt into that seizure :)


On Fri, Aug 2, 2013 at 9:19 PM, Paul Phillips <pa...@improving.org> wrote:

Paul Phillips

unread,
Aug 2, 2013, 3:36:56 PM8/2/13
to adep...@googlegroups.com

On Fri, Aug 2, 2013 at 12:32 PM, Fredrik Ekholdt <fre...@gmail.com> wrote:
​Hope you didn't webt into that seizure :)

I was mostly kidding about seizures, but it turns out it gave me genuine motion sickness!

Paul Phillips

unread,
Aug 2, 2013, 3:56:36 PM8/2/13
to adep...@googlegroups.com
It seems to have lost the will to live some way into downloading dependencies. This is the example play project.

% sbt package
[info] Loading project definition from /s/playframework/framework/project
[warn] there were 2 deprecation warnings; re-run with -deprecation for details
[warn] one warning found
[info] Set current project to Root (in build file:/s/playframework/framework/)
remote: Counting objects: 652
remote: Compressing objects: 100% (171/171)
Receiving objects:      100% (652/652)
Resolving deltas:       100% (191/191)
Updating references:    100% (1/1)
[warn] adding all dependencies from dependent projects on Play-Java-Ebean (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Test (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on SBT-Plugin (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Filters-Helpers (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Integration-Test (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-JPA (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[success] Resolved dependency tree in (Anorm): 118 ms
[success] Resolved dependency tree in (Templates): 147 ms
[success] Resolved dependency tree in (Console): 552 ms
[success] Resolved dependency tree in (Play-Iteratees): 409 ms
[success] Resolved dependency tree in (SBT-link): 479 ms
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[success] Resolved dependency tree in (SBT-Plugin): 242 ms
[success] Resolved dependency tree in (Routes-Compiler): 262 ms
[success] Resolved dependency tree in (Root): 407 ms
[success] Resolved dependency tree in (Templates-Compiler): 142 ms
[success] Resolved dependency tree in (Templates-Compiler): 167 ms
[success] Resolved dependency tree in (Play-Test): 1472 ms
[success] Resolved dependency tree in (Play-Exceptions): 1247 ms
[success] Resolved dependency tree in (Play-JDBC): 1223 ms
[success] Resolved dependency tree in (Play-Java): 1450 ms
[success] Resolved dependency tree in (Play-Java-Ebean): 545 ms
0/1 - 0% - NaN kb/s - total: 0.00 mb00/5 - 0% - 0.00 kb/s - total: 0.00 mb0/24 - 0% - 0.00 kb/s - total: 0.00 mb[success] Resolved dependency tree in (Filters-Helpers): 385 ms
0/1 - 0% - NaN kb/s - total: 0.00 mb[warn] adding all dependencies from dependent projects on Play-Test (see TODO in code )
0/4 - 0% - 0.00 kb/s - total: 0.00 mb0/19 - 0% - 0.00 kb/s - total: 0.00 mb0/24 - 0% - 0.00 kb/s - total: 0.00 mb[warn] adding all dependencies from dependent projects on Play (see TODO in code )
2/5 - 40% - 17.99 kb/s - total: 2.48 mb21/28 - 51% - 53.70 kb/s - total: 5.87 mb17/32 - 30% - 80.73 kb/s - total: 14.80 mb2/5 - 40% - 18.01 kb1/4 - 21% - 12.01 kb/s - total: 3.55 mb2/5 - 49% - 19.21 kb/s - total: 2.48 mb0/25 - 2% - 2.32 kb/s - total: 8.17 mb22/28 - 55% - 50.71 kb/s -24/32 - 62% - 76.75 kb/s - total: 14.80 mb2/4 - 48% - 14.32 kb/s - total: 3.55 mb2/4 - 61% - 18.13 kb/s - total: 3.55 mb26/28 - 83% - 40.67 kb2/3 - 74% - 10.49 kb/s - total: 1.72 mb424/1/1 - 100% - 5.18 kb/s - total: 0.63 mb
26/26/28 - 99% - 37.63 kb/s - total: 5.87244/526/32 - 80% - 74.80 kb/s - total: 14.8428/28 - 100% - 37.00 kb/s - total: 5.87 mb
0/6 - 0% - 0.00 kb/s - total: 0.00 mb4444273/3 - 100% - 10.74 kb/s - total: 1.72 mb
44/229/32 - 83% - 68.43 kb/s - total: 14.844295/5 - 100% - 13.42 kb/s - total: 2.48 mb
24/39 - 42% - 87.32 kb/s - total: 17.63 mb47/52 - 79% - 80.13 kb/s - total: 24.72 mb18/34 - 29% - 73.92 kb/s - total: 15.34 mb2/4 - 71% - 10.334/39 - 77% - 66.56 kb/s - total: 17.63 mb30/32 - 92% - 37.22 kb/s - total: 14.80 mb29/34 - 76% - 65.16 kb/s - total: 15.34 mb59/72 - 55% - 12360/72 - 57% - 122.10 kb/s - total: 45.62 m60/4/4 - 100% - 14.22 kb/s - total: 3.55 mb
37/39 - 94% - 54.24 kb/s - total: 17.63 mb35/42 - 72% - 144.16 kb/s - total: 18.81 mb32/34 - 93% - 51.04 kb/s - total: 15.34 mb67/72 - 71% - 1636/42 - 79% - 142.35 kb/s - total: 18.81 m332/32 - 100% - 30.95 kb/s - total: 14.80 mb1/32 - 100% - 30.95 kb/s - total: 14.80 mb
36/42 - 81% - 141.83 kb/s - total: 18.81 m36/42 - 81% - 141.76 kb/s - total: 18.81 mb[success] Resolved dependency tree in (Play-Java-JDBC): 161 ms
36/42 - 81% - 141.75 kb/s - total: 18.81 mb[success] Resolved dependency tree in (Play): 89 ms
38/39 - 95% - 52.75 kb/s - total: 17.63 mb68/72 - 73% - 104.55 kb/s - total: 45.62 mb[success] Resolved dependency tree in (Play-Java-JPA): 155 ms
336/42 - 82% - 141.61 kb/s - total: 18.81 m36/42 - 82% - 141.74 kb/s - total: 18.81 mb[success] Resolved dependency tree in (Play-Integration-Test): 929 ms
50/52 - 95% - 48.60 kb/s - total: 24.72 mb36/42 - 85% - 138.81 kb/s - total: 18.81 mb1/11 - 9% - 71.16 kb/s - total: 4.61 mb68/72 - 74% - 103.638/38/39 - 96% - 50.40 kb/s - total: 17.6368/33/34 - 100% - 48.96 kb/s - total: 15.3434/34 - 100% - 48.92 kb/s - total: 15.34 mb
50/52338/39 - 97% - 49.64 kb/s - total: 17.633836/11 - 50% - 90.29 kb/s - total: 4.61 m350/1/1 - 100% - 14.48 kb/s - total: 0.10 mb
469/72 - 80% - 92.33 kb/s - total: 45.62 3631/46 - 30% - 179.58 kb/s - total: 32.62 52/52 - 100% - 44.19 kb/s - total: 24.72 mb
31/46 - 30% - 179.67 kb/s - total: 32.62 mb[info] Updating {file:/s/playframework/framework/}SBT-link...
369/72 - 81% - 91.73 kb/s - total: 45.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Anorm...
69/72 - 81% - 91.74 kb/s - total: 45.62 mb[info] Resolving org.scala-lang#scala-library;2.10.0 ...
32/46 - 30% - 179.59 kb/s - total: 32.62 mb[info] Done updating.
32/46 - 30% - 179.55 kb/s - total: 32.62 mb[info] Updating {file:/s/playframework/framework/}Console...
[info] Resolving org.scala-lang#scala-library;2.9.2 ...
32/46 - 30% - 179.70 kb/s - total: 32.62 mb[info] Done updating.
10/11 - 84% - 48.33 kb/s - total: 4.61 mb[info] Updating {file:/s/playframework/framework/}Templates...
32/46 - 30% - 179.70 kb/s - total: 32.62 mb[info] Resolving org.scala-lang#scala-library;2.10.0 ...
69/72 - 81% - 91.72 kb/s - total: 45.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Play-Exceptions...
32/46 - 30% - 179.63 kb/s - total: 32.62 m369/72 - 81% - 91.72 kb/s - total: 45.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Play-Iteratees...
69/72 - 81% - 91.72 kb/s - total: 45.62 mb[info] Resolving org.scala-lang#scala-library;2.10.0 ...
32/46 - 30% - 179.69 kb/s - total: 32.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Routes-Compiler...
32/46 - 30% - 179.71 kb/s - total: 32.62 mb[info] Resolving org.scala-lang#scala-library;2.9.2 ...
69/72 - 81% - 91.72 kb/s - total: 45.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Root...
32/46 - 30% - 179.71 kb/s - total: 32.62 mb[info] Resolving org.scala-lang#scala-library;2.10.0 ...
32/46 - 30% - 179.76 kb/s - total: 32.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Templates-Compiler...
[info] Resolving org.scala-lang#scala-library;2.9.2 ...
32/46 - 30% - 179.78 kb/s - total: 32.62 mb[info] Done updating.
32/46 - 30% - 179.85 kb/s - total: 32.62 mb[info] Updating {file:/s/playframework/framework/}Play...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
32/46 - 30% - 179.88 kb/s - total: 32.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}SBT-Plugin...
[info] Resolving org.scala-sbt#precompiled-2_10_0;0.12.2 ...
10/11 - 84% - 47.91 kb/s - total: 4.61 mb38/39 - 100% - 43.84 kb/s - total: 17.63 mb[info] Done updating.kb/s - total: 32.62 mb
38/39 - 100% - 43.84 kb/s - total: 17.63 mb[info] Compiling 3 Java sources to /s/playframework/framework/src/sbt-link/target/classes...
69/72 - 81% - 91.55 kb/s - total: 45.62 mb32/46 - 31% - 179.05 kb/s - total: 32.62 mb[info] Compiling 5 Scala sources to /s/playframework/framework/src/anorm/target/scala-2.10/classes...
69/72 - 81% - 91.55 kb/s - total: 453641/42 - 98% - 96.10 kb/s - total: 18.81 m39/39 - 100% - 43.69 kb/s - total: 17.63 mb
32/46 - 32% - 176.76 kb/s - total: 32.62 mb[info] Compiling 1 Scala source to /s/playframework/framework/src/templates/target/scala-2.10/classes...
33/46 - 34% - 177.14 kb/s - total: 32.33/46 - 35% - 177.25 kb/s - total: 32.62 33/46 - 35% - 177.39 kb/s - total: 32.62 mb[warn] there were 7 feature warnings; re-run with -feature for details
10/11 - 88% - 45.40 kb/s - total: 4.61 mb[warn] one warning found
369/72 - 82% - 90.76 kb/s - total: 45.62 mb[info] Compiling 2 Java sources to /s/playframework/framework/src/play-exceptions/target/classes...
33/46 - 35% - 177.34 kb/s - total: 32.62 mb[info] Compiling 6 Scala sources to /s/playframework/framework/src/iteratees/target/scala-2.10/classes...
33/46 - 35% - 177.32 kb/s - total: 32.62 m433/46 - 37% - 177.91 kb/s - total: 32.62 333/46 - 37% - 177.86 kb/s - total: 32.62 mb[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Enumerator.scala:113: reflective access of structural type member method apply should be enabled
[warn] by making the implicit value language.reflectiveCalls visible.
[warn] This can be achieved by adding the import clause 'import scala.language.reflectiveCalls'
[warn] or by setting the compiler option -language:reflectiveCalls.
[warn] See the Scala docs for value scala.language.reflectiveCalls for a discussion
[warn] why the feature should be explicitly enabled.
[warn]   def map[U](f: E => U): Enumerator[U] = parent &> Enumeratee.map[E](f)
[warn]                                                                  ^
33/46 - 37% - 178.03 kb/s - total: 32.62 mb[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Enumerator.scala:115: reflective access of structural type member method apply should be enabled
[warn] by making the implicit value language.reflectiveCalls visible.
[warn]   def mapInput[U](f: Input[E] => Input[U]) = parent &> Enumeratee.mapInput[E](f)
[warn]                                                                           ^
33/46 - 38% - 177.36 kb/s - total: 32.62 mb369/72 - 82% - 90.04 kb/s - total: 45.62 mb[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Concurrent.scala:503: trait Hub in object Concurrent is deprecated: use Concurrent.broadcast instead
[warn]   def broadcast[E](e: Enumerator[E], interestIsDownToZero: Broadcaster => Unit = _ => ()): (Enumerator[E], Broadcaster) = { lazy val h: Hub[E] = hub(e, () => interestIsDownToZero(h)); (h.getPatchCord(), h) }
[warn]                                                                                                                                         ^
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Concurrent.scala:503: method hub in object Concurrent is deprecated: use Concurrent.broadcast instead
[warn]   def broadcast[E](e: Enumerator[E], interestIsDownToZero: Broadcaster => Unit = _ => ()): (Enumerator[E], Broadcaster) = { lazy val h: Hub[E] = hub(e, () => interestIsDownToZero(h)); (h.getPatchCord(), h) }
[warn]                                                                                                                                                  ^
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Concurrent.scala:503: trait Hub in object Concurrent is deprecated: use Concurrent.broadcast instead
[warn]   def broadcast[E](e: Enumerator[E], interestIsDownToZero: Broadcaster => Unit = _ => ()): (Enumerator[E], Broadcaster) = { lazy val h: Hub[E] = hub(e, () => interestIsDownToZero(h)); (h.getPatchCord(), h) }
[warn]                                                                                                                                                                                         ^
34/46 - 38% - 177.17 kb/s - total: 32.62 m41/44/4 - 100% - 6.17 kb/s - total: 3.55 mb
41/42 - 100% - 91.73 kb/s - total: 18.81 mb[info] Updating {file:/s/playframework/framework/}Play-Java...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
69/72 - 82% - 90.01 kb/s - total: 45.62 mb34/46 - 38% - 177.01 kb/s - total: 32.62 mb[info] Done updating.
34/46 - 38% - 176.99 kb/s - total: 32.62 mb10/11 - 91% - 43.59 kb/s - total: 4.61 mb[info] Updating {file:/s/playframework/framework/}Play-Test...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
369/72 - 82% - 90.02 kb/s - total: 45.62 mb[info] Done updating.b/s - total: 45.62 mb41/42 - 100% - 91.72 kb/s - total: 18.81 mb
[info] Updating {file:/s/playframework/framework/}Filters-Helpers...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
41/42 - 100% - 91.68 kb/s - total: 18.81 mb[info] Done updating./s - total: 32.62 mb
41/42 - 100% - 91.68 kb/s - total: 18.81 mb41/42 - 100% - 91.68 kb/s - total: 18.81 mb[info] Compiling 2 Scala sources to /s/playframework/framework/src/routes-compiler/target/scala-2.9.2/classes...
34/46 - 38% - 176.95 kb/s - total: 32.62 mb42/42 - 100% - 91.68 kb/s - total: 18.81 mb
34/46 - 38% - 176.67 kb/s - total: 32.62 mb[info] Packaging /s/playframework/framework/src/sbt-link/target/sbt-link-2.0-unknown.jar ...
[info] Done packaging.
[info] Packaging /s/playframework/framework/src/templates/target/scala-2.10/templates_2.10-2.0-unknown.jar ...
34/46 - 39% - 176.64 kb/s - total: 32.62 mb[info] Done packaging.
34/46 - 39% - 176.65 kb/s - total: 32.62 mb[info] Packaging /s/playframework/framework/src/play-exceptions/target/play-exceptions-2.0-unknown.jar ...
34/46 - 39% - 176.66 kb/s - total: 32.62 mb[info] Done packaging.
[info] Packaging /s/playframework/framework/target/scala-2.10/root_2.10-2.0-unknown.jar ...
[info] Done packaging.
34/46 - 39% - 176.68 kb/s - total: 32.62 mb[info] Updating {file:/s/playframework/framework/}Play-JDBC...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
34/46 - 39% - 176.56 kb/s - total: 32.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Play-Integration-Test...
[info] Resolving play#play-test_2.10;2.0-unknown ...
34/46 - 39% - 176.62 kb/s - total: 32.62 mb[info] Done updating.
34/46 - 39% - 176.43 kb/s - total: 32.62 mb[info] Updating {file:/s/playframework/framework/}Play-Java-JDBC...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
3410/11 - 91% - 43.31 kb/s - total: 4.61 mb[info] Done updating.
34/46 - 39% - 176.43 kb/s - total: 32.62 mb[info] Updating {file:/s/playframework/framework/}Play-Java-JPA...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
34/46 - 39% - 176.33 kb/s - total: 32.62 mb[info] Done updating.
[info] Updating {file:/s/playframework/framework/}Play-Java-Ebean...
[info] Resolving play#play-iteratees_2.10;2.0-unknown ...
34/46 - 39% - 176.36 kb/s - total: 32.62 mb[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Enumerator.scala:593: method fromCallback in object Enumerator is deprecated: use Enumerator.generateM instead
[warn]     fromCallback(() => {
[warn]     ^
[info] Done updating.
10/11 - 92% - 43.26 kb/s - total: 4.61 mb34/46 - 39% - 176.57 kb/s - total: 32.62 m3410/11 - 92% - 43.22 kb/s - total: 4.61 mb[info] Packaging /s/playframework/framework/src/anorm/target/scala-2.10/anorm_2.10-2.0-unknown.jar ...
34/46 - 39% - 176.54 kb/s - total: 32.62 mb[info] Done packaging.
736/46 - 43% - 177.07 kb/s - total: 32.62 36/46 - 44% - 177.72 kb/s - total: 32.62 mb[warn] 6 warnings found
370/72 - 83% - 89.00 kb/s - total: 45.62 mb[info] Packaging /s/playframework/framework/src/iteratees/target/scala-2.10/play-iteratees_2.10-2.0-unknown.jar ...
36/46 - 44% - 177.90 kb/s - total: 32.62 mb[info] Done packaging.
36/46 - 44% - 178.03 kb/s - total: 32.62 m36/46 - 44% - 178.14 kb/s - total: 32.62 mb[info] Packaging /s/playframework/framework/src/routes-compiler/target/scala-2.9.2/routes-compiler_2.9.2-2.0-unknown.jar ...
36/46 - 44% - 178.16 kb/s - total: 32.62 mb[info] Done packaging.
36/46 - 46% - 178.98 kb/s - total: 32.62 mb311/11 - 100% - 41.88 kb/s - total: 4.61 mb
43/46 - 94% - 180.99 kb/s - total: 32.62 mb72/72 - 100% - 88.35 kb/s - total: 45.62 mb
45/46 - 100% - 183.66 kb/s - total: 32.62 mb



...and then never heard from again.

I'm not sure how to make sense of the thread dump.

Paul Phillips

unread,
Aug 2, 2013, 3:59:50 PM8/2/13
to adep...@googlegroups.com
I terminated the hung attempt and ran sbt package again. This time there are a whole bunch of different sorts of failure, which I'll just enclose in case they're useful.

% sbt package
[info] Loading project definition from /s/playframework/framework/project
[info] Set current project to Root (in build file:/s/playframework/framework/)
[warn] adding all dependencies from dependent projects on Play-Java-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-Ebean (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Test (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on SBT-Plugin (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Filters-Helpers (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-JPA (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java-JDBC (see TODO in code )
java.lang.RuntimeException: Could not create directory /var/folders/n7/vnqb6gt53857cpp8bb8_qv980000gn/T/sbt_29efa2f3
at scala.sys.package$.error(package.scala:27)
at scala.Predef$.error(Predef.scala:123)
at sbt.IO$.createDirectory(IO.scala:151)
at sbt.Defaults$$anonfun$globalCore$3$$anonfun$apply$1.apply$mcV$sp(Defaults.scala:63)
at sbt.Index$$anonfun$triggers$3.apply(Build.scala:178)
at sbt.Index$$anonfun$triggers$3.apply(Build.scala:178)
at sbt.Execute.runKeep(Execute.scala:70)
at sbt.EvaluateTask$.run$1(EvaluateTask.scala:162)
at sbt.EvaluateTask$.runTask(EvaluateTask.scala:177)
at sbt.EvaluateTask$$anonfun$apply$1$$anonfun$apply$3.apply(EvaluateTask.scala:101)
at sbt.EvaluateTask$$anonfun$apply$1$$anonfun$apply$3.apply(EvaluateTask.scala:100)
at scala.Option.map(Option.scala:133)
at sbt.EvaluateTask$$anonfun$apply$1.apply(EvaluateTask.scala:100)
at sbt.EvaluateTask$$anonfun$apply$1.apply(EvaluateTask.scala:99)
at sbt.EvaluateTask$.withStreams(EvaluateTask.scala:137)
at sbt.EvaluateTask$.apply(EvaluateTask.scala:99)
at adept.sbt.tasks.AdeptModule$class.adept$sbt$tasks$AdeptModule$$evaluateTask(AdeptModule.scala:18)
at adept.sbt.tasks.AdeptModule$$anonfun$1$$anonfun$apply$1$$anonfun$5.apply(AdeptModule.scala:47)
at adept.sbt.tasks.AdeptModule$$anonfun$1$$anonfun$apply$1$$anonfun$5.apply(AdeptModule.scala:46)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:239)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:76)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:239)
at scala.collection.immutable.List.flatMap(List.scala:76)
at adept.sbt.tasks.AdeptModule$$anonfun$1$$anonfun$apply$1.apply(AdeptModule.scala:46)
at adept.sbt.tasks.AdeptModule$$anonfun$1$$anonfun$apply$1.apply(AdeptModule.scala:26)
at adept.sbt.Utils$.withAdeptClassloader(Utils.scala:14)
at adept.sbt.tasks.AdeptModule$$anonfun$1.apply(AdeptModule.scala:26)
at adept.sbt.tasks.AdeptModule$$anonfun$1.apply(AdeptModule.scala:25)
at sbt.Scoped$$anonfun$hf13$1.apply(Structure.scala:589)
at sbt.Scoped$$anonfun$hf13$1.apply(Structure.scala:589)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
at sbt.std.Transform$$anon$5.work(System.scala:71)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:238)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
[error] (Play/*:adept-module) Could not create directory /var/folders/n7/vnqb6gt53857cpp8bb8_qv980000gn/T/sbt_29efa2f3
[error] (Play-Java/*:adept-module) Error evaluating task 'adept-module': error
[error] (Play-JDBC/*:adept-module) Error evaluating task 'adept-module': error
[error] (Play-Java-JDBC/*:adept-module) Error evaluating task 'adept-module': error
[warn] adding all dependencies from dependent projects on Play-Integration-Test (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[success] Resolved dependency tree in (Play-Exceptions): 126 ms
[success] Resolved dependency tree in (SBT-link): 94 ms
[success] Resolved dependency tree in (Anorm): 131 ms
[success] Resolved dependency tree in (Templates-Compiler): 64 ms
[success] Resolved dependency tree in (Routes-Compiler): 79 ms
[success] Resolved dependency tree in (Templates-Compiler): 124 ms
[success] Resolved dependency tree in (Root): 442 ms
[success] Resolved dependency tree in (Console): 613 ms
[success] Resolved dependency tree in (SBT-Plugin): 331 ms
[success] Resolved dependency tree in (Play-Iteratees): 731 ms
[success] Resolved dependency tree in (Play): 135 ms
[success] Resolved dependency tree in (Play-Test): 1281 ms
[success] Resolved dependency tree in (Play-Java): 1211 ms
[success] Resolved dependency tree in (Templates): 1338 ms
[warn] adding all dependencies from dependent projects on Play-JDBC (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Java (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[info] Compiling 1 Scala source to /s/playframework/framework/src/templates-compiler/target/scala-2.9.2/classes...
[success] Resolved dependency tree in (Play-Java-JDBC): 389 ms
[info] Compiling 3 Scala sources to /s/playframework/framework/src/iteratees/target/scala-2.10/classes...
[success] Resolved dependency tree in (Play-JDBC): 648 ms
[success] Resolved dependency tree in (Filters-Helpers): 970 ms
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[warn] adding all dependencies from dependent projects on Play-Test (see TODO in code )
[warn] adding all dependencies from dependent projects on Play (see TODO in code )
[success] Resolved dependency tree in (Play-Java-JPA): 250 ms
[success] Resolved dependency tree in (Play-Integration-Test): 1430 ms
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:575: object tools is not a member of package scala
[error]       import scala.tools.nsc.interactive.{ Response, Global }
[error]                    ^
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:576: object tools is not a member of package scala
[error]       import scala.tools.nsc.io.AbstractFile
[error]                    ^
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:577: object tools is not a member of package scala
[error]       import scala.tools.nsc.util.{ SourceFile, Position, BatchSourceFile }
[error]                    ^
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:578: object tools is not a member of package scala
[error]       import scala.tools.nsc.Settings
[error]                    ^
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:579: object tools is not a member of package scala
[error]       import scala.tools.nsc.reporters.ConsoleReporter
[error]                    ^
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:669: object tools is not a member of package scala
[error]         val global: scala.tools.nsc.interactive.Global
[error]                           ^
[warn] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:595: type <error> in type pattern DefDef is unchecked since it is eliminated by erasure
[warn]             case t: DefDef if t.name.toString == "signature" => Some(t)
[warn]                     ^
[warn] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:596: type <error> in type pattern Tree is unchecked since it is eliminated by erasure
[warn]             case t: Tree => t.children.flatMap(findSignature).headOption
[warn]                     ^
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:601: value vparamss is not a member of DefDef
[error]           PresentationCompiler.treeFrom("object FT { def signature" + signature + " }")).get.vparamss
[error]                                                                                              ^
[error] /s/playframework/framework/src/templates-compiler/src/main/scala/play/templates/ScalaTemplateCompiler.scala:682: not found: value tools
[error]           import tools.nsc.interactive.Response
[error]                  ^
[warn] two warnings found
[error] 8 errors found
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Enumerator.scala:113: reflective access of structural type member method apply should be enabled
[warn] by making the implicit value language.reflectiveCalls visible.
[warn] This can be achieved by adding the import clause 'import scala.language.reflectiveCalls'
[warn] or by setting the compiler option -language:reflectiveCalls.
[warn] See the Scala docs for value scala.language.reflectiveCalls for a discussion
[warn] why the feature should be explicitly enabled.
[warn]   def map[U](f: E => U): Enumerator[U] = parent &> Enumeratee.map[E](f)
[warn]                                                                  ^
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Enumerator.scala:115: reflective access of structural type member method apply should be enabled
[warn] by making the implicit value language.reflectiveCalls visible.
[warn]   def mapInput[U](f: Input[E] => Input[U]) = parent &> Enumeratee.mapInput[E](f)
[warn]                                                                           ^
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Concurrent.scala:503: trait Hub in object Concurrent is deprecated: use Concurrent.broadcast instead
[warn]   def broadcast[E](e: Enumerator[E], interestIsDownToZero: Broadcaster => Unit = _ => ()): (Enumerator[E], Broadcaster) = { lazy val h: Hub[E] = hub(e, () => interestIsDownToZero(h)); (h.getPatchCord(), h) }
[warn]                                                                                                                                         ^
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Concurrent.scala:503: method hub in object Concurrent is deprecated: use Concurrent.broadcast instead
[warn]   def broadcast[E](e: Enumerator[E], interestIsDownToZero: Broadcaster => Unit = _ => ()): (Enumerator[E], Broadcaster) = { lazy val h: Hub[E] = hub(e, () => interestIsDownToZero(h)); (h.getPatchCord(), h) }
[warn]                                                                                                                                                  ^
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Concurrent.scala:503: trait Hub in object Concurrent is deprecated: use Concurrent.broadcast instead
[warn]   def broadcast[E](e: Enumerator[E], interestIsDownToZero: Broadcaster => Unit = _ => ()): (Enumerator[E], Broadcaster) = { lazy val h: Hub[E] = hub(e, () => interestIsDownToZero(h)); (h.getPatchCord(), h) }
[warn]                                                                                                                                                                                         ^
[warn] /s/playframework/framework/src/iteratees/src/main/scala/play/api/libs/iteratee/Enumerator.scala:593: method fromCallback in object Enumerator is deprecated: use Enumerator.generateM instead
[warn]     fromCallback(() => {
[warn]     ^
[warn] 6 warnings found
[info] Packaging /s/playframework/framework/src/iteratees/target/scala-2.10/play-iteratees_2.10-2.0-unknown.jar ...
[info] Done packaging.
java.lang.NullPointerException
at scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:113)
at scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:108)
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:250)
at scala.collection.mutable.ArrayOps.filter(ArrayOps.scala:38)
at PlayBuild$LocalSBT$.sbtJars(Build.scala:397)
at PlayBuild$$anonfun$SbtPluginProject$1$$anonfun$apply$127.apply(Build.scala:286)
at PlayBuild$$anonfun$SbtPluginProject$1$$anonfun$apply$127.apply(Build.scala:286)
at sbt.Scoped$RichInitialize$$anonfun$map$1$$anonfun$apply$4.apply(Structure.scala:168)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
at sbt.std.Transform$$anon$5.work(System.scala:71)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:238)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
java.lang.NullPointerException
at scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:113)
at scala.collection.mutable.ArrayOps$ofRef.newBuilder(ArrayOps.scala:108)
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:250)
at scala.collection.mutable.ArrayOps.filter(ArrayOps.scala:38)
at PlayBuild$LocalSBT$.sbtJars(Build.scala:397)
at PlayBuild$$anonfun$ConsoleProject$1$$anonfun$apply$133.apply(Build.scala:304)
at PlayBuild$$anonfun$ConsoleProject$1$$anonfun$apply$133.apply(Build.scala:304)
at sbt.Scoped$RichInitialize$$anonfun$map$1$$anonfun$apply$4.apply(Structure.scala:168)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:47)
at sbt.std.Transform$$anon$5.work(System.scala:71)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:238)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
[error] (Play-Java-Ebean/*:adept-module) Error evaluating task 'adept-module': error
[error] (SBT-Plugin/compile:unmanaged-jars) java.lang.NullPointerException
[error] (Console/compile:unmanaged-jars) java.lang.NullPointerException
[error] (Templates-Compiler/compile:compile) Compilation failed
[error] Total time: 20 s, completed Aug 2, 2013 12:57:35 PM

Fredrik Ekholdt

unread,
Aug 2, 2013, 4:00:53 PM8/2/13
to adep...@googlegroups.com, adep...@googlegroups.com
Hmmm... I think I know the issue: there  is probably an unexpected exception killing the actor making it wait for timeout

Fredrik Ekholdt

unread,
Aug 2, 2013, 4:04:13 PM8/2/13
to adep...@googlegroups.com, adep...@googlegroups.com
Thanks Paul! :) looks like there is lots of bugs to track down! Can't fix tonight, but will see tomorrow if I can fix the java issue + progress and add some logging to the downloader so we can see what it is failing on

Fredrik Ekholdt

unread,
Aug 2, 2013, 4:15:46 PM8/2/13
to adep...@googlegroups.com
Hmm.. looking more closely at this stacktrace, it looks like it is linked to evaluating tasks in SBT.
Perhaps I am using it wrong. I have seen that issue once, but never saw it again... It is getting a bit late here, but to me it seems like evaluate task tries to create a tmp dir for some reason??

This is the snippet:
EvaluateTask(getStructure(state), key, state, ref, EvaluateTask defaultConfig state) match {
case Some((_, Value(a))) => Right(a)
case Some((_, Inc(inc))) => Left("Error evaluating task '%s': %s".format(key.key, Incomplete.show(inc.tpe)))
case None => Left("Undefined task '%s' for '%s'!".format(key.key, ref.project))
}

I have made a new build now: 0.8.0-ALPHA-20130802220759
It should log the error it gets during download instead of hanging...

Paul Phillips

unread,
Aug 2, 2013, 4:20:55 PM8/2/13
to adep...@googlegroups.com

On Fri, Aug 2, 2013 at 1:15 PM, Fredrik Ekholdt <fre...@gmail.com> wrote:
Perhaps I am using it wrong. I have seen that issue once, but never saw it again... It is getting a bit late here, but to me it seems like evaluate task tries to create a tmp dir for some reason??

Indeed, when I ran sbt package a third time, the "failed to create dir" error did not recur. (The others did.)

Paul Phillips

unread,
Aug 2, 2013, 4:47:51 PM8/2/13
to adep...@googlegroups.com
Looking closer, I think play is a regrettable choice of example for a large project. It is really far from an out-of-the-box sbt project. It appears some or all of my failures are a result of just not using its bundled build script. All of this distracts from the presumed purpose of the example.

Paul Phillips

unread,
Aug 2, 2013, 4:52:44 PM8/2/13
to adep...@googlegroups.com
I don't know how to make play work with its own build script, because it apparently wants to use a brand new ivy repository of its own, which means it doesn't see the snapshot of adept which is in my regular ivy repository. I'm supposed to somehow publish it directly into the play repository? Again, it would be a lot better if the time I meant to invest in looking at adept was not spent on debugging play's usage of ivy.

Fredrik Ekholdt

unread,
Aug 2, 2013, 4:57:01 PM8/2/13
to adep...@googlegroups.com, adep...@googlegroups.com
Ah, yes - i complelty forgot that the build script should be used. I agree that play is perhaps not a good example. I guess I wanted to prove that it works even for a complicated project like play. The sbt explode project or the sample project under adept-sbt is perhaps better examples...
Yes, the build script uses its  own ivy repo for the very reasons we want to replace ivy. Hang on I will send you the setup I use so you do not need to publish snapshots in case you still want to figure it out

Fredrik Ekholdt

unread,
Aug 2, 2013, 4:58:41 PM8/2/13
to adep...@googlegroups.com, adep...@googlegroups.com
Argh I meant the sbteclipse project not the the sbt explode project 

James Ward

unread,
Aug 2, 2013, 4:59:41 PM8/2/13
to adep...@googlegroups.com
sbt explode sounds cool. Where can I get it? ;)

Fredrik Ekholdt

unread,
Aug 2, 2013, 5:07:41 PM8/2/13
to adep...@googlegroups.com

Hehe -  yeah it is awesome. It just makes using sbt SOO much more fun :) 


damn autocorrect :) 

Fredrik Ekholdt

unread,
Aug 2, 2013, 5:09:06 PM8/2/13
to adep...@googlegroups.com

During development I usually put this in the project/project/Build.scala (notice the double project)

Remember to replace the TODO with the path to the adept project

https://gist.github.com/freekh/6143432


This basically loads the adept project sources and uses it as a plugin. Just do any changes and then do reload and you are good. Makes the dev experience quite nice


I guess it might be obvious but for the Play project, the path would be framework/project/project/Build.scala... 


F

Paul Phillips

unread,
Aug 2, 2013, 5:47:57 PM8/2/13
to adep...@googlegroups.com
Okay! With that Build.scala in place, the only output which look like errors if I run "./build test" are a few of these, and specs2-scalaz-core is a frequent participant in borked sbt builds so it can probably be forgiven. Well that and running out of permgen.

14:38:30.153 [adept-download-akka.actor.default-dispatcher-3] ERROR adept.download.DownloadActor - could not download from: 'http://repo.typesafe.com/typesafe/releases/org/specs2/specs2-scalaz-core_2.9.2/6.0.1/specs2-scalaz-core_2.9.2-6.0.1.jar'. java.io.FileNotFoundException: http://repo.typesafe.com/typesafe/releases/org/specs2/specs2-scalaz-core_2.9.2/6.0.1/specs2-scalaz-core_2.9.2-6.0.1.jar
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
  at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672)
  at java.security.AccessController.doPrivileged(Native Method)

Fredrik Ekholdt

unread,
Aug 2, 2013, 6:00:46 PM8/2/13
to adep...@googlegroups.com, adep...@googlegroups.com
Cool! Thanks for trying it out! I hope to i can sneak a bit of bug fixing in tomorrow for those issues you saw. I am a bit puzzled by the sbt evaluate task issue. Maybe it is simply failing on tmp file creation because there are multiple threads creating tmp files... 

Fredrik Ekholdt

unread,
Aug 3, 2013, 3:37:09 AM8/3/13
to adep...@googlegroups.com
BTW: did you use the ivy importer before you got the error? I think the problem is your ivy cache (yes, that guy again, don't worry though, the point is to take him out :).
It think that file was deleted and now people's caches are all messed up. Originally I wanted to make the ivy importer use another dir than the default .ivy2 dir, because of these issues, but I couldn't get it working. 

Fredrik Ekholdt

unread,
Aug 3, 2013, 4:25:04 AM8/3/13
to adep...@googlegroups.com
Fixed the progressindicator as well: https://github.com/adept-dm/adept/pull/15

Still not perfect but at least we avoid the headaches... :)

It is in the 0.8.0-ALPHA-20130803101756 release

Paul Phillips

unread,
Aug 4, 2013, 12:00:52 AM8/4/13
to adep...@googlegroups.com

On Fri, Aug 2, 2013 at 1:57 PM, Fredrik Ekholdt <fre...@gmail.com> wrote:
I guess I wanted to prove that it works even for a complicated project like play.

How about akka.

Fredrik Ekholdt

unread,
Aug 4, 2013, 12:11:19 AM8/4/13
to adep...@googlegroups.com

Yeah, I am doing that one next week. the akka build looked almost too clean to be a challenge though :P

David Illsley

unread,
Aug 6, 2013, 1:20:26 PM8/6/13
to adep...@googlegroups.com
Hi,
I'm enthusiastic that someone is trying to drag artifact resolution and distribution out of the current lull. What does publishing an artifact look like in this world? What kind of publishing configuration is required? (A git repo, credentials for that, and somewhere to host files and credentials?)

David

Fredrik Ekholdt

unread,
Aug 7, 2013, 5:01:38 AM8/7/13
to adep...@googlegroups.com
Hi David!
It is really cool to hear that people get enthusiastic over this - I know I am :)
Publishing artifacts _and_ metadata is something I am currently not sure what is optimal yet, so it is something I would like to bring up as a discussion.
Currently it works the way you outlined: you publish to a git repo (so you have credentials for that) and somewhere else for the files (if they are not published already).

I just started a discussion about this: https://groups.google.com/forum/#!topic/adept-dev/L_Ir_svYxHc

Cheers,
Fredrik

Josh Suereth

unread,
Aug 7, 2013, 8:31:21 AM8/7/13
to adept-dev
Yep, it's been something I've been thinking about in the back of my mind.  Posted my thoughts to the other thread, but I hope to hear more from users!

Fredrik Ekholdt

unread,
Aug 12, 2013, 11:59:54 AM8/12/13
to adep...@googlegroups.com
Found some issues in the way overriding resolution works which I wanted to fix before making an akka build, but it is here now:

Looking forward to spend a bit of time on optimizing speed now that resolution seems to be working correctly.

Fredrik Ekholdt

unread,
Aug 22, 2013, 8:43:27 AM8/22/13
to adep...@googlegroups.com
It has been a bit quit on the mailing list from my side lately. Not because nothing is happening but because I am working on too many things at the same time :/

I have been looking at Typesafe's activator to see what it would take to make it use Adept, but decided to wait a bit with it.

I have been spending quite a lot of time on Gradle and trying to figure out how to get adept working with it. I have barely used Gradle though, so I think it might take me a bit too much time. Perhaps it would be better if somebody else wanted to have a look at it.

In addition, I have had some great feedback from different companies I have been speaking with about adept. They also gave me some use cases to focus on:
- security updates: should be a very easy and transparent way to discover and bump to the latest security update of a module.
- using verified versions of modules: imagine the QA department who wants to use already verified snapshots versions of certain modules. Adept should support this.
- use the same version of modules with the same org as outlined in the eachDependency function here: http://www.gradle.org/docs/current/dsl/org.gradle.api.artifacts.ResolutionStrategy.html

Since I have been wanting to revamp the resolution engine, I am planning on trying to find a generic enough way to make the resolution engine support these use cases. In addition I want to make it faster, have a cleaner architecture (though looking at the code now - it is quite good already) and better support for circular dependencies and so on. 
I am planning to build the new one using Akka Actors. 
While I am doing this I am planning on document this in the form of blog articles. I think it could be interesting reading for people wanting to learn more about Akka as well as adept. If not, at least there are some documentation about the nitty gritty details of the resolution engine. 


My focus right now will be the resolution engine blog post though.
Reply all
Reply to author
Forward
0 new messages