[Anthill-dev] Build failed on branch: ProfileAdapter Label failed: 1

Eric Minick eric at urbancode.com
Thu Mar 24 06:17:35 CST 2005


Andre,

I see it now. That's pretty obvious in the logs once I take a clearer 
look. You shouldn't have had to append a letter out in front of the 
version anyway. I double checked Anthill's behavior and if the version 
starts with a digit it will append a 'v' itself.

I filed and resolved a bug 
(http://bugs.urbancode.com/secure/ViewIssue.jspa?key=ANTHILLOS-246)  and 
future versions of Anthill will recognize the space and replace it with 
an underscore.

Regards,

Eric


ASchulte at maninvestments.com wrote:

>Hi Eric,
>
>The version file doesn't start with a digit. It starts with the
>branchname.
>I found out that the space between the branch name and version number in
>the version file 
>is the reason. Without space it works "maninvestments_upgrade1.0.3" not
>"maninvestments_upgrade 1.0.3"
>
>Regards,
>Andre
>
>-----Original Message-----
>From: Eric Minick [mailto:eric at urbancode.com] 
>Sent: 24 March 2005 04:31
>To: Schulte, Andre (MI London)(c)
>Cc: anthill-dev at lists.urbancode.com
>Subject: Re: [Anthill-dev] Build failed on branch: ProfileAdapter Label
>failed: 1
>
>
>Andre,
>
>I'd have to double check, but I think CVS has a rule where tags can not 
>start with a digit. Check in your version file as v1_0_3 and try it
>again.
>
>Also, this list generally reserved for discussions about changes to the 
>code base. For more general questions like this one, you'll probably get
>
>quicker/better answers on the anthill at lists.urbancode.com list - more 
>people are active on that one.
>
>Regards,
>
>Eric
>
>ASchulte at maninvestments.com wrote:
>
>  
>
>>Hello,
>>
>>I have a project maninvestments with a branch maninvestments_upgrade 
>>And a version file maninvestments.version. Anthill is running on the 
>>branch. For the branch I changed the label name to 
>>"maninvestments_upgrade 1.0.2" in the version file.
>>After successful step 4 in anthill I get following error "cvs server: 
>>nothing known about 1_0_3"
>>The new label was created in the version file. What is the meaning of 
>>the error ?
>>Can someone help me ? It would be great.
>>
>>Cheers,
>>Andre
>>
>>
>>
>>
>>
>>WorkingDir: none
>>Environment Variables: none
>>cvs server: [15:42:04] waiting for mbar on
>>mipsq3694.maninvestments.ad.man.com's lock in 
>>/maninvestments/maninvestments/src/javaChecking in
>>    
>>
>maninvestments.version;
>  
>
>>/com/mip/icommerce/web/news/PressReleaseFormHandler.java,v
>>cvs server: [15:42:05] obtained lock in
>>
>>    
>>
>/maninvestments/maninvestments/maninvestments/maninvestments/maninvestme
>nts.version,v 
>  
>
>><-- maninvestments.version
>>
>>new revision: 1.298.4.18; previous revision: 1.298.4.17
>>done
>>15:42:27:000 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.BuildManager - New version: 
>>maninvestments_upgrade 1.0.3
>>
>>15:42:27:000 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.BuildManager -* Step 4)* Tag project (if set to 
>>all):
>>
>>15:42:27:016 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Tagging 
>>entire project with label: maninvestments_upgrade 1_0_3
>>
>>15:42:27:016 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Executing 
>>Command: cmd /x/c cd /d c:\anthill\..\ds\ma
>>
>>ninvestments_upgrade\maninvestments && cvs -d
>>:pserver:aschulte at mipsq3694:/maninvestments tag maninvestments_upgrade
>>    
>>
>
>  
>
>>1_0_3
>>
>>15:42:27:031 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.ProfileRepositoryAdapter - 
>>Execute:Java13CommandLauncher: Executing 'cmd' with a
>>
>>rguments:
>>'/x/c'
>>'cd'
>>'/d'
>>'c:\anthill\..\ds\maninvestments_upgrade\maninvestments'
>>'&&'
>>'cvs'
>>'-d'
>>':pserver:aschulte at mipsq3694:/maninvestments'
>>'tag'
>>'maninvestments_upgrade'
>>'1_0_3'
>>
>>The ' characters around the executable and arguments are
>>not part of the command.
>>
>>WorkingDir: none
>>Environment Variables: none
>>*cvs server: nothing known about 1_0_3*
>>*cvs [server aborted]: correct the above errors first!* 15:42:27:719 
>>[Thread - AnthillBuildDaemon] ERROR com.urbancode.anthill.BuildManager
>>    
>>
>
>  
>
>>- ProfileAdapter Label failed: 1
>>com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter
>>Label failed: 1
>>at 
>>
>>    
>>
>com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand(Pr
>ofileRepositoryAdapter.java:441) 
>  
>
>>at
>>
>>    
>>
>com.urbancode.anthill.adapter.ProfileRepositoryAdapter.label(ProfileRepo
>sitoryAdapter.java:400) 
>  
>
>>at 
>>com.urbancode.anthill.BuildManager.tagProject(BuildManager.java:273)
>>at com.urbancode.anthill.BuildManager.build(BuildManager.java:171)
>>at 
>>
>>    
>>
>com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:
>231) 
>  
>
>>at com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
>>at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>>15:42:27:937 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.CVSRepositoryAdapter - repository root: 
>>:pserver:aschulte at mipsq3694:/maninvestments
>>
>>15:42:27:953 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.CVSRepositoryAdapter - Module: 
>>maninvestments
>>
>>15:42:27:953 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.CVSRepositoryAdapter - Branch: 
>>maninvestments_upgrade
>>
>>15:42:27:953 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.CVSRepositoryAdapter - Work directory: 
>>c:\anthill\..\ds\maninvestments_upgrade
>>
>>15:42:27:969 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.CVSRepositoryAdapter - Local project 
>>directory: c:\anthill\..\ds\maninvestments_
>>
>>upgrade\maninvestments
>>15:42:27:969 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.BuildManager - Project: maninvestments_upgrade 
>>is being released.
>>
>>15:42:27:984 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.BuildManager - Initializing repository
>>    
>>
>adapter...
>  
>
>>
>>Email:
>>
>>Anthill version dev
>>
>>Retrieving project files: OK
>>Got Revisions: OK
>>Incrementing version: OK
>>FAILED to build project. Message: ProfileAdapter Label failed: 1
>>
>>-------------------------------------
>>c:\anthill\publishDir\maninvestments_upgrade\buildLogs\maninvestments_
>>upgrade-maninvestments_upgrade
>>1.0.4-build.log
>>
>>
>>
>>**********************************************************************
>>Any information in this communication which is confidential must not 
>>be disclosed to others without our consent. Such consent is not 
>>required where the information is publicly available and intended for 
>>onward distribution. If the information is confidential and if you are
>>    
>>
>
>  
>
>>not the intended recipient, you are not authorised to and must not 
>>disclose, copy, distribute, or retain this message or any part of it. 
>>You are requested to return this message to the sender immediately.
>>
>>Due to the electronic nature of e-mail, there is a risk that the 
>>information contained in this message has been modified. Consequently 
>>Man Investments can accept no responsibility or liability as to the 
>>completeness or accuracy of the information.
>>
>>Visit us at: www.maninvestments.com
>>
>>**********************************************************************
>>
>>-----------------------------------------------------------------------
>>-
>>
>>_______________________________________________
>>Anthill-dev mailing list
>>Anthill-dev at lists.urbancode.com 
>>http://lists.urbancode.com/mailman/listinfo/anthill-dev
>> 
>>
>>    
>>
>
>  
>



More information about the Anthill-dev mailing list