[erlang-questions] Re: hi all, how to write the reltool config file to exclude .svn directory when making target system

Toby Thain toby@REDACTED
Sat Apr 2 04:38:49 CEST 2011


On 01/04/11 10:06 PM, xueyu wrote:
> I resolved the problem finally :
> 
> {app,stress,[{incl_cond,include},
>                    {incl_app_filters,["^ebin/","^priv/"]},
>                    {excl_app_filters,["\.svn"]},             %% the
> important line
>                    {incl_archive_filters,["^priv/"]},
>                    {excl_archive_filters,["\.svn"]}
>                    ]}
> 
> 
> 
> On 4月1日, 下午3时35分, yu xue <xuey...@REDACTED> wrote:
>> I made a project with erlang, now, I am using reltool to make target system.
>>
>> I am using svn to control the project version, so, there is a .svn directory
>> in then priv directory,
>>
>> I want to exclude the .svn directory when makeing target system, the partial
>> config rule I wrote as below, but it does not work,
>>

It's usually best to use the  svn export  command to get a clean file
tree, if that's possible in your flow.

--Toby


>> I wish anyone could help me ,thanks very much.
>>
>>       {app,stress,[{incl_cond,include},
>>
>>
>>
>>
>>
>>
>>
>>>                    {incl_app_filters,["^ebin/","^priv/"]},
>>>                    {incl_archive_filters,["^priv/"]},
>>>                    {excl_archive_filters,["\.svn"]}
>>>                    ]}
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questi...@REDACTED://erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list