Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update to Grails 2.0.4, latest release plugin, and spring-security-ac…

…l 3.0.7 from Maven Central instead of ebr
  • Loading branch information...
commit 4b7deef0e7329320c81b79cd44f185b0699555e6 1 parent f688143
Burt Beckwith authored
View
55 .classpath
@@ -3,37 +3,68 @@
<classpathentry kind="src" path="src/java"/>
<classpathentry kind="src" path="src/groovy"/>
<classpathentry kind="src" path="src/docs"/>
+ <classpathentry kind="src" path="scripts"/>
<classpathentry kind="src" path="grails-app/conf"/>
<classpathentry kind="src" path="grails-app/domain"/>
<classpathentry kind="src" path="grails-app/services"/>
- <classpathentry kind="src" path="test/integration"/>
<classpathentry kind="src" path="grails-app/taglib"/>
+ <classpathentry kind="src" path="test/integration"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="com.springsource.sts.grails.core.CLASSPATH_CONTAINER"/>
- <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path="spring-security-core-1.0-grails-app-conf">
+ <classpathentry kind="src" path=".link_to_grails_plugins/release-2.0.4/src/groovy">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" path=".link_to_grails_plugins/release-2.0.4/src/java">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" path=".link_to_grails_plugins/rest-client-builder-1.0.2/src/groovy">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path=".link_to_grails_plugins/spring-security-core-1.2.7.3/grails-app/conf">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" path=".link_to_grails_plugins/spring-security-core-1.2.7.3/grails-app/i18n">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" path=".link_to_grails_plugins/spring-security-core-1.2.7.3/grails-app/services">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" path=".link_to_grails_plugins/spring-security-core-1.2.7.3/grails-app/taglib">
<attributes>
- <attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path="spring-security-core-1.0-grails-app-services">
+ <classpathentry kind="src" path=".link_to_grails_plugins/spring-security-core-1.2.7.3/src/groovy">
<attributes>
- <attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path="spring-security-core-1.0-grails-app-taglib">
+ <classpathentry kind="src" path=".link_to_grails_plugins/spring-security-core-1.2.7.3/src/java">
<attributes>
- <attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path="spring-security-core-1.0-src-java">
+ <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path=".link_to_grails_plugins/webxml-1.4.1/grails-app/conf">
<attributes>
- <attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path="spring-security-core-1.0-src-groovy">
+ <classpathentry kind="src" path=".link_to_grails_plugins/webxml-1.4.1/src/groovy">
<attributes>
- <attribute name="com.springsource.sts.grails.core.SOURCE_FOLDER" value="true"/>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
+ <classpathentry kind="con" path="org.grails.ide.eclipse.core.CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/eclipseclasses"/>
</classpath>
View
26 .project
@@ -17,36 +17,16 @@
</buildCommand>
</buildSpec>
<natures>
- <nature>com.springsource.sts.grails.core.nature</nature>
+ <nature>org.grails.ide.eclipse.core.nature</nature>
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
<linkedResources>
<link>
- <name>spring-security-core-1.0-grails-app-conf</name>
+ <name>.link_to_grails_plugins</name>
<type>2</type>
- <locationURI>DOTGRAILS/1.3.3/projects/grails-spring-security-acl/plugins/spring-security-core-1.0/grails-app/conf</locationURI>
- </link>
- <link>
- <name>spring-security-core-1.0-grails-app-services</name>
- <type>2</type>
- <locationURI>DOTGRAILS/1.3.3/projects/grails-spring-security-acl/plugins/spring-security-core-1.0/grails-app/services</locationURI>
- </link>
- <link>
- <name>spring-security-core-1.0-grails-app-taglib</name>
- <type>2</type>
- <locationURI>DOTGRAILS/1.3.3/projects/grails-spring-security-acl/plugins/spring-security-core-1.0/grails-app/taglib</locationURI>
- </link>
- <link>
- <name>spring-security-core-1.0-src-groovy</name>
- <type>2</type>
- <locationURI>DOTGRAILS/1.3.3/projects/grails-spring-security-acl/plugins/spring-security-core-1.0/src/groovy</locationURI>
- </link>
- <link>
- <name>spring-security-core-1.0-src-java</name>
- <type>2</type>
- <locationURI>DOTGRAILS/1.3.3/projects/grails-spring-security-acl/plugins/spring-security-core-1.0/src/java</locationURI>
+ <locationURI>GRAILS_ROOT/security/acl/grails-spring-security-acl/target/plugins</locationURI>
</link>
</linkedResources>
</projectDescription>
View
7 application.properties
@@ -1,6 +1 @@
-#Grails Metadata file
-#Sat Jul 17 18:47:30 EDT 2010
-app.grails.version=1.3.3
-app.name=spring-security-acl
-plugins.hibernate=1.3.3
-plugins.spring-security-core=1.0
+app.grails.version=2.0.4
View
38 grails-app/conf/BuildConfig.groovy
@@ -1,27 +1,35 @@
-grails.project.class.dir = 'target/classes'
-grails.project.test.class.dir = 'target/test-classes'
-grails.project.test.reports.dir = 'target/test-reports'
-grails.project.docs.output.dir = 'docs' // for the gh-pages branch
+grails.project.work.dir = 'target'
+grails.project.docs.output.dir = 'docs/manual' // for the gh-pages branch
+grails.project.source.level = 1.6
grails.project.dependency.resolution = {
- inherits('global') {
- excludes 'commons-codec' // Grails ships with 1.3, need 1.4
- }
-
+ inherits 'global'
log 'warn'
- repositories {
- grailsPlugins()
- grailsHome()
+ repositories {
grailsCentral()
-
- ebr() // SpringSource http://www.springsource.com/repository
+ mavenLocal()
+ mavenCentral()
}
dependencies {
- runtime('org.springframework.security:org.springframework.security.acls:3.0.4.RELEASE') {
- transitive = false
+ compile('org.springframework.security:spring-security-acl:3.0.7.RELEASE') {
+ excludes 'spring-security-core', 'spring-context-support', 'spring-jdbc',
+ 'spring-test', 'ehcache', 'hsqldb', 'postgresql', 'junit',
+ 'mockito-core', 'jmock-junit4'
+ }
+ }
+
+ plugins {
+ compile ':spring-security-core:1.2.7.3'
+
+ compile(":hibernate:$grailsVersion") {
+ export = false
+ }
+
+ build(':release:2.0.4', ':rest-client-builder:1.0.2') {
+ export = false
}
}
}
View
1  grails-app/conf/Config.groovy
@@ -1,5 +1,6 @@
grails.doc.authors = 'Burt Beckwith'
grails.doc.license = 'Apache License 2.0'
+grails.doc.title = 'Spring Security ACL'
// for testing
grails.plugins.springsecurity.useRunAs = true
View
4 grails-app/conf/DataSource.groovy
@@ -1,10 +1,10 @@
dataSource {
pooled = true
- driverClassName = 'org.hsqldb.jdbcDriver'
+ driverClassName = 'org.h2.Driver'
username = 'sa'
password = ''
dbCreate = 'update'
- url = 'jdbc:hsqldb:mem:testDb'
+ url = 'jdbc:h2:mem:testDb'
}
hibernate {
Please sign in to comment.
Something went wrong with that request. Please try again.