Hello!  I am in the process of configuring several projects under P4 SCM.
Will I need a client spec for each project?  What I would like to do is
something along the lines of:

<project1>
    <sourcecontrol type="p4">
      <view>
        //depot/proj/...,
        //depot/common/...,
        //depot/library1/...,
      </view>
      <user>me</user>
      <password>prettysecret</password>
      <autoGetSource>true</autoGetSource>
      <forceSync>true</forceSync>
    </sourcecontrol>
    <tasks>
Continuous Integration
Unit tests
   </tasks>
</project1>

<project2>
    <sourcecontrol type="p4">
      <view>
        //depot/proj/...,
        //depot/common/...,
        //depot/library2/...,
      </view>
      <user>me</user>
      <password>prettysecret</password>
      <autoGetSource>true</autoGetSource>
      <forceSync>true</forceSync>
    </sourcecontrol>
    <tasks>
Continuous Integration
Unit tests
    </tasks>
</project2>

And a third project that will compile, start the app, log the output, and
archive the build if it is successful.  So far my biggest issue is pointing
a single client to different <workingDirectory>.  I figure there's something
really small that I'm missing here.  Before pulling my hair out trying to
force it to do something it's not supposed to do, I figured I'd ask here.
Any best practices, instructions, or workarounds are greatly appreciated.

Thanks,

Randolph

Reply via email to