Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

0.7.8

* ast fixed
* cleanup
  • Loading branch information...
commit 8d715d4e5f53534c5de836fc86e2675c6d338d3b 1 parent 9783f87
@jkuehn authored
View
2  grails-app/conf/BuildConfig.groovy
@@ -33,7 +33,7 @@ grails.project.dependency.resolution = {
// not using ivy currently because of https://issues.apache.org/jira/browse/IVY-933 resolution of the 0.98 version fails
// runtime 'com.google.code.morphia:morphia:0.98'
// runtime 'com.google.code.morphia:logging-slf4j:0.98'
- compile 'org.mongodb:mongo-java-driver:2.7.+'
+// compile 'org.mongodb:mongo-java-driver:2.7.+'
}
}
View
BIN  lib/mongo-java-driver-2.7.2.jar
Binary file not shown
View
18 plugin.xml
@@ -4,19 +4,25 @@
<title>Alternative MongoDB GORM based on the Morphia library</title>
<description>GORM implementation for the MongoDB NoSQL database based on the Morphia library</description>
<documentation>http://wiki.github.com/jkuehn/gorm-mongodb/</documentation>
+ <type>MongodbMorphiaGrailsPlugin</type>
<resources>
- <resource>BuildConfig</resource>
- <resource>Config</resource>
- <resource>DataSource</resource>
- <resource>UrlMappings</resource>
<resource>org.acme.Project</resource>
<resource>org.acme.Task</resource>
<resource>org.acme.inheritance.Person</resource>
<resource>org.acme.inheritance.User</resource>
<resource>org.acme.Contact</resource>
</resources>
- <dependencies>
+ <repositories>
+ <repository name='grailsCentral' url='http://plugins.grails.org' />
+ <repository name='http://repo.grails.org/grails/plugins' url='http://repo.grails.org/grails/plugins/' />
+ <repository name='http://repo.grails.org/grails/core' url='http://repo.grails.org/grails/core/' />
+ <repository name='grailsCore' url='http://svn.codehaus.org/grails/trunk/grails-plugins' />
+ <repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
+ </repositories>
+ <dependencies />
+ <plugins />
+ <runtimePluginRequirements>
<plugin name='core' version='1.3.4 &gt; *' />
- </dependencies>
+ </runtimePluginRequirements>
<behavior />
</plugin>
View
0  release_2_publish.bat → publish.bat
File renamed without changes
View
1  release_1_buildast.bat
@@ -1 +0,0 @@
-@grails build-ast
View
13 scripts/_Install.groovy
@@ -10,6 +10,8 @@
//
includeTargets << grailsScript("_GrailsClean")
+includeTargets << grailsScript("_GrailsCompile")
+
// Because we make use of ASTTransformations, make sure that everything is clean
// after installing the plugin.
@@ -18,11 +20,10 @@ cleanAll()
// make the mongodb domains folder
ant.mkdir(dir:"${basedir}/grails-app/mongo")
-
-
-// compile ast transformations
-def pluginDir = grailsSettings.projectPluginsDir.listFiles().find({ it.isDirectory() && it.name.startsWith('mongodb-morphia') })
-
+/**
+ * build ast jar
+ */
+def pluginDir = mongodbMorphiaPluginDir
if (pluginDir) {
def mongoAstSrcDir = new File("${mongodbMorphiaPluginDir}/src/groovy/grails/plugins/mongodb/ast")
@@ -33,7 +34,7 @@ if (pluginDir) {
ant.mkdir(dir:mongoAstBuildDir)
// compile ast classes
- ant.groovyc(destdir: mongoAstBuildDir, encoding: "UTF-8") {
+ ant.groovyc(destdir: mongoAstBuildDir, encoding: "UTF-8", classpathref:"grails.compile.classpath") {
src(path: mongoAstSrcDir)
}
Please sign in to comment.
Something went wrong with that request. Please try again.