使用 nant & 检查 PVCS 中的文件南特康里布

发布于 2024-09-08 10:31:20 字数 372 浏览 4 评论 0原文

我正在向 nant 和 nantcontrib 迈出第一步,所以请耐心等待!

我想使用 nant 执行的步骤如下:

  1. 从 PVCS 获取最新文件
  2. 签出(即编辑)AssemblyInfo.cs,以便我可以自动处理版本控制等。
  3. 构建完成后,签入 AssemblyInfo .cs
  4. 使用版本标签标记 PVCS 项目中的所有文件。

我查看了 nantcontrib 帮助网站,但是,没有似乎没有提到签出文件!

I'm taking my first steps with nant and nantcontrib so please bear with me!

The steps I would like to perform with nant are the following:

  1. Get the latest files from PVCS
  2. Check-out (i.e. for editing) the AssemblyInfo.cs so I can automatically take care of versioning etc.
  3. Once the build has completed, check in AssemblyInfo.cs
  4. Label all the files within the PVCS project with the version label.

I have had a look at the nantcontrib help site, however, there doesn't seem to be a mention of checking files out!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

舂唻埖巳落 2024-09-15 10:31:20

漂亮又简单(一旦找到 PVCS 目录!)

<pvcsget projectdatabase="${PVCS_Database}" userid="user" includesubprojects="true" lock="false">
    <entities>
        <!--Get everything!-->
        <entity name="/"/>
    </entities>
</pvcsget>

Nice and simple (once you've located the PVCS directory!)

<pvcsget projectdatabase="${PVCS_Database}" userid="user" includesubprojects="true" lock="false">
    <entities>
        <!--Get everything!-->
        <entity name="/"/>
    </entities>
</pvcsget>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文