Re: [akka-user] sbt dist with version 2.3.2

2014-08-18 Thread Patrik Nordwall
I agree, but I would like to add that as described in the migration guide
the old 2.2.x akka dist plugin can be used to package akka 2.3.x
applications.

/Patrik


On Sun, Aug 17, 2014 at 9:20 PM, Konrad Malawski kt...@typesafe.com wrote:

 Sure, agreed – feel free to add this requirement to the issue and we'll
 get to it eventually (or someone of the community might give a helping hand
 here).


 On Sun, Aug 17, 2014 at 6:33 PM, Shawn j...@shawntalbert.com wrote:

 Konrad, I don't see how simply linking to sbt-native-packager helps with
 the original question.

 As I mentioned, sbt-native-packager has nothing akka specific about it,
 whereas akka-sbt-plugin was akka-aware and *did* akka-specific things.

 What the documentation needs is an example built.sbt or instructions on
 how to achieve at least the same capability as akka-sbt-plugin but using
 sbt-native-packager.


 On Sunday, August 17, 2014 6:08:12 AM UTC-7, Konrad Malawski wrote:

 Hi guys,
 Have you seen the http://www.scala-sbt.org/
 sbt-native-packager/index.html sbt plugin?
 The sbt guys are pouring loads of effort into making apps easily
 packagable using that plugin.
 So instead of having a custom akka plugin we’d rather recommend that one.

 I created an issue for linking to the native packager in the docs
 https://github.com/akka/akka/issues/15677

 Cheers!

 --
 Konrad 'ktoso' Malawski
 hAkker @ typesafe
 http://akka.io

  --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.




 --
 Cheers,
 Konrad 'ktoso' Malawski
 hAkker @ Typesafe

 http://typesafe.com

 --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.




-- 

Patrik Nordwall
Typesafe http://typesafe.com/ -  Reactive apps on the JVM
Twitter: @patriknw

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] sbt dist with version 2.3.2

2014-08-18 Thread Roland Kuhn
Hi Shawn,

the migration guide talks about this briefly, in short the akka-sbt-plugin from 
2.2.x works just fine for other versions including 2.3.x, but you are right 
that we’ll have to expand on deployment documentation. We have planned to work 
on this later this year, if someone beats us to it (15677  13538) then we’ll 
gladly review any proposals.

Regards,

Roland

17 aug 2014 kl. 07:40 skrev Shawn j...@shawntalbert.com:

 I'd like to hear more on this as well. Searching the documentation for 2.3.5 
 doesn't even discuss deployment in any detail. 
 
 I recognize that sbt-native-packager is cool, but for an later version of 
 Akka to have less documentation on how to deploy than the previous version 
 is rather sad, especially given Scala's reputation.
 
 
 
 On Tuesday, May 20, 2014 2:06:37 PM UTC-7, John Kelvie wrote:
 I see that in earlier versions of Akka, distributions could be made via a 
 dist task provided by the akka-sbt-plugin:
 http://doc.akka.io/docs/akka/2.2.1/scala/microkernel.html 
 
 This, however, is no longer an option with version 2.3.2.
 
 There is still a package task, but that only creates a jar file with our 
 code - we are left to gather up the jars we need and include them in a 
 distribution from what I can tell.
 
 This seems very arduous - why is there no task that will automatically 
 assemble the application code along with dependent jars into, say, a zip file 
 for easy distribution? What is the recommendation currently on 2.3.2 for 
 deploying a microkernel project to a server? 
 
 -John
 
 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] sbt dist with version 2.3.2

2014-08-18 Thread Roland Kuhn
Hi Shawn,

one consideration is that Akka (as a toolkit) does not really need all that 
much special handling. The simplest way is to use akka.Main as the main class 
and tell native packager to call that with the class name of your application 
supervisor actor and you’re all set (see here for an example using Linux/Mac, I 
don’t have Windows to test on). Documenting that of course still needs to be 
done, but the quick fix is to search these archives.

Regards,

Roland

