Home » Language IDEs » ServerTools (WTP) » Excluding source code control folders from .war build
Excluding source code control folders from .war build [message #522064] |
Fri, 19 March 2010 15:12  |
Eclipse User |
|
|
|
I got no response to this question in .newcomer, so I'm trying here:
Running Eclipse Galileo on Win 7 x64.
How do I exclude source code control folders when I'm building a .war
file?
I use a windows gui version of svn (tortoise svn), and it puts .svn
folders in my source code tree on disk. When I build my .war file from
within eclipse, it wants to include the .svn folders in my war.
I've tried setting source excludes to .svn/* and .svn, but it still
insists on including these folders in my built war.
The same question would apply to building .jars, but the .jar export
allows me to uncheck folders I don't want, while the .war does not.
How can I correct this?
D
|
|
| |
Re: Excluding source code control folders from .war build [message #522956 is a reply to message #522064] |
Wed, 24 March 2010 11:47   |
Eclipse User |
|
|
|
In article <MPG.260d96b56304188598968f@news.eclipse.org>,
ns_dkerber@ns_WarrenRogersAssociates.com says...
>
> I got no response to this question in .newcomer, so I'm trying here:
>
> Running Eclipse Galileo on Win 7 x64.
>
> How do I exclude source code control folders when I'm building a .war
> file?
>
> I use a windows gui version of svn (tortoise svn), and it puts .svn
> folders in my source code tree on disk. When I build my .war file from
> within eclipse, it wants to include the .svn folders in my war.
>
> I've tried setting source excludes to .svn/* and .svn, but it still
> insists on including these folders in my built war.
>
> The same question would apply to building .jars, but the .jar export
> allows me to uncheck folders I don't want, while the .war does not.
>
> How can I correct this?
>
> D
I got this partially working: I had forgotten the trailing / on the
folder names (.svn/), but that only fixed the .war's own folders. I'm
still getting .svn folders built into my utility .jar file, even with
the same excludes set on its build path dialog.
Any ideas?
D
|
|
|
Re: Excluding source code control folders from .war build [message #528768 is a reply to message #522956] |
Wed, 21 April 2010 13:01   |
Eclipse User |
|
|
|
So nobody can tell me how to successfully exclude source code control
(.svn) folders from my build?
D
In article <MPG.2613fe347b7b8f4b989694@news.eclipse.org>,
ns_dkerber@ns_WarrenRogersAssociates.com says...
>
> In article <MPG.260d96b56304188598968f@news.eclipse.org>,
> ns_dkerber@ns_WarrenRogersAssociates.com says...
> >
> > I got no response to this question in .newcomer, so I'm trying here:
> >
> > Running Eclipse Galileo on Win 7 x64.
> >
> > How do I exclude source code control folders when I'm building a .war
> > file?
> >
> > I use a windows gui version of svn (tortoise svn), and it puts .svn
> > folders in my source code tree on disk. When I build my .war file from
> > within eclipse, it wants to include the .svn folders in my war.
> >
> > I've tried setting source excludes to .svn/* and .svn, but it still
> > insists on including these folders in my built war.
> >
> > The same question would apply to building .jars, but the .jar export
> > allows me to uncheck folders I don't want, while the .war does not.
> >
> > How can I correct this?
> >
> > D
>
> I got this partially working: I had forgotten the trailing / on the
> folder names (.svn/), but that only fixed the .war's own folders. I'm
> still getting .svn folders built into my utility .jar file, even with
> the same excludes set on its build path dialog.
>
> Any ideas?
> D
|
|
|
Re: Excluding source code control folders from .war build [message #528781 is a reply to message #528768] |
Wed, 21 April 2010 13:54   |
Eclipse User |
|
|
|
Have you tried installing some SVN plug-ins into Eclipse? Even if you
didn't use it, it may be able to tell all the other plug-ins in your
Eclipse of the special nature of the ".svn" folders. You could
experiment with a separate Eclipse install and workspace to verify this
approach would give you the behavior you want.
Cheers,
Larry
David Kerber wrote:
> So nobody can tell me how to successfully exclude source code control
> (.svn) folders from my build?
>
> D
>
>
> In article <MPG.2613fe347b7b8f4b989694@news.eclipse.org>,
> ns_dkerber@ns_WarrenRogersAssociates.com says...
>> In article <MPG.260d96b56304188598968f@news.eclipse.org>,
>> ns_dkerber@ns_WarrenRogersAssociates.com says...
>>> I got no response to this question in .newcomer, so I'm trying here:
>>>
>>> Running Eclipse Galileo on Win 7 x64.
>>>
>>> How do I exclude source code control folders when I'm building a .war
>>> file?
>>>
>>> I use a windows gui version of svn (tortoise svn), and it puts .svn
>>> folders in my source code tree on disk. When I build my .war file from
>>> within eclipse, it wants to include the .svn folders in my war.
>>>
>>> I've tried setting source excludes to .svn/* and .svn, but it still
>>> insists on including these folders in my built war.
>>>
>>> The same question would apply to building .jars, but the .jar export
>>> allows me to uncheck folders I don't want, while the .war does not.
>>>
>>> How can I correct this?
>>>
>>> D
>> I got this partially working: I had forgotten the trailing / on the
>> folder names (.svn/), but that only fixed the .war's own folders. I'm
>> still getting .svn folders built into my utility .jar file, even with
>> the same excludes set on its build path dialog.
>>
>> Any ideas?
>> D
>
>
|
|
| |
Goto Forum:
Current Time: Wed Jul 23 06:43:05 EDT 2025
Powered by FUDForum. Page generated in 0.04704 seconds
|