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
1 parent
371d59e
commit 8aeadbc
Showing
10 changed files
with
49 additions
and
75 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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
.gitignore | ||
*.zip | ||
*.sha1 | ||
*.iml | ||
|
@@ -12,3 +11,4 @@ classes | |
plugin.xml | ||
target | ||
web-app | ||
*.log |
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
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
#Grails Metadata file | ||
#Fri Jan 25 15:02:10 EET 2013 | ||
app.grails.version=2.2.3 | ||
app.name=routing |
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
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
includeTargets << grailsScript("Init") | ||
includeTargets << grailsScript("_GrailsInit") | ||
|
||
target(main: "Creates a new Camel Route.") { | ||
target(createRoute: "Creates a new Camel Route.") { | ||
typeName = "Route" | ||
artifactName = "Route" | ||
artifactPath = "grails-app/routes" | ||
|
||
createArtifact() | ||
} | ||
|
||
setDefaultTarget(main) | ||
setDefaultTarget(createRoute) |
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 |
---|---|---|
@@ -1,19 +1,8 @@ | ||
// | ||
// This script is executed by Grails after plugin was installed to project. | ||
// This script is a Gant script so you can use all special variables provided | ||
// by Gant (such as 'baseDir' which points on project base dir). You can | ||
// use 'ant' to access a global instance of AntBuilder | ||
// | ||
// For example you can create directory under project tree: | ||
// | ||
// ant.mkdir(dir:"${basedir}/grails-app/jobs") | ||
// | ||
|
||
def routeDir = "${basedir}/grails-app/routes" | ||
|
||
if(!(routeDir as File).exists()) { | ||
Ant.mkdir(dir:routeDir) | ||
ant.mkdir(dir:routeDir) | ||
|
||
event("CreatedFile", [routeDir]) | ||
event("StatusFinal", ["Camel Route directory was created."]) | ||
} |
1 change: 0 additions & 1 deletion
1
src/java/org/grails/plugins/routing/DefaultGrailsRouteClass.java
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
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
package org.grails.plugins.routing; | ||
|
||
import org.codehaus.groovy.grails.commons.InjectableGrailsClass; | ||
import groovy.lang.Closure; | ||
|
||
public interface GrailsRouteClass extends InjectableGrailsClass { | ||
} |
2 changes: 1 addition & 1 deletion
2
src/java/org/grails/plugins/routing/GrailsRouteClassProperty.java
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package org.grails.plugins.routing; | ||
|
||
public interface GrailsRouteClassProperty { | ||
public static final String ROUTE = "Route"; | ||
String ROUTE = "Route"; | ||
} |
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