'bin' appears as PackageFragment [message #153369] |
Thu, 08 April 2004 21:44  |
Eclipse User |
|
|
|
I wrote code that simply walks down Java Element hierarchy, and I see that
'bin' folder appears as a package fragment. I was surprised to see that, I
would assume that 'bin' is a package fragment root?
Is this actually correct?
bin [in <project root> [in junit_test]]
org.eclipse.jdt.internal.core.PackageFragment
Thank you,
Alex
|
|
|
Re: 'bin' appears as PackageFragment [message #153463 is a reply to message #153369] |
Fri, 09 April 2004 13:00  |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Alex Iskold wrote:
>I wrote code that simply walks down Java Element hierarchy, and I see that
>'bin' folder appears as a package fragment. I was surprised to see that, I
>would assume that 'bin' is a package fragment root?
>
>
>Is this actually correct?
>
>
It depends on the Java build path of the inspected project: if 'bin' is
on the Java build path then it appears as package fragment root, if it
is inside a source folder it appears as package fragment (e.g. 'bin' as
package name). But normally, 'bin' is the output folder and is neither a
package fragment root nor a package fragment.
Dani
> bin [in <project root> [in junit_test]]
>org.eclipse.jdt.internal.core.PackageFragment
>
>Thank you,
>
>Alex
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.25416 seconds