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 6945597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:27:25+00:00 2026-05-27T13:27:25+00:00

I everyone, I am using Eclipse, Subclipse, and ANT. I would like to generate

  • 0

I everyone, I am using Eclipse, Subclipse, and ANT. I would like to generate a build manifest with the files that have changed, added, updated, deleted, from the repo (with the individual version numbers on my current system).

    <propertyfile file="${dist.dir}\deploymentManifest.txt"
        comment="This file is automatically generated - DO NOT EDIT">        
        <entry key="buildtime" value="${builtat}"/>
        <entry key="build" value="${svnversion}"/>
        <entry key="version" value="${version}"/>
        <entry key="systemLocation" value="${directory/filename.ext}"/>
    </propertyfile>

How do I peel that information from the files in Eclipse? or how do I use ANY to retrieve this info?

Thanks,
Frank

  • 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. Editorial Team
    Editorial Team
    2026-05-27T13:27:26+00:00Added an answer on May 27, 2026 at 1:27 pm

    Well, ${buildtat} could be taken from the <tstamp> task in Ant. The others could be parsed by doing a svn log --xml and then using the resulting XML from a <xmlproperties> task. Right off the top of my head (i.e. no error checking):

    <!-- Gets the Time Stamp -->
    <tstamp>
      <format property="buildtat" pattern="MM/dd/yyyy HH:MM"/>
    </tstamp>
    
    <!-- Generates the revision information you need-->
    <exec
       executable="svn"
       output="${svn.log.file}">
       <arg line="log --xml -rHEAD/>
    </exec>
    
    <!-- Reads that information into a Property -->
    
    <xmlproperty file="${svn.log.file}"/>
    
    <echo message="Subversion Rev: ${log.logentry{revision}}"/>
    

    However, I’d recommend you look at a continuous build system like Jenkins. Whenever you make a change in your Subversion repository, Jenkins picks up the change and automatically does a new build. Not only does this allow you to verify that your changes don’t break your build, but Jenkins can do other things too like run JUnit tests. Jenkins then stores your build and the results of your tests and the whole build log in an easy to get to HTML page.

    Where Jenkins will work for you is that Jenkins automatically exposes such things as the Subversion Revision as part of the build process. You can fetch the Subversion Revision, the Jenkins build number, the name of the Jenkins project and many other things as environment variables. Then, you could do this:

    <property env="env."/>
    
    <propertyfile file="${dist.dir}\deploymentManifest.txt"
        comment="This file is automatically generated - DO NOT EDIT">        
        <entry key="buildtime" value="${env.BUILD_ID}"/>
        <entry key="build" value="${env.SVN_REVISION}"/>
        <entry key="version" value="${BUILD_NUMBER}"/>
        <entry key="systemLocation" value="${directory/filename.ext}"/>
    </propertyfile>
    

    Take a look at Jenkins. It’s fairly easy to understand and use.

    It should take you about 5 minutes to download and maybe 10 minutes on a Linux system to get up and running. Windows is more complex and might take as long as 15 to 20 minutes to get up and running. You can run it on your desktop system for now, and play around with it.

    It should take you maybe another half hour to figure out how to setup a project that can automatically do builds whenever someone does a commit.

    Jenkins is web based, but comes with its own light weight web based application engine. All you need is Java 1.6 to run it. (And, if you’re using Eclipse, you should already have that).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey everyone, I want to start using Scheme and I have two questions. First,
When I'm online it seems that everyone has agreed that using the exclusive locking
Hey everyone. The following is the code that I am using to play random
This is a simple question: I know and have heard from almost everyone that
I trying to build an application that is using the torrent technology to make
HI Everyone I am using flowplayer for uploading videos so that client can play
I hope not everyone is using Rational Purify. So what do you do when
In class, we are all 'studying' databases, and everyone is using Access. Bored with
Hey everyone, I'm using Virtual PC and working with a virtual hard disk (*.vhd)
Greetings everyone! I programmed GUI Application using Java Swing under Windows. Under windows everything

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.