RE: Build failed on branch: ProfileAdapter Label failed: 1

<[email protected]> Thu, 24 Mar 2005 08:25:01 -0000
Newsgroups gmane.comp.java.anthill.devel
Message-ID <34E8A9C74E9FCA4FB39BA26CCC432966029C4F25@MISQEXMB02.maninvestments.ad.man.com>
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=20
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:[email protected]]=20
Sent: 24 March 2005 04:31
To: Schulte, Andre (MI London)(c)
Cc: anthill-dev-IWHQxnLZ/[email protected]
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=20
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=20
code base. For more general questions like this one, you'll probably get

quicker/better answers on the anthill-IWHQxnLZ/[email protected] list - more=20
people are active on that one.

Regards,

Eric

[email protected] wrote:

> Hello,
>
> I have a project maninvestments with a branch maninvestments_upgrade=20
> And a version file maninvestments.version. Anthill is running on the=20
> branch. For the branch I changed the label name to=20
> "maninvestments_upgrade 1.0.2" in the version file.
> After successful step 4 in anthill I get following error "cvs server:=20
> nothing known about 1_0_3"
> The new label was created in the version file. What is the meaning of=20
> 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=20
> /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=20
> <-- 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:=20
> maninvestments_upgrade 1.0.3
>
> 15:42:27:000 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager -* Step 4)* Tag project (if set to=20
> all):
>
> 15:42:27:016 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Tagging=20
> entire project with label: maninvestments_upgrade 1_0_3
>
> 15:42:27:016 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Executing=20
> Command: cmd /x/c cd /d c:\anthill\..\ds\ma
>
> ninvestments_upgrade\maninvestments && cvs -d
> :pserver:aschulte@mipsq3694:/maninvestments tag maninvestments_upgrade

> 1_0_3
>
> 15:42:27:031 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter -=20
> Execute:Java13CommandLauncher: Executing 'cmd' with a
>
> rguments:
> '/x/c'
> 'cd'
> '/d'
> 'c:\anthill\..\ds\maninvestments_upgrade\maninvestments'
> '&&'
> 'cvs'
> '-d'
> ':pserver:aschulte@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=20
> [Thread - AnthillBuildDaemon] ERROR com.urbancode.anthill.BuildManager

> - ProfileAdapter Label failed: 1
> com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter
> Label failed: 1
> at=20
>
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand(Pr
ofileRepositoryAdapter.java:441)=20
>
> at
>
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.label(ProfileRepo
sitoryAdapter.java:400)=20
>
> at=20
> com.urbancode.anthill.BuildManager.tagProject(BuildManager.java:273)
> at com.urbancode.anthill.BuildManager.build(BuildManager.java:171)
> at=20
>
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:
231)=20
>
> 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:=20
> :pserver:aschulte@mipsq3694:/maninvestments
>
> 15:42:27:953 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Module:=20
> maninvestments
>
> 15:42:27:953 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Branch:=20
> maninvestments_upgrade
>
> 15:42:27:953 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Work directory:=20
> c:\anthill\..\ds\maninvestments_upgrade
>
> 15:42:27:969 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Local project=20
> directory: c:\anthill\..\ds\maninvestments_
>
> upgrade\maninvestments
> 15:42:27:969 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Project: maninvestments_upgrade=20
> 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=20
> be disclosed to others without our consent. Such consent is not=20
> required where the information is publicly available and intended for=20
> onward distribution. If the information is confidential and if you are

> not the intended recipient, you are not authorised to and must not=20
> disclose, copy, distribute, or retain this message or any part of it.=20
> 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=20
> information contained in this message has been modified. Consequently=20
> Man Investments can accept no responsibility or liability as to the=20
> completeness or accuracy of the information.
>
> Visit us at: www.maninvestments.com
>
> **********************************************************************
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Anthill-dev mailing list
>Anthill-dev-IWHQxnLZ/[email protected]=20
>http://lists.urbancode.com/mailman/listinfo/anthill-dev
> =20
>