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
apply plugin: 'groovy' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.10' | |
testCompile group: 'junit', name: 'junit', version: '4.8.2' | |
} |
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
class TestController { | |
def list = { | |
def page = params.page | |
def theList = request.theList | |
def user = session.loggedUser | |
} } |
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
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-all</artifactId> | |
<version>1.1</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> |
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
Transformer processor = null; | |
DocumentBuilder db = null; | |
try { | |
processor = TransformerFactory.newInstance().newTransformer(); | |
db = DocumentBuilderFactory.newInstance().newDocumentBuilder(); | |
} catch (Exception e) {} | |
URL url1 = processor.getClass().getResource("TransformerImpl.class"); | |
URL url2 = db.getClass().getResource("DocumentBuilderImpl.class"); |
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
System.setProperty("javax.xml.soap.MessageFactory", | |
"com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"); | |
System.setProperty("javax.xml.soap.SOAPConnectionFactory", | |
"weblogic.wsee.saaj.SOAPConnectionFactoryImpl"); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="net.opentrends" | |
android:versionCode="1" | |
android:versionName="1.0"> | |
<uses-sdk android:minSdkVersion="8" /> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | |
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> |
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
Repository | |
├── data | |
│ ├── git | |
│ └── projects | |
├── Dropbox | |
│ ├── config | |
│ ├── docs | |
│ ├── personal | |
│ ├── projects | |
│ └── scripts |
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
gen | |
bin | |
.classpath | |
.project | |
.settings |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project> | |
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpath="svnant.jar" /> | |
<property file="build.properties"/> | |
<target name="clean"> | |
<delete dir="${source}"/> | |
<delete dir="${target}"/> | |
<mkdir dir="${source}"/> |