ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GNF, Contractor)" <>
Subject RE: Help Needed
Date Tue, 24 Feb 2004 17:49:41 GMT

    I ran into the same situation you describe in the first part of your message. I found
this solution:

           <vssget login="${vss.user},${vss.pwd}"
                    recursive="true"  ssdir="${vss.home}"
                    serverpath="${vss.server}" localpath="${jsp.home}"
                    vsspath="{vss.jsp.path}" writable="false" autoresponse="N"
                    quiet="on" failonerror="false" writablefiles="skip"
    As you can see, when the <vssget> task found a writable (checked out) file, just
skips it. However, you can use files which are being modified and could make your compilation
/ jar'ed / war'ed / ear'ed process fail and / or update something wrong in your staging /
QA / production environment.

    My work-around (and sometimes, my advice) was to create a separate directory and checkout
all the sources from VSS there; then perform all the required operations there (compilation,
etc). With this, I assume that all my developers have just checked in / updated the latest
versions of their work *without* bugs and fully usable. This also avoids that the whole system
crashes down when you are updating your testing environments within short periods of time
(> 3 hours)


-----Original Message-----
From: Deepak Uppoor []
Sent: Tuesday, February 24, 2004 11:10 AM
Subject: RE: Help Needed

I am using ant script for building my project. Ant Version: 1.6
But I am facing some minor issues which potentially are having very high impact. Please help
me on the following is the list of issues:
·       At the time of getting the sources from VSS there may have been some files which
are checked out by me. Daily I would dump the sources to the same place in my machine where
I have checked out the files also. So overwriting the files would make me loose the changes
that I have made in the local file. My requirement is I don't want to loose these changes.
I could find the option of "writablefiles" in vssfetch command for this purpose. But I can
not relate a file being writable to the fact that it is checked out by me. So is there a way
to find out those files which have been checked out by me and skip getting them while fetching
the other sources? I did search but could not get anything related to mentioning the name
of the person who has checked out the file.
·       I have created the ant binary from source, but while doing so there were some warnings/errors
in creating the java documentation. The total size of the output on the console was so huge
that I could not see the entire listing. But there were some regarding the java documentation.
Can this be reliable for use? 
Please reply with the answers for these queries ASAP.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message