[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: Where is binary files should be placed?

From: Glenn McAllister <gmcallister_at_sapient.com>
Date: 2005-03-21 16:25:13 CET

What we normally do is create the project with Visual Studio and do an
initial build of the project from within VS. Then add the studio
project folder to your repo with TortoiseSVN, and make sure to de-select
the bin and object directories, as well as the .user file. So far so
good. Then add an svn:ignore property to the project folder to ignore
'bin obj *.user'. Now commit in the parent/solution folder, as you will
need to ensure you get the project correctly added to the .sln file.

This way you get your base project committed to your repo and you ensure
that everyone gets the right ignore pattern. I rarely rely on people
updating the client side config file to correctly ignore things. Far
better to put it on the folder in question and ensure everyone gets it
without having to do anything.

Glenn McAllister
Sapient Canada

-----Original Message-----
From: Marcus Rohrmoser [mailto:mrohrmoser@gmx-gmbh.de]
Sent: Monday, March 21, 2005 7:41 AM
To: users@subversion.tigris.org
Subject: Re: Where is binary files should be placed?

I think only things hard to create (e.g. source code that is manually
edited) should go into version
control. Everything else (compile/build output, generated docs etc.)
shouldn't be in the repository
at all.

Hope this helps,
        M

oleksa borodie schrieb:
> Hello.
>
> Help me please I'm new with subversion. Where is binary files should
> be placed? I mean where is build output directory should be? Is there
> any common practice? I'm using MS Visual Studio.
>
> I could place it inside project directory
> project1/bin
> project1/obj
> and ignore with global-ignores option inside configuration file. On
> the each developer computer this file should be edited - someone could
> forget edit it.
> I could move it out of the project folder
> output/project1/
> project1/
> but what if I will need add some files from bin folder?
>
> Could you give me advice please?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 21 16:46:19 2005

This is an archived mail posted to the Subversion Users mailing list.