Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 56515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:32:48+00:00 2026-05-10T17:32:48+00:00

I am creating a new build process for a DotNet project which is to

  • 0

I am creating a new build process for a DotNet project which is to be held in Subversion.

For each dll/exe that I compile (via Nant) I would like to include 2 additional attibutes in the dlls that are built.

I already understand the workings of the ‘asminfo’ nant task. But I need help retrieving the information which I hope to embed in my binaries.

The build will always happen from a full working copy (checked out by the build process itself.) and will therefore always have an .svn directory available.

The attributes I want to add are RepositoryVersion and RepositoryPath. (I understand that these are not the names this information goes by in svn)

In order to do this I will need to extract the RepositoryVersion and RepositoryPath represented by the working copy folder that the BuildFile sits within.

How do I extract this information from any given .svn folder into the 2 nant variables?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:32:48+00:00Added an answer on May 10, 2026 at 5:32 pm

    Firstly, you can use ‘svn info –xml >out.xml’ to get the svn information to a text file. You can then use a Nant xml-peek to get a value out of the file into a variable.

    <xmlpeek file='out.xml' xpath='/info/entry/url' property='svn.url' /> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on creating a new C# project that needs to interact with
The process of creating a new build and releasing it to production is a
When I build my project (any project, really - I tried creating a new
When creating a new build in Team Foundation Server, I get the following error
I have part of a build process that creates a hideously long paths in
*Note to view all code, follow the link I am creating new accounts. Each
When creating a new file with vim, I would like to automatically add some
When creating a new C++ header/source file, what information do you add to the
When creating a new xml file, how does one go about structuring the file
Our team is creating a new recruitment workflow system to replace an old one.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.