[Anthill] VSS can't get revision history build fails

Rob Mew Rob.Mew at yoomedia.com
Fri Jul 9 09:36:10 CDT 2004


Hi Eric

I've tried it with UNC path and it works in the same way as the drive mapping: only builds the project if the vss is set to blank and SSDIR=\\intranet\vss\edplc but fails because anthill can't get the revision histroy.  I've tried all the permuttions but still can't figure it out...

Cheers

Rob

> -----Original Message-----
> From: Eric Minick [mailto:eric at urbancode.com]
> Sent: 09 July 2004 15:17
> To: Anthill user list
> Subject: Re: [Anthill] VSS can't get revision history build fails
> 
> 
> Rob,
> 
> I'm still having a hard time reproducing this. I'm curious if 
> you have 
> better luck using a UNC path like \\vssserver\share\ . Perhaps the 
> environment is losing the drive mappings.
> 
> Eric
> 
> Rob Mew wrote:
> 
> >Hi Eric
> >
> >As you can see below the srcsafe.ini can't be found when I 
> specify  the vss root.
> >
> >
> >Cheers
> >
> >Rob
> >
> >09:44:18:202 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.adapter.V
> >SSRepositoryAdapter  - get revisions since command: cmd /x/c 
> cd /d "c:\anthill\w
> >ork\YMMessaging\WORKING" && set "SSDIR=W:\edplc" && 
> "C:\Program Files\Microsoft
> >Visual Studio\VSS\win32\ss" cp "$/YMMessaging/WORKING" 
> -Y"robm","mbor" &&
> > "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" 
> history -Y"robm","mbor"
> > -R -I-Y -vd07/09/2004;09:44A~07/08/2004;10:10A
> >
> >No VSS database (srcsafe.ini) found.  Use the SSDIR 
> environment variable or run
> >netsetup.
> >09:44:18:295 [Thread - AnthillBuildDaemon] ERROR 
> com.urbancode.anthill.BuildMana
> >ger  - Exception when getting revisions.
> >com.urbancode.anthill.adapter.RepositoryException: Exception 
> when getting revisi
> >ons.
> >        at 
> com.urbancode.anthill.adapter.VSSRepositoryAdapter.getRevisionsSince(
> >VSSRepositoryAdapter.java:211)
> >        at 
> com.urbancode.anthill.BuildManager.loadRevisions(BuildManager.java:28
> >9)
> >        at 
> com.urbancode.anthill.BuildManager.build(BuildManager.java:217)
> >        at 
> com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
> >va:231)
> >        at 
> com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
> >        at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
> >
> >
> >W:\edplc>dir
> > Volume in drive W has no label.
> > Volume Serial Number is 58FF-6726
> >
> > Directory of W:\edplc
> >
> >06/07/2004  14:15    <DIR>          .
> >06/07/2004  14:15    <DIR>          ..
> >20/02/2004  18:56    <DIR>          data
> >05/01/2004  10:29    <DIR>          docs
> >05/01/2004  10:29    <DIR>          MbloxEmulator
> >05/01/2004  10:29    <DIR>          src
> >28/03/2003  11:49             1,275 srcsafe.ini
> >18/02/2004  16:13    <DIR>          startteamworking
> >08/07/2004  15:46    <DIR>          temp
> >06/07/2004  14:15    <DIR>          users
> >06/07/2004  14:15             1,217 users.txt
> >               2 File(s)          2,492 bytes
> >               9 Dir(s)     387,035,136 bytes free
> >
> >  
> >
> >>-----Original Message-----
> >>From: Eric Minick [mailto:eric at urbancode.com]
> >>Sent: 08 July 2004 19:16
> >>To: Anthill user list
> >>Subject: Re: [Anthill] VSS can't get revision history build fails
> >>
> >>
> >>Rob,
> >>
> >>It looks like there isn't any way to tell Anthill not to get 
> >>revisions, 
> >>which is surprising since we have that option in Pro. I've 
> got a VSS 
> >>project working where I have specified the root. Could you 
> >>send me the 
> >>error you get when you do it that way?
> >>
> >>Thanks,
> >>
> >>Eric
> >>
> >>Rob Mew wrote:
> >>
> >>    
> >>
> >>>Hi Eric
> >>>
> >>>The repository.vss.root is set to blank and relies on SSDDIR 
> >>>      
> >>>
> >>env var.  I couldn't get anthill to work when is set 
> >>repository.vss.root.  Can I get anthill not to get the 
> >>revision history?
> >>    
> >>
> >>>Cheers
> >>>
> >>>Rob
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>-----Original Message-----
> >>>>From: Eric Minick [mailto:eric at urbancode.com]
> >>>>Sent: 08 July 2004 17:00
> >>>>To: Anthill user list
> >>>>Subject: Re: [Anthill] VSS can't get revision history build fails
> >>>>
> >>>>
> >>>>Rob,
> >>>>
> >>>>If you edit your VSSRepositoryAdapter, is the 
> >>>>repository.vss.root set? 
> >>>>If it isn't, some commands will fail while others will 
> >>>>successfully use 
> >>>>the environment variable.
> >>>>
> >>>>Eric
> >>>>
> >>>>Rob Mew wrote:
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Dear anthill-list
> >>>>>
> >>>>>I've got a project in VSS.  Anthill successfully gets the 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>latest version and get ant to builds it.  The problem is when 
> >>>>anthill tries to get the revision history.  I get the error 
> >>>>below.  Any suggestions?
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Cheers
> >>>>>
> >>>>>Rob
> >>>>>
> >>>>>15:59:14:054 [Thread - AnthillBuildDaemon] INFO  
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.BuildMana
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>ger  - Step 7) Publish Project:
> >>>>>15:59:14:101 [Thread - AnthillBuildDaemon] INFO  
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.adapter.V
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>SSRepositoryAdapter  - get revisions since command: cmd /x/c 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>cd /d "c:\anthill\w
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>ork\YMMessaging\WORKING" && "C:\Program Files\Microsoft 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>Visual Studio\VSS\win32\
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>ss" cp "$/YMMessaging/WORKING" -Y"robm","mbor" &&
> >>>>>"C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>history -Y"robm","mbor"
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>-R -I-Y -vd07/08/2004;03:59P~07/08/2004;10:10A
> >>>>>
> >>>>>No VSS database (srcsafe.ini) found.  Use the SSDIR 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>environment variable or run
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>netsetup.
> >>>>>15:59:14:257 [Thread - AnthillBuildDaemon] ERROR 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.BuildMana
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>ger  - Exception when getting revisions.
> >>>>>com.urbancode.anthill.adapter.RepositoryException: Exception 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>when getting revisi
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>ons.
> >>>>>      at 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.adapter.VSSRepositoryAdapter.getRevisi
> >>>>        
> >>>>
> >>onsSince(
> >>    
> >>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>VSSRepositoryAdapter.java:211)
> >>>>>      at 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.BuildManager.loadRevisions(BuildManage
> >>>>        
> >>>>
> >>r.java:28
> >>    
> >>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>9)
> >>>>>      at 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.BuildManager.build(BuildManager.java:217)
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>      at 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.AnthillProject.releaseProject(AnthillP
> >>>>        
> >>>>
> >>roject.ja
> >>    
> >>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>va:231)
> >>>>>      at 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>com.urbancode.anthill.BuildDefinition.run(BuildDefinition.
> java:158)
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>      at 
> >>>>>          
> >>>>>
> >>com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
> >>    
> >>
> >>>>>*************************************************************
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>*****************
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>The information contained in this e-mail and any attachment 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>is confidential.
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>It is intended solely for the attention of the intended 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>addressee(s) and may 
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>be covered by legal privilege and/or protected by law.  If 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>you are not the 
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>named addressee, please notify the sender immediately and 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>delete this e-mail
> >>>>>from your computer. Any use, dissemination, distribution or 
> >>>>copying of this
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>e-mail and associated files is strictly prohibited and may 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>be unlawful.
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Internet communications are not secure and therefore 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>YooMedia cannot accept
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>liability if this e-mail is accessed by third parties during 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>the course of
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>transmission or is modified or amended following despatch.
> >>>>>Furthermore YooMedia does not accept legal responsibility 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>for the contents
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>of this message.  Any views or opinions expressed are solely 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>those of the
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>author and do not necessarily represent those of YooMedia 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>unless otherwise
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>specifically stated.  Although YooMedia has taken every 
> reasonable 
> >>>>>precaution to ensure that any attachment to this e-mail has 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>been checked 
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>for viruses, it is strongly recommended that you carry out 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>your own virus
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>check before opening any attachment, as we cannot accept 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>liability for any
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>damage sustained as a result of software virus infection.  
> >>>>>YooMedia reserves the right, and senders of messages shall 
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>be taken to have
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>consented to, the monitoring and recording of e-mails.
> >>>>>*************************************************************
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>*****************
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>_______________________________________________
> >>>>>Anthill mailing list
> >>>>>Anthill at lists.urbancode.com
> >>>>>http://lists.urbancode.com/mailman/listinfo/anthill
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>_______________________________________________
> >>>>Anthill mailing list
> >>>>Anthill at lists.urbancode.com
> >>>>http://lists.urbancode.com/mailman/listinfo/anthill
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>_______________________________________________
> >>>Anthill mailing list
> >>>Anthill at lists.urbancode.com
> >>>http://lists.urbancode.com/mailman/listinfo/anthill
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>_______________________________________________
> >>Anthill mailing list
> >>Anthill at lists.urbancode.com
> >>http://lists.urbancode.com/mailman/listinfo/anthill
> >>
> >>    
> >>
> >_______________________________________________
> >Anthill mailing list
> >Anthill at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill
> >
> >
> >  
> >
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
> 



More information about the Anthill mailing list