Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to prevent a non-java file from being copied to the /bin folder
How to prevent a non-java file from being copied to the /bin folder [message #333257] Tue, 02 December 2008 15:57 Go to next message
Raymond Mising name is currently offline Raymond Mising nameFriend
Messages: 59
Registered: July 2009
Member
Hey,

I have a question about how to prevent a non-java file from being copied
to the /bin folder? I know adding them into the exclusion pattern can
avoid that but for some reason I can not use the exclusion to do this in
our plug-in. Is there another way to do that?

Thanks.
Re: How to prevent a non-java file from being copied to the /bin folder [message #333262 is a reply to message #333257] Tue, 02 December 2008 16:01 Go to previous messageGo to next message
Raymond Mising name is currently offline Raymond Mising nameFriend
Messages: 59
Registered: July 2009
Member
Raymond wrote:

> Hey,

> I have a question about how to prevent a non-java file from being copied
> to the /bin folder? I know adding them into the exclusion pattern can
> avoid that but for some reason I can not use the exclusion to do this in
> our plug-in. Is there another way to do that?

> Thanks.

To be more specific, we have a builder to build a special type of files
and create processed files. I want to put the processed file into the /bin
folder but don't want eclipse copy the original files to the /bin folder.
Just like the way eclipse handles java files.
Re: How to prevent a non-java file from being copied to the /bin folder [message #333273 is a reply to message #333262] Tue, 02 December 2008 22:24 Go to previous message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Raymond " <zqiu@rim.com> wrote in message
news:c06b5bd3e131858d38fd1e33711771f7$1@www.eclipse.org...
> Raymond wrote:
>
>> Hey,
>
>> I have a question about how to prevent a non-java file from being copied
>> to the /bin folder? I know adding them into the exclusion pattern can
>> avoid that but for some reason I can not use the exclusion to do this in
>> our plug-in. Is there another way to do that?
>
>> Thanks.
>
> To be more specific, we have a builder to build a special type of files
> and create processed files. I want to put the processed file into the /bin
> folder but don't want eclipse copy the original files to the /bin folder.
> Just like the way eclipse handles java files.

Does your non-Java file have to live in a Java source folder?

If so, in Java Build Path, edit the source folder and look at the "exclusion
patterns" - I think that might do what you want.
Previous Topic:Providing a custom sorter for Project Explorer
Next Topic:no visible progress-monitor with IWorkbenchSiteProgressService?
Goto Forum:
  


Current Time: Wed Jul 17 19:28:06 GMT 2024

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

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

Back to the top