Hi Wayne,
Just to clarify this issue I'm forwarding my conversation with Raphaël.

I'll open an issue in Jira for this.
I've thought about a workaround using a property __cvsignoreFile__ and
filtering it to .cvsignore. It worked =D

Thanks for the support.


---------- Forwarded message ----------
From: Raphaël Piéroni <[email protected]>
Date: Tue, Mar 3, 2009 at 7:39 PM
Subject: Re: Archetype Plugin and .cvsignore
To: Felipe Kamakura <[email protected]>


you are obviously right.

I found it. All the SCM files are excluded from archetypes.
    public static final String[] DEFAULTEXCLUDES =
        { // Miscellaneous typical temporary files
            "**/*~", "**/#*#", "**/.#*", "**/%*%", "**/._*",

            // CVS
            "**/CVS", "**/CVS/**", "**/.cvsignore",

            // SCCS
            "**/SCCS", "**/SCCS/**",

            // Visual SourceSafe
            "**/vssver.scc",

            // Subversion
            "**/.svn", "**/.svn/**",

            // Arch
            "**/.arch-ids", "**/.arch-ids/**",

            // Bazaar
            "**/.bzr", "**/.bzr/**",

            // SurroundSCM
            "**/.MySCMServerInfo",

            // Mac
            "**/.DS_Store"
        };

this default excludes can not be currently undefaulted.
If this is really an issue, please file a jira.
I can promise having much time to solve it for now.


Hope this helps.

Regards.

Raphaël




2009/3/3 Raphaël Piéroni <[email protected]>

Are you on windows ?
>
>
> 2009/3/3 Felipe Kamakura <[email protected]>
>
>> Ok, here they are, let me explain them.
>>
>> *archtest.zip*
>> This is a simple project that contains a *.cvsignore *file in its root
>> directory. If you perform a *mvn archetype:create-from-project *it will
>> ignore this .*cvsignore* file.
>>
>> *archetype.zip
>> *This is the archetype project generated using the create-from-project
>> command above. The diffence is that I've added the .*cvsignore* file by
>> hand, and included an entry for it in the *archetype-metadata.xml* file.
>>
>> If you *mvn install *this project, and generate a project based on this
>> archetype, the .*cvsignore* won't be copied. The .*cvsignore* is not even
>> included in the archetype jar when you run the *mvn install*.
>>
>> I hope this helps.
>>
>> Thanks,
>>
>> Felipe
>>
>>
>>
>>
>> On Tue, Mar 3, 2009 at 6:57 PM, Felipe Kamakura <[email protected]
>> > wrote:
>>
>>> Okay Raphaël, I'll create something here :)
>>>
>>> Thanks!
>>>
>>>
>>> On Tue, Mar 3, 2009 at 6:51 PM, Raphaël Piéroni <[email protected]>
>>>  wrote:
>>>
>>>> Hi Felipe,
>>>>
>>>> Can you please send me a sample project exhibiting your issue?
>>>> It would be nice too to add the command line(s) you called and even the
>>>> traces.
>>>>
>>>> With this i could diagnose f you missed anything or if this is a zipping
>>>> issue.
>>>>
>>>> Regards,
>>>>
>>>> Raphaël
>>>>
>>>>
>>>>
>>>>
>>>
>>
>



On Tue, Mar 3, 2009 at 8:30 PM, Wayne Fay <[email protected]> wrote:

> > Issue *archetype-52 *claims that the problem has been fixed. Is it fixed,
> or
> > I am missing something?
>
> What version are you using?
>
> http://jira.codehaus.org/browse/ARCHETYPE-52 says it is fixed in
> version 2.0-alpha-1.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to