[Yanel-dev] Yanel with git and Eclipse: Tip for build directory

basZero baszero at gmail.com
Fri Sep 30 08:10:51 CEST 2011


Hi Michael,
maybe you didn't read my full mail. At the end I explained what you can put
into the .gitignore file so that it works.
My explanation in the beginning was more to think about the yanel build, I
still think it is not totally ideal to use "build" directories as part of
real sources. Maybe they should be called "buildsrc" or something like that.

btw: .gitignore is the same as /.git/info/exclude

Cheers
Balz

On Fri, Sep 30, 2011 at 12:22 AM, Michael Wechner <michael.wechner at wyona.com
> wrote:

>  Hi Balz
>
> What about using a ".gitignore" file? (
> http://help.github.com/ignore-files/)
>
> Thanks
>
> Michael
>
> Am 06.09.11 09:35, schrieb basZero:
>
> Hi,
>
>  Since a few days, my realm's code is now in a git repository on
> github.com .
> Yanel is still fetched from SVN of course.
> On top of this, I work with Eclipse and the target directory for built
> class files is <realmroot>/build:
> - /build/classes
> - /build/lib
>
>  As you don't want to commit all classes into git, I initially configured
> "build" into the ignore list at
> - <realmroot>/.git/info/exclude
>
>  But today I noticed, that also the "build" directory inside resources,
> e.g.  <root of a resource>/src/build/* , are NOT commited.
>
>  A small change solves this issue, just tell git to ignore the build
> directory in the realm's root folder:
> So, this is now in the exclude file:
>  .DS_Store
> .svn
> /build
>
>  Cheers
> Balz
>
>
>
>
> --
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110930/4bc06c6a/attachment.html>


More information about the Yanel-development mailing list