We are using a build definition for ANT and to minimize the amount of time needed for the fetch (20 mins), I disabled the "Delete directory before loading" load option in the Jazz Source Control tab.
Whenever a build request is being processed, the build fails with the following error:
2008-09-18 15:23:18 [Jazz build engine]
2008-09-18 15:23:18 [Jazz build engine] Substituted the following build property variables:
2008-09-18 15:23:18 [Jazz build engine] team.scm.fetchDestination = ${KERBEROS_WS_PATH} --> team.scm.fetchDestination = C:/Workspaces/Kerberos
2008-09-18 15:23:18 [Jazz build engine]
2008-09-18 15:23:18 [Jazz build engine]
2008-09-18 15:23:18 [Jazz build engine] Substituted the following configuration element property variables:
2008-09-18 15:23:18 [Jazz build engine] com.ibm.team.build.ant : com.ibm.team.build.ant.buildFile = ${KERBEROS_WS_PATH}/BuildMachine/build.xml --> com.ibm.team.build.ant.buildFile = C:/Workspaces/Kerberos/BuildMachine/build.xml
2008-09-18 15:23:18 [Jazz build engine]
2008-09-18 15:23:18 [Jazz build engine] Should build occur?
2008-09-18 15:23:18 [Jazz build engine] Yes: Always build a user initiated request.
2008-09-18 15:23:23 [Jazz build engine] Invoking pre-build participant "com.ibm.team.build.jazzscm"
Fetching files to fetch destination "C:\Workspaces\Kerberos" ...
java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.getLocalPathInternal_rec(CopyFileAreaStore.java:1062)
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.getLocalPathInternal(CopyFileAreaStore.java:1042)
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.deleteTreeInfo(CopyFileAreaStore.java:2447)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:472)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:726)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.doLoad(LoadOperation.java:433)
at com.ibm.team.filesystem.client.internal.operations.LocalFileSystemLoadOperation.execute(LocalFileSystemLoadOperation.java:97)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:279)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:152)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:571)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:427)
at java.lang.Thread.run(Thread.java:810)
But if the delete before loading option is re-enabled, the build goes past the fetching stage. I already tried using a different workspace for the jbe invocation but I don't see any related entries in the .log file.
Any idea/pointers on where to look for additional clues? Getting this feature working would be a time and bandwidth saver for us. Thanks.
ciao!