Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 19:12 Go to next message
David Kerber is currently offline David KerberFriend
Messages: 100
Registered: July 2009
Senior Member
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 #522629 is a reply to message #522064] Tue, 23 March 2010 12:20 Go to previous messageGo to next message
David Kerber is currently offline David KerberFriend
Messages: 100
Registered: July 2009
Senior Member
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

Nobody has any suggestions? ISTM there should be filters to prevent
building extra junk into the .war file...

D
Re: Excluding source code control folders from .war build [message #522956 is a reply to message #522064] Wed, 24 March 2010 15:47 Go to previous messageGo to next message
David Kerber is currently offline David KerberFriend
Messages: 100
Registered: July 2009
Senior Member
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 17:01 Go to previous messageGo to next message
David Kerber is currently offline David KerberFriend
Messages: 100
Registered: July 2009
Senior Member
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 17:54 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
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
>
>
Re: Excluding source code control folders from .war build [message #528791 is a reply to message #528781] Wed, 21 April 2010 18:27 Go to previous message
David Kerber is currently offline David KerberFriend
Messages: 100
Registered: July 2009
Senior Member
In article <hqne51$9lr$1@build.eclipse.org>, Larry.Isaacs@sas.com
says...
>
> 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.

Never thought of that; I'll give it a try.

>
> Cheers,
> Larry

Thanks!
D
Previous Topic:Using Axis 2 Tools
Next Topic:JSF/JSP 100% cpu/hang on content-assist
Goto Forum:
  


Current Time: Thu Apr 18 09:08:09 GMT 2024

Powered by FUDForum. Page generated in 0.02193 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top