Difference between revisions of "LRM Fixing Issues"

From Lingoport Wiki
Jump to: navigation, search
Line 4: Line 4:
 
Once you've created your project run the project inspect report; java -jar lrm-cli.jar -r -pi -pn YourProjectName. This command generates a report, in your reports folder, listing all the base resource files that were found using the search criteria set up in the project definition. Of interest are the files that are listed in the ConfigTestSearch<base_locale>.xml file.
 
Once you've created your project run the project inspect report; java -jar lrm-cli.jar -r -pi -pn YourProjectName. This command generates a report, in your reports folder, listing all the base resource files that were found using the search criteria set up in the project definition. Of interest are the files that are listed in the ConfigTestSearch<base_locale>.xml file.
   
===How can prevent a file or folder from being included in the prep kit?
+
===How can prevent a file or folder from being included in the prep kit?===
You will need to alter your project definition and exclude the file/folder from the project. First export your project (--export-project -pn YourProjectName) ...
+
You will need to alter your project definition and exclude the file/folder from the project.
  +
* Export your project (--export-project -pn YourProjectName). This command exports your LRM project configuration to a file named '''SetupProjectConfig.xml'''.
  +
* Add an ''<exclude-dir>'' tag to the '''SetupProjectConfig.xml''' file that contains either the file or folder name using the proper Ant formatting directive.
  +
* xml structure for the exclude dir is:
  +
*:''<exclude>''
  +
*:: '' <exclude-dir>...</exclude-dir>''
  +
*:''<exclude>''
  +
*Run the project inspect report to verify that the file or folder was excluded from the search.
   
 
===Why, when I prep a kit do I get an error stating that no resource files were found (Error 500)?===
 
===Why, when I prep a kit do I get an error stating that no resource files were found (Error 500)?===

Revision as of 16:42, 21 November 2012

How can I tell if my project is setup correctly?

Once you've created your project run the project inspect report; java -jar lrm-cli.jar -r -pi -pn YourProjectName. This command generates a report, in your reports folder, listing all the base resource files that were found using the search criteria set up in the project definition. Of interest are the files that are listed in the ConfigTestSearch<base_locale>.xml file.

How can prevent a file or folder from being included in the prep kit?

You will need to alter your project definition and exclude the file/folder from the project.

  • Export your project (--export-project -pn YourProjectName). This command exports your LRM project configuration to a file named SetupProjectConfig.xml.
  • Add an <exclude-dir> tag to the SetupProjectConfig.xml file that contains either the file or folder name using the proper Ant formatting directive.
  • xml structure for the exclude dir is:
    <exclude>
    <exclude-dir>...</exclude-dir>
    <exclude>
  • Run the project inspect report to verify that the file or folder was excluded from the search.

Why, when I prep a kit do I get an error stating that no resource files were found (Error 500)?

It sounds as if your project is not setup correctly.