Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running plug-in from fresh checkout doesn't work #8

Open
dhumeniuk opened this issue Jun 26, 2014 · 2 comments
Open

Running plug-in from fresh checkout doesn't work #8

dhumeniuk opened this issue Jun 26, 2014 · 2 comments

Comments

@dhumeniuk
Copy link

I've tried to set up a Jenkins job that builds a standalone JAR for my Grails application, but get the following error (see bottom of log from Jenkins). I cannot find the script for some reason. Where should the script be found if working properly?

If I first do run-app and then use the standalone plug-in, it seems to work (but that doesn't really work in a CI environment).

[Jenkins-Reporter] $ cmd.exe /C '"C:\jenkins\builds\workspace\Jenkins-Reporter\grailsw.bat -Dgrails.work.dir=/C:/jenkins/builds/workspace/Jenkins-Reporter//target prod build-standalone --non-interactive --plain-output && exit %%ERRORLEVEL%%"'
The syntax of the command is incorrect.
Downloading http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.4.1.zip to C:.grails\wrapper\grails-2.4.1-download.zip................
Extracting C:.grails\wrapper\grails-2.4.1-download.zip to C:.grails\wrapper\2.4.1
|Loading Grails 2.4.1
|Configuring classpath
|Downloading: org/apache/apache/4/apache-4.pom
|Downloading: org/slf4j/slf4j-parent/1.7.5/slf4j-parent-1.7.5.pom
|Downloading: jline/jline/2.12/jline-2.12.pom
|Downloading: org/sonatype/oss/oss-parent/7/oss-parent-7.pom
|Downloading: org/apache/ant/ant/1.8.4/ant-1.8.4.pom
|Downloading: org/apache/ant/ant-parent/1.8.4/ant-parent-1.8.4.pom
|Downloading: org/apache/ant/ant-launcher/1.8.4/ant-launcher-1.8.4.pom
|Downloading: org/apache/ant/ant-trax/1.7.1/ant-trax-1.7.1.pom
|Downloading: org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
|Downloading: net/java/dev/jna/jna/4.0.0/jna-4.0.0.pom
|Downloading: org/apache/ant/ant-junit/1.8.4/ant-junit-1.8.4.pom
|Downloading: org/codehaus/gant/gant_groovy1.8/1.9.6/gant_groovy1.8-1.9.6.pom
|Downloading: org/apache/ant/ant/1.8.2/ant-1.8.2.pom
|Downloading: org/apache/ant/ant-parent/1.8.2/ant-parent-1.8.2.pom
|Downloading: org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.pom
|Downloading: org/apache/ivy/ivy/2.3.0/ivy-2.3.0.pom
|Downloading: org/apache/apache/7/apache-7.pom
|Downloading: org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
|Downloading: org/fusesource/jansi/jansi-project/1.11/jansi-project-1.11.pom
|Downloading: org/fusesource/fusesource-pom/1.8/fusesource-pom-1.8.pom
|Downloading: org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.pom
|Downloading: org/slf4j/slf4j-parent/1.6.1/slf4j-parent-1.6.1.pom
|Downloading: org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.pom
|Downloading: org/apache/commons/commons-parent/17/commons-parent-17.pom
|Downloading: org/grails/plugins/tomcat/7.0.54/tomcat-7.0.54.pom
|Downloading: org/apache/tomcat/tomcat-catalina-ant/7.0.53/tomcat-catalina-ant-7.0.53.pom
|Downloading: org/apache/tomcat/embed/tomcat-embed-jasper/7.0.53/tomcat-embed-jasper-7.0.53.pom
|Downloading: org/apache/tomcat/embed/tomcat-embed-el/7.0.53/tomcat-embed-el-7.0.53.pom
|Downloading: org/apache/tomcat/embed/tomcat-embed-logging-log4j/7.0.53/tomcat-embed-logging-log4j-7.0.53.pom
|Downloading: org/apache/tomcat/embed/tomcat-embed-websocket/7.0.53/tomcat-embed-websocket-7.0.53.pom
|Downloading: org/apache/tomcat/embed/tomcat-embed-core/7.0.53/tomcat-embed-core-7.0.53.pom
|Downloading: org/eclipse/jdt/core/compiler/ecj/3.7.2/ecj-3.7.2.pom
|Downloading: org/grails/plugins/tomcat/7.0.54/tomcat-7.0.54.zip
|Downloading: org/apache/tomcat/embed/tomcat-embed-jasper/7.0.53/tomcat-embed-jasper-7.0.53.jar
|Downloading: org/apache/tomcat/embed/tomcat-embed-logging-log4j/7.0.53/tomcat-embed-logging-log4j-7.0.53.jar
|Downloading: org/apache/tomcat/embed/tomcat-embed-websocket/7.0.53/tomcat-embed-websocket-7.0.53.jar
|Downloading: org/apache/tomcat/tomcat-catalina-ant/7.0.53/tomcat-catalina-ant-7.0.53.jar
|Downloading: org/apache/tomcat/embed/tomcat-embed-el/7.0.53/tomcat-embed-el-7.0.53.jar
|Downloading: org/eclipse/jdt/core/compiler/ecj/3.7.2/ecj-3.7.2.jar
|Downloading: org/apache/tomcat/embed/tomcat-embed-core/7.0.53/tomcat-embed-core-7.0.53.jar
|Downloading: javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.pom
|Downloading: net/java/jvnet-parent/1/jvnet-parent-1.pom
|Downloading: opensymphony/sitemesh/2.4/sitemesh-2.4.pom
|Downloading: org/springframework/spring-webmvc/4.0.5.RELEASE/spring-webmvc-4.0.5.RELEASE.pom
|Downloading: org/springframework/spring-context-support/4.0.5.RELEASE/spring-context-support-4.0.5.RELEASE.pom
|Downloading: com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
|Downloading: org/grails/grails-datastore-core/3.1.1.RELEASE/grails-datastore-core-3.1.1.RELEASE.pom
|Downloading: com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.3.1/concurrentlinkedhashmap-lru-1.3.1.pom
|Downloading: javax/transaction/jta/1.1/jta-1.1.pom
|Downloading: commons-validator/commons-validator/1.4.0/commons-validator-1.4.0.pom
|Downloading: org/apache/commons/commons-parent/23/commons-parent-23.pom
|Downloading: org/apache/apache/9/apache-9.pom
|Downloading: commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.pom
|Downloading: org/apache/commons/commons-parent/32/commons-parent-32.pom
|Downloading: org/apache/apache/13/apache-13.pom
|Downloading: commons-io/commons-io/2.2/commons-io-2.2.pom
|Downloading: org/apache/commons/commons-parent/24/commons-parent-24.pom
|Downloading: org/springframework/spring-aspects/4.0.5.RELEASE/spring-aspects-4.0.5.RELEASE.pom
|Downloading: org/aspectj/aspectjweaver/1.7.4/aspectjweaver-1.7.4.pom
|Downloading: org/aspectj/aspectjweaver/1.8.0/aspectjweaver-1.8.0.pom
|Downloading: org/grails/grails-datastore-simple/3.1.1.RELEASE/grails-datastore-simple-3.1.1.RELEASE.pom
|Downloading: org/grails/grails-datastore-gorm/3.1.1.RELEASE/grails-datastore-gorm-3.1.1.RELEASE.pom
|Downloading: org/apache/commons/commons-parent/22/commons-parent-22.pom
|Downloading: org/hamcrest/hamcrest-parent/1.3/hamcrest-parent-1.3.pom
|Downloading: org/objenesis/objenesis/1.4/objenesis-1.4.pom
|Downloading: org/objenesis/objenesis-parent/1.4/objenesis-parent-1.4.pom
|Downloading: org/codehaus/groovy/modules/http-builder/http-builder/0.7.1/http-builder-0.7.1.pom
|Downloading: org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.pom
|Downloading: org/apache/httpcomponents/httpcomponents-client/4.2.1/httpcomponents-client-4.2.1.pom
|Downloading: org/apache/httpcomponents/project/6/project-6.pom
|Downloading: org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.pom
|Downloading: org/apache/httpcomponents/httpcomponents-core/4.2.1/httpcomponents-core-4.2.1.pom
|Downloading: commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
|Downloading: org/apache/commons/commons-parent/5/commons-parent-5.pom
|Downloading: net/sf/json-lib/json-lib/2.3/json-lib-2.3.pom
|Downloading: commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.pom
|Downloading: org/apache/commons/commons-parent/11/commons-parent-11.pom
|Downloading: org/apache/commons/commons-parent/9/commons-parent-9.pom
|Downloading: commons-lang/commons-lang/2.4/commons-lang-2.4.pom
|Downloading: net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.pom
|Downloading: commons-lang/commons-lang/2.3/commons-lang-2.3.pom
|Downloading: net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.pom
|Downloading: xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.pom
|Downloading: xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.pom
|Downloading: org/apache/apache/3/apache-3.pom
|Downloading: xml-resolver/xml-resolver/1.2/xml-resolver-1.2.pom
|Downloading: org/grails/plugins/scaffolding/2.1.1/scaffolding-2.1.1.pom
|Downloading: org/grails/plugins/cache/1.1.2/cache-1.1.2.pom
|Downloading: org/grails/plugins/webxml/1.4.1/webxml-1.4.1.pom
|Downloading: org/grails/plugins/standalone/1.2.3/standalone-1.2.3.pom
|Downloading: org/grails/plugins/asset-pipeline/1.8.11/asset-pipeline-1.8.11.pom
|Downloading: org/mozilla/rhino/1.7R4/rhino-1.7R4.pom
|Downloading: org/grails/plugins/hibernate/3.6.10.16/hibernate-3.6.10.16.pom
|Downloading: org/hibernate/hibernate-ehcache/3.6.10.Final/hibernate-ehcache-3.6.10.Final.pom
|Downloading: org/hibernate/hibernate-parent/3.6.10.Final/hibernate-parent-3.6.10.Final.pom
|Downloading: org/hibernate/hibernate-core/3.6.10.Final/hibernate-core-3.6.10.Final.pom
|Downloading: antlr/antlr/2.7.6/antlr-2.7.6.pom
|Downloading: commons-collections/commons-collections/3.1/commons-collections-3.1.pom
|Downloading: dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
|Downloading: org/hibernate/hibernate-commons-annotations/3.2.0.Final/hibernate-commons-annotations-3.2.0.Final.pom
|Downloading: org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom
|Downloading: org/slf4j/slf4j-parent/1.5.8/slf4j-parent-1.5.8.pom
|Downloading: org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom
|Downloading: net/sf/ehcache/ehcache-core/2.4.8/ehcache-core-2.4.8.pom
|Downloading: net/sf/ehcache/ehcache-parent/2.3/ehcache-parent-2.3.pom
|Downloading: org/javassist/javassist/3.17.1-GA/javassist-3.17.1-GA.pom
|Downloading: org/grails/grails-datastore-gorm-hibernate/3.1.1.RELEASE/grails-datastore-gorm-hibernate-3.1.1.RELEASE.pom
|Downloading: org/grails/grails-datastore-gorm-hibernate-core/3.1.1.RELEASE/grails-datastore-gorm-hibernate-core-3.1.1.RELEASE.pom
|Downloading: antlr/antlr/2.7.7/antlr-2.7.7.pom
|Downloading: org/grails/grails-datastore-gorm-plugin-support/3.1.1.RELEASE/grails-datastore-gorm-plugin-support-3.1.1.RELEASE.pom
|Downloading: org/springframework/spring-orm/4.0.5.RELEASE/spring-orm-4.0.5.RELEASE.pom
|Downloading: javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.pom
|Downloading: org/hibernate/hibernate-validator/4.1.0.Final/hibernate-validator-4.1.0.Final.pom
|Downloading: org/hibernate/hibernate-validator-parent/4.1.0.Final/hibernate-validator-parent-4.1.0.Final.pom
|Downloading: org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.pom
|Downloading: org/slf4j/slf4j-parent/1.5.6/slf4j-parent-1.5.6.pom
|Downloading: org/hibernate/hibernate-entitymanager/3.6.10.Final/hibernate-entitymanager-3.6.10.Final.pom
|Downloading: cglib/cglib/2.2/cglib-2.2.pom
|Downloading: asm/asm/3.1/asm-3.1.pom
|Downloading: asm/asm-parent/3.1/asm-parent-3.1.pom
|Downloading: org/grails/plugins/database-migration/1.4.0/database-migration-1.4.0.pom
|Downloading: org/liquibase/liquibase-core/2.0.5/liquibase-core-2.0.5.pom
|Downloading: org/liquibase/liquibase-parent/2.0.5/liquibase-parent-2.0.5.pom
|Downloading: org/grails/plugins/jquery/1.11.0.2/jquery-1.11.0.2.pom
|Downloading: org/grails/plugins/resources/1.2.8/resources-1.2.8.pom
|Downloading: org/grails/plugins/scaffolding/2.1.1/scaffolding-2.1.1.zip
|Downloading: org/grails/plugins/cache/1.1.2/cache-1.1.2.zip
|Downloading: org/grails/plugins/webxml/1.4.1/webxml-1.4.1.zip
|Downloading: org/grails/plugins/standalone/1.2.3/standalone-1.2.3.zip
|Downloading: org/grails/plugins/asset-pipeline/1.8.11/asset-pipeline-1.8.11.zip
|Downloading: org/grails/plugins/hibernate/3.6.10.16/hibernate-3.6.10.16.zip
|Downloading: org/grails/plugins/database-migration/1.4.0/database-migration-1.4.0.zip
|Downloading: org/grails/plugins/jquery/1.11.0.2/jquery-1.11.0.2.zip
|Downloading: org/grails/plugins/resources/1.2.8/resources-1.2.8.zip
|Downloading: org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.jar
|Downloading: commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
|Downloading: org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar
|Downloading: net/sf/json-lib/json-lib/2.3/json-lib-2.3-jdk15.jar
|Downloading: org/codehaus/groovy/modules/http-builder/http-builder/0.7.1/http-builder-0.7.1.jar
|Downloading: commons-beanutils/commons-beanutils/1.8.0/commons-beanutils-1.8.0.jar
|Downloading: net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar
|Downloading: net/sourceforge/nekohtml/nekohtml/1.9.16/nekohtml-1.9.16.jar
|Downloading: xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
|Downloading: xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
|Downloading: xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
|Downloading: org/mozilla/rhino/1.7R4/rhino-1.7R4.jar
|Downloading: org/hibernate/hibernate-ehcache/3.6.10.Final/hibernate-ehcache-3.6.10.Final.jar
|Downloading: net/sf/ehcache/ehcache-core/2.4.8/ehcache-core-2.4.8.jar
|Downloading: org/javassist/javassist/3.17.1-GA/javassist-3.17.1-GA.jar
|Downloading: org/grails/grails-datastore-gorm-hibernate/3.1.1.RELEASE/grails-datastore-gorm-hibernate-3.1.1.RELEASE.jar
|Downloading: org/grails/grails-datastore-gorm-hibernate-core/3.1.1.RELEASE/grails-datastore-gorm-hibernate-core-3.1.1.RELEASE.jar
|Downloading: antlr/antlr/2.7.7/antlr-2.7.7.jar
|Downloading: dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
|Downloading: org/grails/grails-datastore-gorm-plugin-support/3.1.1.RELEASE/grails-datastore-gorm-plugin-support-3.1.1.RELEASE.jar
|Downloading: org/springframework/spring-orm/4.0.5.RELEASE/spring-orm-4.0.5.RELEASE.jar
|Downloading: org/hibernate/hibernate-core/3.6.10.Final/hibernate-core-3.6.10.Final.jar
|Downloading: javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar
|Downloading: org/hibernate/hibernate-validator/4.1.0.Final/hibernate-validator-4.1.0.Final.jar
|Downloading: org/hibernate/hibernate-entitymanager/3.6.10.Final/hibernate-entitymanager-3.6.10.Final.jar
|Downloading: cglib/cglib/2.2/cglib-2.2.jar
|Downloading: asm/asm/3.1/asm-3.1.jar
|Downloading: org/liquibase/liquibase-core/2.0.5/liquibase-core-2.0.5.jar
|Downloading: org/hibernate/hibernate-commons-annotations/3.2.0.Final/hibernate-commons-annotations-3.2.0.Final.jar
|Running pre-compiled script
Error |
Script not found: BuildStandalone

@kastork
Copy link

kastork commented Jun 27, 2014

This plugin predates even Grails 2.3. Is it even expected to work with Grails 2.4?

@dhumeniuk
Copy link
Author

Is says Grails version is: "1.3 > *" so I assumed so. Either way, is there a way to make it compatible or an alternative (besides not using a standalone JAR)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants