Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problems with inclusion patterns
Problems with inclusion patterns [message #258348] Mon, 05 July 2004 05:54 Go to next message
Eclipse UserFriend
Originally posted by: abc.mymail.com

Hello,

In Properties->Java Build Path->Source, you can set inclusion patterns for
each source directory. But I can't get this feature to work and I suspect
a big bug here...

For example, in a source directory, I want to include only a single Java
file. I set this file/directory in the inclusion patterns list and when I
validate the changes, the Package Explorer do not show this package/file
anymore!

Here is a simple example:
Let's take package a.b1 and a.b2 each one containing a Main.java. I want
to include only a.b1 package but when I set it in the inclusion pattern
list, I see that a.b2 is not in the source path (since they are shown as a
simple directory and "disabled" Java file) but I don't see a.b1 package
anymore...
Re: Problems with inclusion patterns [message #258368 is a reply to message #258348] Mon, 05 July 2004 06:49 Go to previous messageGo to next message
Eclipse UserFriend
This works for me in Eclipse 3.0. What is the inclusion pattern that you use
?

Jerome

"Master Exquisitus" <abc@mymail.com> wrote in message
news:ccb8h1$2tv$1@eclipse.org...
> Hello,
>
> In Properties->Java Build Path->Source, you can set inclusion patterns for
> each source directory. But I can't get this feature to work and I suspect
> a big bug here...
>
> For example, in a source directory, I want to include only a single Java
> file. I set this file/directory in the inclusion patterns list and when I
> validate the changes, the Package Explorer do not show this package/file
> anymore!
>
> Here is a simple example:
> Let's take package a.b1 and a.b2 each one containing a Main.java. I want
> to include only a.b1 package but when I set it in the inclusion pattern
> list, I see that a.b2 is not in the source path (since they are shown as a
> simple directory and "disabled" Java file) but I don't see a.b1 package
> anymore...
>
>
>
Re: Problems with inclusion patterns [message #258371 is a reply to message #258368] Mon, 05 July 2004 06:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: abc.mymail.com

Indeed, actually, it works when you put the Layout option to Flat in the
Package Explorer but set it to Hierarchical and you won't see the included
package/file anymore...


Jerome Lanneluc wrote:

> This works for me in Eclipse 3.0. What is the inclusion pattern that you use
> ?

> Jerome

> "Master Exquisitus" <abc@mymail.com> wrote in message
> news:ccb8h1$2tv$1@eclipse.org...
> > Hello,
> >
> > In Properties->Java Build Path->Source, you can set inclusion patterns for
> > each source directory. But I can't get this feature to work and I suspect
> > a big bug here...
> >
> > For example, in a source directory, I want to include only a single Java
> > file. I set this file/directory in the inclusion patterns list and when I
> > validate the changes, the Package Explorer do not show this package/file
> > anymore!
> >
> > Here is a simple example:
> > Let's take package a.b1 and a.b2 each one containing a Main.java. I want
> > to include only a.b1 package but when I set it in the inclusion pattern
> > list, I see that a.b2 is not in the source path (since they are shown as a
> > simple directory and "disabled" Java file) but I don't see a.b1 package
> > anymore...
> >
> >
> >
Re: Problems with inclusion patterns [message #258408 is a reply to message #258371] Mon, 05 July 2004 09:11 Go to previous message
Eclipse UserFriend
This is a known limitation in 3.0. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=65240.

Jerome

"Master Exquisitus" <abc@mymail.com> wrote in message
news:ccbc26$9k6$1@eclipse.org...
> Indeed, actually, it works when you put the Layout option to Flat in the
> Package Explorer but set it to Hierarchical and you won't see the included
> package/file anymore...
>
>
> Jerome Lanneluc wrote:
>
> > This works for me in Eclipse 3.0. What is the inclusion pattern that you
use
> > ?
>
> > Jerome
>
> > "Master Exquisitus" <abc@mymail.com> wrote in message
> > news:ccb8h1$2tv$1@eclipse.org...
> > > Hello,
> > >
> > > In Properties->Java Build Path->Source, you can set inclusion patterns
for
> > > each source directory. But I can't get this feature to work and I
suspect
> > > a big bug here...
> > >
> > > For example, in a source directory, I want to include only a single
Java
> > > file. I set this file/directory in the inclusion patterns list and
when I
> > > validate the changes, the Package Explorer do not show this
package/file
> > > anymore!
> > >
> > > Here is a simple example:
> > > Let's take package a.b1 and a.b2 each one containing a Main.java. I
want
> > > to include only a.b1 package but when I set it in the inclusion
pattern
> > > list, I see that a.b2 is not in the source path (since they are shown
as a
> > > simple directory and "disabled" Java file) but I don't see a.b1
package
> > > anymore...
> > >
> > >
> > >
>
>
Previous Topic:PLEASE! Navigator filter by Simple project programmaticly
Next Topic:Title of a view
Goto Forum:
  


Current Time: Wed May 07 12:10:33 EDT 2025

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

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

Back to the top