I've migrated my build to a new server and am having some strange issues. I've narrowed it down to a path difference when it performs a compile. On the machine where it works, the build output is:
[compc] Loading configuration file /opt/jenkins/jobs/NAP-Client/workspace/build/configs/production-dto-config.xml
[compc] /opt/jenkins/jobs/NAP-Client/workspace/libs/library/dtoLibrary-1.3.4.5.swc (62716 bytes)
[echo] Succesfully compiled dtoLibrary
On the new build machine where it fails, the output is:
[compc] Loading configuration file /opt/jenkins/workspace/NAP-Client/build/configs/production-dto-config.xml
[compc] /opt/jenkins/workspace/NAP-Client/src/gov/nwcg/server/domain/client/SessionProperties.as: Error: A file found in a source-path must have the same package structure 'gov', as the definition's package, 'gov.nwcg.server.domain.client'.
I notice that the one is building from /opt/Jenkins/workspace/NAP-Client and the other is building from /opt/Jenkins/jobs/NAP-Client/workspace. The compile task is:
<!-- set argument to be used in config file -->
<arg value="+flexLib-dir=${source.libs.flex}" />
<arg value="+dtoLib-dir=${source.libs.dto}" />
<arg value="+flex-dir=${FLEX_HOME}" />
<arg value="-define=COMPILETIME::version,'${version}'"/>
Does anyone have any clue based off of this information what the issue is? The build file being run in both cases is in: /opt/Jenkins/jobs/NAP-Client/workspace/build.xml.
Thanks,
Eric