Skip to content

Commit

Permalink
update text printed on console.
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Jul 12, 2012
1 parent 558ab40 commit af37181
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion ActivitiGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ActivitiGrailsPlugin {
def disabledActiviti = System.getProperty("disabledActiviti")

if (!disabledActiviti && !CH.config.activiti.disabled) {
println "Activiti Process Engine Initialization..."
println "Configuring Activiti Process Engine ..."

processEngineConfiguration(org.activiti.spring.SpringProcessEngineConfiguration) {
processEngineName = CH.config.activiti.processEngineName?:ActivitiConstants.DEFAULT_PROCESS_ENGINE_NAME
Expand Down Expand Up @@ -110,6 +110,8 @@ class ActivitiGrailsPlugin {
identityService = ref("identityService")
formService = ref("formService")
}

println "... finished configuring Activiti Process Engine."
}
}

Expand Down
6 changes: 3 additions & 3 deletions scripts/DeployBar.groovy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2010 the original author or authors.
/* Copyright 2010-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -58,11 +58,11 @@ target(createBar: "Create Activiti Business Archive (BAR) that contains process
if (deploymentResources) {
deploymentResources = [deploymentResources].flatten()
} else {
ant.echo "deploymentResources not configured. Use ActivitiConstants.DEFAULT_DEPLOYMENT_RESOURCES..."
event('StatusFinal', ['deploymentResources not configured. Use ActivitiConstants.DEFAULT_DEPLOYMENT_RESOURCES...'])
ActivitiConstants = classLoader.loadClass("org.grails.activiti.ActivitiConstants")
deploymentResources = ActivitiConstants.DEFAULT_DEPLOYMENT_RESOURCES
}
ant.echo "deploymentResources = $deploymentResources"
event('StatusUpdate', ["deploymentResources = $deploymentResources"])
resolver = new PathMatchingResourcePatternResolver()
deploymentResources.each { resource ->
resources = resolver.getResources(resource)
Expand Down
4 changes: 2 additions & 2 deletions scripts/InstallActivitiExamples.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ target(main: "Copy Activiti examples to test/unit directory") {
ant.copy (todir:"${basedir}/test/unit", overwrite: true) {
fileset dir:"${activitiPluginDir}/src/activiti-examples"
}
println "Activiti examples installed successfully."
println "You can run the installed examples with 'grails test-app -unit'."
event('StatusFinal', ['Activiti examples installed successfully.'])
event('StatusFinal', ['You can run the installed examples with "grails test-app -unit".'])
}

setDefaultTarget(main)
1 change: 1 addition & 0 deletions scripts/InstallVacationRequestSampleapp.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ target(install: "Install Vacation Request Sample Application") {
ant.copy (todir:"${basedir}/src/groovy", overwrite: true) {
fileset dir:"${vacationRequestDir}/src/groovy"
}
event("StatusUpdate", [ "Vacation Request Sample Application installed."])
}

private installStandardConfigFiles() {
Expand Down
1 change: 1 addition & 0 deletions scripts/UninstallVacationRequestSampleapp.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ target(uninstall: "Uninstall Vacation Request Sample Application") {
ant.delete dir:"${basedir}/grails-app/domain/${vacationRequestDir}"
ant.delete dir:"${basedir}/grails-app/views/${vacationRequestDir}"
ant.delete dir:"${basedir}/src/groovy/${vacationRequestDir}"
event("StatusUpdate", ["Vacation Request Sample Application uninstalled."])
}

setDefaultTarget(uninstall)

0 comments on commit af37181

Please sign in to comment.