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:
<compc output="${source.libs}/library/@{swc-name}${version}.swc"
maxmemory="768m"
fork="true">
<!-- 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}'"/>
<load-config filename="
build/configs/@{build.config}-dto-config.xml" />
<source-path path-element="${source.flex.dir}" />
<source-path path-element="${FLEX_HOME}/frameworks" />
</compc>
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
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/bd24c3e9-1a7a-409d-889c-f915d9665715%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.