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

basZero baszero at gmail.com
Fri Sep 30 14:13:25 CEST 2011


Hi Michael,
yes exactly, it was about the src/build directory.
cheers
balz

On Fri, Sep 30, 2011 at 1:51 PM, Michael Wechner
<michael.wechner at wyona.com>wrote:

>  Hi Balz
>
> Thanks for your feedback. Now I remember: it's mainly about
>
> src/build
>
> right?
>
> I just improved the .gitignore slightly:
>
>
> https://github.com/wyona/yanel/commit/1808e32978e4f9cbbeefb05df640fbeac809e713
>
> but I will think some more about it later on
>
> Thanks
>
> Michael
>
>
>
> Am 30.09.11 08:10, schrieb basZero:
>
> 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
>>
>
>
>
>
>
> --
> 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/c71b332e/attachment.html>


More information about the Yanel-development mailing list