Details
-
Type:
Bug Fix
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Fix Version/s: 2.0.2
-
Component/s: Development
-
Security Level: Public (Public: Anyone can view)
-
Labels:None
-
KAI Review Status:Not Required
-
KTI Review Status:Not Required
Description
When i try to run it I get the following error:
rice-dist-2.0.1-src$ groovy scripts/createproject.groovy -name myapp -pdir /java/training -rdir . ================================================================== WARNING ================================================================== This program will delete the following directory and replace it with a new project: /java/training/myapp It will also create or replace the following files in USER_HOME: 1) /Users/blah/kuali/main/dev/myapp-config.xml 2) /Users/blah/kuali/main/dev/rice.keystore If this is not what you want, please supply more information: usage: groovy createproject -name PROJECT_NAME [-pdir PROJECT_DIR] [-rdir RICE_DIR] [-mdir MAVEN_HOME] Do you want to continue (yes/no)? yes Detected Maven executable at: /java/tools/maven/bin/mvn [copy] Copying 1 file to /java/training/myapp/src/main/java [copy] Copying 2 files to /java/training/myapp/src/main/resources/META-INF [copy] Copying 1 file to /java/training/myapp/src/main/resources Caught: : Warning: Could not find file /Users/blah/Downloads/rice-dist-2.0.1-src/.sampleapp/src/main/resources/log4j.properties to copy. : Warning: Could not find file /Users/blah/Downloads/rice-dist-2.0.1-src/.sampleapp/src/main/resources/log4j.properties to copy. at org.apache.tools.ant.taskdefs.Copy.copySingleFile(Copy.java:619) at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:444) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at createproject.run(createproject.groovy:175)
The person who ran into this indicated to me that it looks like an issue with a leading slash on line 74 but I didn't look and confirm.
Also, we were able to get this working by hacking up the script, but then it looked like the .classpath and .project files for eclipse are no longer generated? But perhaps that change is an intentional one?
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
When i try to run it I get the following error:
{code} rice-dist-2.0.1-src$ groovy scripts/createproject.groovy -name myapp -pdir /java/training -rdir . ================================================================== WARNING ================================================================== This program will delete the following directory and replace it with a new project: /java/training/myapp It will also create or replace the following files in USER_HOME: 1) /Users/blah/kuali/main/dev/myapp-config.xml 2) /Users/blah/kuali/main/dev/rice.keystore If this is not what you want, please supply more information: usage: groovy createproject -name PROJECT_NAME [-pdir PROJECT_DIR] [-rdir RICE_DIR] [-mdir MAVEN_HOME] Do you want to continue (yes/no)? yes Detected Maven executable at: /java/tools/maven/bin/mvn [copy] Copying 1 file to /java/training/myapp/src/main/java [copy] Copying 2 files to /java/training/myapp/src/main/resources/META-INF [copy] Copying 1 file to /java/training/myapp/src/main/resources Caught: : Warning: Could not find file /Users/blah/Downloads/rice-dist-2.0.1-src/.sampleapp/src/main/resources/log4j.properties to copy. : Warning: Could not find file /Users/ewestfal/Downloads/rice-dist-2.0.1-src/.sampleapp/src/main/resources/log4j.properties to copy. at org.apache.tools.ant.taskdefs.Copy.copySingleFile(Copy.java:619) at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:444) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at createproject.run(createproject.groovy:175) {code} The person who ran into this indicated to me that it looks like an issue with a leading slash on line 74 but I didn't look and confirm. Also, we were able to get this working by hacking up the script, but then it looked like the .classpath and .project files for eclipse are no longer generated? But perhaps that change is an intentional one? |
When i try to run it I get the following error:
{code} rice-dist-2.0.1-src$ groovy scripts/createproject.groovy -name myapp -pdir /java/training -rdir . ================================================================== WARNING ================================================================== This program will delete the following directory and replace it with a new project: /java/training/myapp It will also create or replace the following files in USER_HOME: 1) /Users/blah/kuali/main/dev/myapp-config.xml 2) /Users/blah/kuali/main/dev/rice.keystore If this is not what you want, please supply more information: usage: groovy createproject -name PROJECT_NAME [-pdir PROJECT_DIR] [-rdir RICE_DIR] [-mdir MAVEN_HOME] Do you want to continue (yes/no)? yes Detected Maven executable at: /java/tools/maven/bin/mvn [copy] Copying 1 file to /java/training/myapp/src/main/java [copy] Copying 2 files to /java/training/myapp/src/main/resources/META-INF [copy] Copying 1 file to /java/training/myapp/src/main/resources Caught: : Warning: Could not find file /Users/blah/Downloads/rice-dist-2.0.1-src/.sampleapp/src/main/resources/log4j.properties to copy. : Warning: Could not find file /Users/blah/Downloads/rice-dist-2.0.1-src/.sampleapp/src/main/resources/log4j.properties to copy. at org.apache.tools.ant.taskdefs.Copy.copySingleFile(Copy.java:619) at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:444) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at createproject.run(createproject.groovy:175) {code} The person who ran into this indicated to me that it looks like an issue with a leading slash on line 74 but I didn't look and confirm. Also, we were able to get this working by hacking up the script, but then it looked like the .classpath and .project files for eclipse are no longer generated? But perhaps that change is an intentional one? |
Fix Version/s | 2.0.2 [ 16491 ] | |
Assignee | Viral Chauhan [ vchauhan ] | |
Rice Lead | ewestfal |
Start Date | ||
Fix Date | [ set to sprint end date ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Workflow | custom [ 139108 ] | Copy of custom for rice [ 214151 ] |
Workflow | Copy of custom for rice [ 214151 ] | custom [ 223899 ] |
Workflow | custom [ 223899 ] | Rice Workflow [ 233647 ] |
Added missing slash to path while copying log4j.properties file.