Compiling unit tests on Windchill+ gives symbol "error: cannot find symbol" at the custom Java class
Version: Windchill 12.1
Use Case: For context, we are using Windchill+ which means we need to send CCD packages to PTC for deployment. This would also mean we cannot adjust certain settings and properties located in Windchill, as the PTC-managed deployment to TEST and PROD would cause issues. I created a custom java class that is called within a workflow. It has been compiled and deployed and is currently functioning in our dev system. I am now attempting to write unit tests for my custom java class. I have been following the customization guide, especially "Building and Deploying Tests in Development System", but while I attempt `ant compile.test`, it fails as it cannot find my package .
Description:
For context, we are using Windchill+ which means we need to send CCD packages to PTC for deployment.
I created a custom java class that is called within a workflow.
It is located in <\opt\ptc\windchill_customization\customModule\main\src\com\acme\customClass.java> as suggested in the Customization Guide.
I am able to compile and deploy the jar file to our dev system at: <\opt\ptc\WT_HOME\custom\lib\customModule.jar> using `ant compile` and `ant deploy`.
I am able to call the class in the workflow, and the methods are all working correctly and my workflow behaves as customised. All great.
I am now attempting to write unit tests for my custom java class as we plan to expand it in the future. I have been following the customization guide, especially "Building and Deploying Tests in Development System", but while I attempt `ant compile.test`, it fails as it cannot find my package <com.acme>. I have ensured that both my custom java class and my test file have the correct "package com.acme" spelling.
I have followed the suggested test file location, <\opt\ptc\windchill_customization\customModule\test\source\src\com\acme\customClassTest.java>
Has anyone successfully compiled and deployed a unit test?