17 aug 2014 kl. 18:33 skrev Shawn j...@shawntalbert.com:

 Konrad, I don't see how simply linking to sbt-native-packager helps with the 
 original question.
 
 As I mentioned, sbt-native-packager has nothing akka specific about it, 
 whereas akka-sbt-plugin was akka-aware and did akka-specific things.
 
 What the documentation needs is an example built.sbt or instructions on how 
 to achieve at least the same capability as akka-sbt-plugin but using 
 sbt-native-packager.
 
 On Sunday, August 17, 2014 6:08:12 AM UTC-7, Konrad Malawski wrote:
 Hi guys,
 Have you seen the http://www.scala-sbt.org/sbt-native-packager/index.html sbt 
 plugin?
 The sbt guys are pouring loads of effort into making apps easily packagable 
 using that plugin.
 So instead of having a custom akka plugin we’d rather recommend that one.
 
 I created an issue for linking to the native packager in the docs 
 https://github.com/akka/akka/issues/15677
 
 Cheers!
 
 -- 
 Konrad 'ktoso' Malawski
 hAkker @ typesafe
 http://akka.io
 
 -- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
  http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 --- 
 You received this message because you are subscribed to the Google Groups 
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] sbt dist with version 2.3.2

2014-08-17 Thread Konrad 'ktoso' Malawski
Hi guys,
Have you seen the http://www.scala-sbt.org/sbt-native-packager/index.html sbt 
plugin?
The sbt guys are pouring loads of effort into making apps easily packagable 
using that plugin.
So instead of having a custom akka plugin we’d rather recommend that one.

I created an issue for linking to the native packager in the docs 
https://github.com/akka/akka/issues/15677

Cheers!

-- 
Konrad 'ktoso' Malawski
hAkker @ typesafe
http://akka.io

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] sbt dist with version 2.3.2

2014-08-17 Thread Shawn
Konrad, I don't see how simply linking to sbt-native-packager helps with 
the original question.

As I mentioned, sbt-native-packager has nothing akka specific about it, 
whereas akka-sbt-plugin was akka-aware and *did* akka-specific things.

What the documentation needs is an example built.sbt or instructions on how 
to achieve at least the same capability as akka-sbt-plugin but using 
sbt-native-packager.

On Sunday, August 17, 2014 6:08:12 AM UTC-7, Konrad Malawski wrote:

 Hi guys,
 Have you seen the http://www.scala-sbt.org/sbt-native-packager/index.html sbt 
 plugin?
 The sbt guys are pouring loads of effort into making apps easily 
 packagable using that plugin.
 So instead of having a custom akka plugin we’d rather recommend that one.

 I created an issue for linking to the native packager in the docs 
 https://github.com/akka/akka/issues/15677

 Cheers!

 -- 
 Konrad 'ktoso' Malawski
 hAkker @ typesafe
 http://akka.io


-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] sbt dist with version 2.3.2

2014-08-17 Thread Konrad Malawski
Sure, agreed – feel free to add this requirement to the issue and we'll get
to it eventually (or someone of the community might give a helping hand
here).


On Sun, Aug 17, 2014 at 6:33 PM, Shawn j...@shawntalbert.com wrote:

 Konrad, I don't see how simply linking to sbt-native-packager helps with
 the original question.

 As I mentioned, sbt-native-packager has nothing akka specific about it,
 whereas akka-sbt-plugin was akka-aware and *did* akka-specific things.

 What the documentation needs is an example built.sbt or instructions on
 how to achieve at least the same capability as akka-sbt-plugin but using
 sbt-native-packager.


 On Sunday, August 17, 2014 6:08:12 AM UTC-7, Konrad Malawski wrote:

 Hi guys,
 Have you seen the http://www.scala-sbt.org/sbt-native-packager/index.html sbt
 plugin?
 The sbt guys are pouring loads of effort into making apps easily
 packagable using that plugin.
 So instead of having a custom akka plugin we’d rather recommend that one.

 I created an issue for linking to the native packager in the docs
 https://github.com/akka/akka/issues/15677

 Cheers!

 --
 Konrad 'ktoso' Malawski
 hAkker @ typesafe
 http://akka.io

  --
  Read the docs: http://akka.io/docs/
  Check the FAQ:
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
 ---
 You received this message because you are subscribed to the Google Groups
 Akka User List group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to akka-user+unsubscr...@googlegroups.com.
 To post to this group, send email to akka-user@googlegroups.com.
 Visit this group at http://groups.google.com/group/akka-user.
 For more options, visit https://groups.google.com/d/optout.




-- 
Cheers,
Konrad 'ktoso' Malawski
hAkker @ Typesafe

http://typesafe.com

-- 
  Read the docs: http://akka.io/docs/
  Check the FAQ: 
 http://doc.akka.io/docs/akka/current/additional/faq.html
  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups Akka 
User List group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.