Permalink
Browse files

small updates, and prepare for first public release: 0.5

  • Loading branch information...
1 parent 4f75ddc commit 0fe9105cf78628ad940568255e8f3f47247dbbe8 @smartiniOnGitHub committed Sep 13, 2012
@@ -1,6 +1,6 @@
class GrailsAkkaGrailsPlugin {
// the plugin version
- def version = "1.0"
+ def version = "0.5"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "2.0 > *"
// the other plugins this plugin depends on
@@ -10,7 +10,6 @@ class GrailsAkkaGrailsPlugin {
"grails-app/views/error.gsp"
]
- // TODO Fill in these fields
def title = "Grails Akka Plugin" // Headline display name of the plugin
def author = "Sandro Martini"
def authorEmail = "sandro.martini@gmail.com"
View
@@ -4,51 +4,44 @@ grails-akka - TODO
TODO
----
-- package the plugin and verify if all is good
- + maybe add by hand README.md, NOTICE, LICENSE, and RELEASE-NOTES and README if present ...
-
-
-- try with some local actor
- + then verify from the test webapp ...
- + grails-akka-test webapp integration tests:
- run a microkernel application under integration tests, and use its actors from integration tests ...
-
-- add some long-running actor, for example giving it the delay ...
- + ok, but up to now it doesn't seem to block execution for the given delay ... verify better, to make it work
-
-- add sample of (better) testing of actors and logic used inside them using akka TestKit, as seen here:
- http://doc.akka.io/docs/akka/2.1-M2/java/testing.html
- http://doc.akka.io/docs/akka/2.0.3/scala/testing.html
-
-
-- try to use some remote actor ...
- + grails-akka-test webapp integration tests:
- call some remote actors (before start its server, maybe with a microkernel application under integration tests, as this) ...
+- try to exclude the transitivity of scala (at least put a commented line in the BuildConfig of the plugin) ...
-- make it load a config file from the classpath,
- maybe with a dedicated key under Config.grails (in the webapp or in the plugin ? or in both ?), or using grails.config.locations ...
- + use sample conf files for Java and put under integration tests root folder, then try to use them
+- try with some local actor:
+ + then verify them from the test webapp ...
+- in the test webapp, do a grails war and inspect the generated war file ...
-- add scala source folders ... ok
- + verify how to create them even when installing the plugin in a test webapp ...
- + then enable scala compilation and verify if some scala content there is compiled ...
+- fix docs and write the 2 Changelog (or similar) ... with 0.5, and 1.0, then remove this line
-- verify if exclude the transitivity of scala (at least put a commented line in the BuildConfig of the plugin) ...
- + and maybe even a note in the test webapp for it ...
+- package the plugin and verify if all is good
+ + maybe add by hand README.md, NOTICE, LICENSE, and RELEASE-NOTES and README if present ...
-- in the test webapp, do a grails war and inspect the generated war file ...
+- for release 1.0:
+ + verify the info put in readme.md
+ * and then, create another test webapp (but not inline here) where to install it, following only readme info, to ensure they are right ...
+ + add some long-running actor, for example giving it the delay ...
+ * ok, but up to now it doesn't seem to block execution for the given delay ... verify better, to make it work
+ + make an akkaService, and test it
+ * do it in the test webapp, because probably in the plugin it would be hard to have it so much generalized ...
+ + fix TODO in code ...
-- make an akkaService, and test it
- + do it in the test webapp, because probably in the plugin it would be hard to have it so much generalized ...
-- create a sample Java/Groovy project where to put common classes for messages, and use it from the test webapp ...
- + maybe build it with gradle ...
+- for release 1.0 or later:
+ + use some remote actor ...
+ * grails-akka-test webapp integration tests:
+ call some remote actors (before start its server, maybe with a microkernel application under integration tests, as this) ...
+ + make it load a config file from the classpath,
+ maybe with a dedicated key under Config.grails (in the webapp or in the plugin ? or in both ?), or using grails.config.locations ...
+ * use sample conf files for Java and put under integration tests root folder, then try to use them
-- verify the info put in readme.md
- + and then, create another test webapp (but not inline here) where to install it, following only readme info, to ensure they are right ...
+- for later:
+ + enabling scala ...
+ * re-enable the creation of scala source folders when installing the plugin in a test webapp ...
+ * enable scala compilation and verify if some scala content there is compiled ...
+ + create a sample Java/Groovy project where to put common classes for messages, and use it from the test webapp ...
+ * maybe build it with gradle ...
- etc ...
@@ -76,8 +69,14 @@ cls && grails test-app integration: -echoOut
- make messages classes more Groovy-like ... ok
+ add some Groovy-specific extensions (annotations, etc), to show how to simplify code ... ok
+- add sample of (better) testing of actors and logic used inside them using akka TestKit, as seen here:
+ http://doc.akka.io/docs/akka/2.1-M2/java/testing.html
+ http://doc.akka.io/docs/akka/2.0.3/scala/testing.html
+
- move test classes in subpackages by type (actor, command, message) ... ok
- copy classes used by tests (actor, command, message) even under the test webapp, to test (later) real calls to them from there ... ok
+- comment the creation of scala source folders and other scala-related stuff ...
+
---------------
@@ -1,4 +1,4 @@
-// grails.servlet.version = "3.0" // TODO: verify if makes sense to enable this even here ...
+// grails.servlet.version = "3.0" // verify if makes sense to enable this even here ...
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
@@ -11,15 +11,13 @@ def akkaVersion = '2.0.3'
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
- // uncomment to disable ehcache
- // excludes 'ehcache'
+ // excludes 'ehcache' // uncomment to disable ehcache
}
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
repositories {
grailsCentral()
- // uncomment the below to enable remote dependency resolution from public Maven repositories
//mavenCentral()
//mavenLocal()
mavenRepo "http://repo.typesafe.com/typesafe/releases/"
View
@@ -5,4 +5,4 @@
// use 'ant' to access a global instance of AntBuilder
//
Ant.property(environment: "env")
-Ant.mkdir(dir: "${basedir}/src/scala")
+// Ant.mkdir(dir: "${basedir}/src/scala")
@@ -66,7 +66,7 @@ environments {
}
production {
grails.logging.jul.usebridge = false
- // TODO: grails.serverURL = "http://www.changeme.com"
+ // grails.serverURL = "http://www.changeme.com"
}
}
@@ -0,0 +1,4 @@
+.DS_Store
+.hg
+.settings
+.svn
@@ -0,0 +1,4 @@
+.DS_Store
+.hg
+.settings
+.svn
@@ -0,0 +1,4 @@
+.DS_Store
+.hg
+.settings
+.svn

0 comments on commit 0fe9105

Please sign in to comment.