Skip to content

Commit

Permalink
Updated to use Grails 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemil committed Mar 19, 2012
1 parent 6ab0fb7 commit 699405c
Show file tree
Hide file tree
Showing 54 changed files with 18 additions and 16,585 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.class
7 changes: 5 additions & 2 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#Grails Metadata file
#Sat Jan 21 21:42:49 CST 2012
#Mon Mar 05 22:55:11 CST 2012
app.grails.version=2.0.0
app.name=ajax
app.servlet.version=2.4
app.version=0.1
app.version=0.2
plugins.hibernate=2.0.0
plugins.jquery=1.7.1
plugins.prototype=1.0
plugins.resources=1.1.5
plugins.tomcat=2.0.0
2 changes: 1 addition & 1 deletion grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ grails.project.dependency.resolution = {
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

//runtime "hsqldb:hsqldb:1.8.0.10"
// runtime 'mysql:mysql-connector-java:5.1.5'
}
}
4 changes: 4 additions & 0 deletions grails-app/conf/Config.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ grails.mime.types = [ html: ['text/html','application/xhtml+xml'],
grails.views.default.codec = "none" // none, html, base64
grails.views.gsp.encoding = "UTF-8"
grails.converters.encoding = "UTF-8"

//grails.views.javascript.library="jquery"
grails.views.javascript.library="prototype"

// enable Sitemesh preprocessing of GSP pages
grails.views.gsp.sitemesh.preprocess = true
// scaffolding templates configuration
Expand Down
5 changes: 3 additions & 2 deletions grails-app/conf/DataSource.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dataSource {
pooled = true
driverClassName = "org.hsqldb.jdbcDriver"
//driverClassName = "org.hsqldb.jdbcDriver"
driverClassName = "org.h2.Driver"
username = "sa"
password = ""
}
Expand All @@ -14,7 +15,7 @@ environments {
development {
dataSource {
dbCreate = "create-drop" // one of 'create', 'create-drop','update'
url = "jdbc:hsqldb:mem:devDB"
url = "jdbc:h2:mem:devDb;MVCC=TRUE"
}
}
test {
Expand Down
2 changes: 0 additions & 2 deletions grails-app/views/book/edit.gsp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


<%@ page import="ajax.Book" %>
<html>
<head>
Expand Down
6 changes: 4 additions & 2 deletions grails-app/views/layouts/main.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
<link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
<g:layoutHead />
<g:javascript library="prototype" />
<g:javascript>
<g:javascript library="prototype" plugin="prototype" />
<g:javascript>
function showSpinner(visible) {
$('spinner').style.display = visible ? "inline" : "none";
}
Expand All @@ -18,6 +18,7 @@
}
});
</g:javascript>
<r:layoutResources/>
</head>
<body>
<div id="spinner" class="spinner" style="display:none;">
Expand All @@ -31,5 +32,6 @@
<div id="footer">
<g:render template="/common/footer" />
</div>
<r:layoutResources/>
</body>
</html>
Binary file removed target-eclipse/classes/BootStrap$_closure1.class
Binary file not shown.
Binary file removed target-eclipse/classes/BootStrap$_closure2.class
Binary file not shown.
Binary file removed target-eclipse/classes/BootStrap.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target-eclipse/classes/BuildConfig.class
Binary file not shown.
Binary file removed target-eclipse/classes/Config$_run_closure1.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target-eclipse/classes/Config$_run_closure2.class
Binary file not shown.
Binary file removed target-eclipse/classes/Config.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target-eclipse/classes/DataSource.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target-eclipse/classes/UrlMappings.class
Binary file not shown.
Binary file not shown.
Binary file removed target-eclipse/classes/ajax/Author.class
Binary file not shown.
Binary file removed target-eclipse/classes/ajax/AuthorController.class
Binary file not shown.
Binary file not shown.
Binary file removed target-eclipse/classes/ajax/Book.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed target-eclipse/classes/ajax/BookController.class
Binary file not shown.
Binary file removed target-eclipse/classes/resources$_run_closure1.class
Binary file not shown.
Binary file removed target-eclipse/classes/resources.class
Binary file not shown.
16,576 changes: 0 additions & 16,576 deletions target/stacktrace.log

This file was deleted.

0 comments on commit 699405c

Please sign in to comment.