Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9c0af3a
Showing
58 changed files
with
13,207 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src/java"/> | ||
<classpathentry kind="src" path="src/groovy"/> | ||
<classpathentry kind="src" path="grails-app/conf"/> | ||
<classpathentry kind="src" path="grails-app/controllers"/> | ||
<classpathentry kind="src" path="grails-app/domain"/> | ||
<classpathentry kind="src" path="grails-app/services"/> | ||
<classpathentry kind="src" path="grails-app/taglib"/> | ||
<classpathentry kind="src" path="test/integration"/> | ||
<classpathentry kind="src" path="test/unit"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="var" path="GRAILS_HOME/ant/lib/ant.jar"/> | ||
<classpathentry kind="var" path="GRAILS_HOME/lib/ant-1.7.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ant-junit-1.7.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ant-launcher-1.7.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ant-nodeps-1.7.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ant-trax.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/antlr-2.7.6.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/backport-util-concurrent-3.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/cglib-nodep-2.1_3.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-beanutils-1.7.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-cli-1.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-codec-1.3.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-collections-3.2.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-dbcp-1.2.1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-el-1.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-fileupload-1.2.1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-io-1.4.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-lang-2.4.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-pool-1.2.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/commons-validator-1.3.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ehcache-1.5.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ejb3-persistence-3.3.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/gant_groovy1.6-1.6.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/groovy-all-1.6.3.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/hsqldb-1.8.0.5.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ivy-2.0.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler-5.5.15.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-compiler-jdt-5.5.15.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jasper-runtime-5.5.15.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jcl-over-slf4j-1.5.6.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-6.1.14.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-naming-6.1.14.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-plus-6.1.14.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jetty-util-6.1.14.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jline-0.9.91.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jsp-api-2.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jsp-api-2.1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jsr107cache-1.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.3.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jstl-2.4.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/jta-1.1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/junit-3.8.2.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/log4j-1.2.15.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/ognl-2.6.9.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/org.springframework.binding-2.0.3.RELEASE.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/org.springframework.js-2.0.3.RELEASE.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/org.springframework.webflow-2.0.3.RELEASE.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/oro-2.0.8.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/oscache-2.4.1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/radeox.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/serializer.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/servlet-api-2.5-6.1.14.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/sitemesh-2.4.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/slf4j-api-1.5.6.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/slf4j-log4j12-1.5.6.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/spring-2.5.6.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/spring-test-2.5.6.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/spring-webmvc-2.5.6.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.3.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/standard-2.4.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/start.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/svnkit-1.2.0.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/lib/xpp3_min-1.1.3.4.O.jar" /> | ||
|
||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-bootstrap-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-core-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-crud-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-docs-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-gorm-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-resources-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-scripts-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-spring-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-test-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-web-1.2-M1.jar" /> | ||
|
||
<classpathentry kind="var" path="GRAILS_HOME/dist/grails-webflow-1.2-M1.jar" /> | ||
|
||
|
||
<classpathentry kind="output" path="web-app/WEB-INF/classes"/> | ||
</classpath> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>grails-file-uploader-sample</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.codehaus.groovy.eclipse.groovyBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.codehaus.groovy.eclipse.groovyNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Created by grails | ||
eclipse.preferences.version=1 | ||
groovy.dont.generate.class.files=true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Sample app to show grails-file-uploader plugin usage. | ||
|
||
Download: http://github.com/lucastex/grails-file-uploader | ||
Documentation: http://grails.org/plugin/file-uploader |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#utf-8 | ||
#Fri Jul 24 12:33:07 BRT 2009 | ||
app.grails.version=1.2-M1 | ||
app.name=grails-file-uploader-sample | ||
app.servlet.version=2.4 | ||
app.version=0.1 | ||
plugins.hibernate=1.2-M1 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
<project xmlns:ivy="antlib:org.apache.ivy.ant" name="grails-file-uploader-sample" default="test"> | ||
<property environment="env"/> | ||
<property name="ivy.install.version" value="2.0.0" /> | ||
<condition property="ivy.home" value="${env.IVY_HOME}"> | ||
<isset property="env.IVY_HOME" /> | ||
</condition> | ||
<property name="ivy.home" value="${user.home}/.ant" /> | ||
<property name="ivy.jar.dir" value="${ivy.home}/lib" /> | ||
<property name="ivy.jar.file" value="${ivy.jar.dir}/ivy-${ivy.install.version}.jar" /> | ||
|
||
<target name="download-ivy" unless="offline"> | ||
<available file="${ivy.jar.file}" property="ivy.available"/> | ||
<antcall target="-download-ivy" /> | ||
</target> | ||
|
||
<target name="-download-ivy" unless="ivy.available"> | ||
<mkdir dir="${ivy.jar.dir}"/> | ||
<!-- download Ivy from web site so that it can be used even without any special installation --> | ||
<get src="http://www.apache.org/dist/ant/ivy/${ivy.install.version}/apache-ivy-${ivy.install.version}-bin.zip" | ||
dest="${ivy.home}/ivy.zip" usetimestamp="true" verbose="true"/> | ||
<unzip src="${ivy.home}/ivy.zip" dest="${ivy.jar.dir}"> | ||
<patternset> | ||
<include name="**/*.jar"/> | ||
</patternset> | ||
<mapper type="flatten"/> | ||
</unzip> | ||
</target> | ||
|
||
<target name="init-ivy" depends="download-ivy" unless="ivy.lib.path"> | ||
<!-- try to load ivy here from ivy home, in case the user has not already dropped | ||
it into ant's lib dir (note that the latter copy will always take precedence). | ||
We will not fail as long as local lib dir exists (it may be empty) and | ||
ivy is in at least one of ant's lib dir or the local lib dir. --> | ||
<path id="ivy.lib.path"> | ||
<fileset dir="${ivy.jar.dir}" includes="*.jar"/> | ||
</path> | ||
<taskdef resource="org/apache/ivy/ant/antlib.xml" | ||
uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> | ||
</target> | ||
|
||
|
||
<property name="lib.dir" value="${basedir}/lib"/> | ||
|
||
<macrodef name="grails"> | ||
<attribute name="script"/> | ||
<attribute name="args" default="" /> | ||
<sequential> | ||
<grailsTask script="@{script}" args="@{args}" classpathref="grails.classpath"> | ||
<compileClasspath refid="compile.classpath"/> | ||
<testClasspath refid="test.classpath"/> | ||
<runtimeClasspath refid="app.classpath"/> | ||
</grailsTask> | ||
</sequential> | ||
</macrodef> | ||
|
||
<!-- ================================= | ||
target: resolve | ||
================================= --> | ||
<target name="-resolve" description="--> Retrieve dependencies with ivy" depends="init-ivy"> | ||
<ivy:retrieve pattern="${lib.dir}/[conf]/[artifact]-[revision].[ext]"/> | ||
</target> | ||
|
||
<target name="-init-grails" depends="-resolve"> | ||
<path id="grails.classpath"> | ||
<fileset dir="${lib.dir}/build"/> | ||
<fileset dir="${lib.dir}"/> | ||
</path> | ||
|
||
<path id="compile.classpath"> | ||
<fileset dir="${lib.dir}/compile"/> | ||
</path> | ||
|
||
<path id="test.classpath"> | ||
<fileset dir="${lib.dir}/test"/> | ||
</path> | ||
|
||
<path id="app.classpath"> | ||
<fileset dir="${lib.dir}/runtime"/> | ||
</path> | ||
|
||
<taskdef name="grailsTask" | ||
classname="grails.ant.GrailsTask" | ||
classpathref="grails.classpath"/> | ||
</target> | ||
|
||
<target name="deps-report" depends="-resolve" description="--> Generate report of module dependencies."> | ||
<ivy:report conf="*"/> | ||
</target> | ||
|
||
<!-- ================================= | ||
target: clean | ||
================================= --> | ||
<target name="clean" description="--> Cleans a Grails application"> | ||
<delete failonerror="true"> | ||
<fileset dir="${lib.dir}/build" includes="*/"/> | ||
<fileset dir="${lib.dir}/compile" includes="*/"/> | ||
<fileset dir="${lib.dir}/runtime" includes="*/"/> | ||
<fileset dir="${lib.dir}/test" includes="*/"/> | ||
</delete> | ||
<antcall target="--grails-clean"/> | ||
</target> | ||
|
||
<!-- extra target to avoid errors on Windows because libs on classpath can not be deleted --> | ||
<target name="--grails-clean" depends="-init-grails"> | ||
<grails script="Clean"/> | ||
</target> | ||
|
||
<!-- ================================= | ||
target: compile | ||
================================= --> | ||
<target name="compile" depends="-init-grails" description="--> Compiles a Grails application"> | ||
<grails script="Compile"/> | ||
</target> | ||
|
||
<!-- ================================= | ||
target: war | ||
================================= --> | ||
<target name="war" depends="-init-grails" description="--> Creates a WAR of a Grails application"> | ||
<grails script="War"/> | ||
</target> | ||
|
||
<!-- ================================= | ||
target: test | ||
================================= --> | ||
<target name="test" depends="-init-grails" description="--> Run a Grails applications unit tests"> | ||
<grails script="TestApp"/> | ||
</target> | ||
|
||
<!-- ================================= | ||
target: run | ||
================================= --> | ||
<target name="run" depends="-init-grails" description="--> Runs a Grails application using embedded Jetty"> | ||
<grails script="RunApp"/> | ||
</target> | ||
|
||
<!-- ================================= | ||
target: deploy | ||
================================= --> | ||
<target name="deploy" depends="war" description="--> The deploy target (initially empty)"> | ||
<!-- TODO --> | ||
</target> | ||
</project> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class BootStrap { | ||
|
||
def init = { servletContext -> | ||
} | ||
def destroy = { | ||
} | ||
} |
Oops, something went wrong.