Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Burt Beckwith committed Jul 4, 2012
1 parent 7b444f8 commit b3eeb97
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 29 deletions.
6 changes: 4 additions & 2 deletions .gitignore
@@ -1,5 +1,7 @@
/grails-spring-security-cas-*.zip
/*.log
*.zip
*.log
/target
/plugin.xml
/testapps.config.groovy
web-app
.settings/
31 changes: 6 additions & 25 deletions build.xml
Expand Up @@ -16,11 +16,6 @@
</condition>
<property name='grails' value='grails' />

<condition property='grails-debug' value='grails-debug.bat'>
<os family='windows'/>
</condition>
<property name='grails-debug' value='grails-debug' />

<!-- Macrodefs -->

<macrodef name='grails'>
Expand All @@ -36,19 +31,6 @@
</sequential>
</macrodef>

<macrodef name='grails-debug'>
<attribute name='action' />
<attribute name='environment' default='dev' />
<element name='args' optional='true' />
<sequential>
<exec executable='${grails-debug}' failonerror='true'>
<args />
<arg value='@{environment}'/>
<arg value='@{action}'/>
</exec>
</sequential>
</macrodef>

<!-- Targets -->

<target name='init'>
Expand All @@ -60,19 +42,18 @@
<delete><fileset dir='.' includes='*.log*' /></delete>
</target>

<target name='doc' description='Generates docs' depends='init'>
<grails action='doc' />
</target>

<target name='test' description='Run unit tests' depends='clean'>
<grails action='test-app' environment='test' />
</target>

<target name='package' description='Package the plugin' depends='test'>
<target name='package' description='Package the plugin'
depends='test, doPackage, post-package-cleanup'/>

<target name='doPackage'>
<grails action='package-plugin' />
</target>

<!-- clean up -->
<target name='post-package-cleanup'>
<delete dir='grails-app/conf/hibernate'/>
<delete dir='grails-app/conf/spring'/>
<delete dir='grails-app/controllers'/>
Expand All @@ -82,8 +63,8 @@
<delete dir='grails-app/taglib'/>
<delete dir='grails-app/utils'/>
<delete dir='grails-app/views'/>
<delete dir='src/groovy'/>
<delete dir='lib'/>
<delete dir='src/groovy'/>
<delete dir='test'/>
<delete dir='web-app'/>
</target>
Expand Down
2 changes: 1 addition & 1 deletion grails-app/conf/Config.groovy
Expand Up @@ -7,4 +7,4 @@ grails.plugins.springsecurity.cas.serverUrlPrefix = 'http://localhost:9090/cas-s

grails.doc.authors = 'Burt Beckwith'
grails.doc.license = 'Apache License 2.0'

grails.doc.title = 'Spring Security ACL Plugin'
Empty file removed scripts/_Uninstall.groovy
Empty file.
Empty file removed scripts/_Upgrade.groovy
Empty file.
2 changes: 1 addition & 1 deletion src/docs/guide/3. Configuration.gdoc
Expand Up @@ -18,7 +18,7 @@ cas.serviceUrl | @null@, must be set | the local application login URL, e.g. @ht
cas.key | 'grails-spring-security-cas', should be changed | used by @CasAuthenticationProvider@ to identify tokens it previously authenticated
cas.artifactParameter | @'ticket'@ | the ticket login url parameter
cas.serviceParameter | @'service'@ | the service login url parameter
cas.filterProcessesUrl | '/j_spring_cas_security_check' | the URL that the filter intercepts for login
cas.filterProcessesUrl | '/j_spring_cas_security_check' | the URL that the filter intercepts for login
cas.proxyCallbackUrl | @null@, should be set | proxy callback url, e.g. 'http://localhost:8080/myapp/secure/receptor'
cas.proxyReceptorUrl | @null@, should be set | proxy receptor url, e.g. '/secure/receptor'
cas.useSingleSignout | @true@ | if @true@ a @org.jasig.cas.client.session.SingleSignOutFilter@ is registered in web.xml
Expand Down

0 comments on commit b3eeb97

Please sign in to comment.