Community
Participate
Working Groups
Build Identifier: A File/Directory copy rule is used to essentially copy a set of files from one directory to another. This rule seems to have issues creating the target folder. Reproducible: Always Steps to Reproduce: Follow instructions below to reproduce problem 1. Create a Tigerstripe Generator Project 2. Open ts-plugin.xml > Switch to Rules > create a new File/Directory Copy Rule > Under Source, specify 'MySource' > Under Target, specify 'MyTarget' > Save all changes and deploy generator. 3. Create a model project > Inside your model project, create a folder called 'MySource' > Create a couple of files in the folder 4. Enable your generator for the model project and hit Generate button. Notice the following error: Error while copying directory /Users/nmehrega/Workspaces/XMP_SDK_TimeTurner_Staging_sanity_tests/com.cisco.xmp.m1/MySource: toDir /Users/nmehrega/Workspaces/XMP_SDK_TimeTurner_Staging_sanity_tests/com.cisco.xmp.m1/target/tigerstripe.gen/MyTarget/MySource must be a valid writteable directory.. Generation may be incomplete.
The files should be copied under target/tigerstripe.gen/MyTarget NOT under target/tigerstripe.gen/MyTarget/MySource.
Issue fixed.
Verified. Thank you!!!