This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DS_Store | |
bower_components/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* InputTextMask script used for mask/regexp operations. | |
* Mask Individual Character Usage: | |
* 9 - designates only numeric values | |
* L - designates only uppercase letter values | |
* l - designates only lowercase letter values | |
* A - designates only alphanumeric values | |
* X - denotes that a custom client script regular expression is specified</li> | |
* All other characters are assumed to be "special" characters used to mask the input component. | |
* Example 1: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* InputTextMask script used for mask/regexp operations. | |
* Mask Individual Character Usage: | |
* 9 - designates only numeric values | |
* L - designates only uppercase letter values | |
* l - designates only lowercase letter values | |
* A - designates only alphanumeric values | |
* X - denotes that a custom client script regular expression is specified</li> | |
* All other characters are assumed to be "special" characters used to mask the input component. | |
* Example 1: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pickDirDialog = new JFileChooser( | |
dialogTitle: "Choose directory for the new application", | |
fileSelectionMode: JFileChooser.DIRECTORIES_ONLY, | |
approveButtonText: "Set directory for new application", | |
acceptAllFileFilterUsed: false | |
) | |
result = pickDirDialog.showSaveDialog() | |
if( result == JFileChooser.APPROVE_OPTION ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: groovy | |
jdk: | |
- oraclejdk7 | |
branches: | |
only: | |
- master | |
before_script: | |
- chmod +x grailsw | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./grailsw refresh-dependencies && ./grailsw "test-app integration:" | |
/home/travis/build.sh: line 147: ./grailsw: Permission denied | |
The command "./grailsw refresh-dependencies" exited with 126. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: groovy | |
jdk: | |
- oraclejdk7 | |
branches: | |
only: | |
- master | |
script: ./grailsw refresh-dependencies | |
&& ./grailsw "test-app -integration" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Person( firstname: "John", lastname: "Doe", age: 12 ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.codehaus.groovy.grails.plugins.springsecurity.SpringSecurityUtils | |
import org.codehaus.groovy.grails.plugins.springsecurity.SecurityFilterPosition | |
class BootStrap { | |
def init = { servletContext -> | |
// Add the bean 'j2eePreAuthenticatedProcessingFilter' into the filter chain | |
SpringSecurityUtils.clientRegisterFilter('j2eePreAuthenticatedProcessingFilter', SecurityFilterPosition.PRE_AUTH_FILTER) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.catalina.loader.WebappLoader | |
eventConfigureTomcat = { tomcat -> | |
def newContextRoot = "/extjs_src" | |
File newContextPath = new File( "C:/Developer/Tools/javascript/ext-4.2.0.663/src" ) | |
if( newContextPath.exists() ) { | |
context = tomcat.addWebapp( newContextRoot, newContextPath.getAbsolutePath() ) | |
context.reloadable = true | |
WebappLoader loader = new WebappLoader( tomcat.class.classLoader ) |
NewerOlder