Home » Language IDEs » Java Development Tools (JDT) » .jar in lib folder not visible, no filter set
.jar in lib folder not visible, no filter set [message #247251] |
Mon, 03 September 2007 20:21 |
|
Hi,
I have a folder in my eclipse project called lib which contains one file
"derby.jar". I use the derby.jar in my project / build path. What I don't
understand is why this file is not visible in the package explorer. The
folder is visible but not the file "derby.jar".
I did:
1.) Refresh the folder lib several times
2.) Unflag all filter in the package explorer
3.) Did check that the file exists
Any advice?
Best regards, Lars
|
|
| |
Re: .jar in lib folder not visible, no filter set [message #247267 is a reply to message #247256] |
Tue, 04 September 2007 05:48 |
|
Hi Paul,
not sure what you mean. If I copy on the file system for example a file,
e.g. an icon, and press F5 on the folder the new file becomes visible.
Are you saying .jars behave differently?
I tried now now to import the jar but the system tells me source and
destination are the same.
Best regards, Lars
"Paul A. Rubin" <rubin@msu.edu> wrote in message
news:fbhtge$l01$1@build.eclipse.org...
> Lars Vogel wrote:
>> Hi,
>>
>> I have a folder in my eclipse project called lib which contains one file
>> "derby.jar". I use the derby.jar in my project / build path. What I don't
>> understand is why this file is not visible in the package explorer. The
>> folder is visible but not the file "derby.jar".
>>
>> I did:
>>
>> 1.) Refresh the folder lib several times
>> 2.) Unflag all filter in the package explorer
>> 3.) Did check that the file exists
>>
>> Any advice?
>>
>> Best regards, Lars
>
> Did you import the file into the project?
>
> /Paul
|
|
| |
Re: .jar in lib folder not visible, no filter set [message #247331 is a reply to message #247311] |
Tue, 04 September 2007 20:33 |
|
Hi Paul,
thank you for the advice but unfortunately the file is still not visible.
I did start Eclipse with -clean. If I paste other libs into the folder then
they are visible.
Best regards, Lars
"Paul A. Rubin" <rubin@msu.edu> wrote in message
news:fbjr6m$1aa$1@build.eclipse.org...
> Lars Vogel wrote:
>> Hi Paul,
>>
>> not sure what you mean. If I copy on the file system for example a file,
>> e.g. an icon, and press F5 on the folder the new file becomes visible.
>>
>> Are you saying .jars behave differently?
>
> No, jars behave the same in that regard. Copying a jar into a project
> folder and hitting F5 should make the jar visible in the project explorer.
>
>> I tried now now to import the jar but the system tells me source and
>> destination are the same.
>
> Clearly the system knows it's there.
>
> Two things to try:
>
> 1. Start eclipse with the -clean switch. Maybe that will shake something
> loose.
>
> 2. If not, copy some other jar file into the same folder, hit F5, and see
> if that one shows up.
>
> /Paul
>
|
|
|
Re: .jar in lib folder not visible, no filter set [message #247336 is a reply to message #247311] |
Tue, 04 September 2007 21:06 |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Paul A. Rubin" <rubin@msu.edu> wrote in message
news:fbjr6m$1aa$1@build.eclipse.org...
> Lars Vogel wrote:
>> Hi Paul,
>>
>> not sure what you mean. If I copy on the file system for example a file,
>> e.g. an icon, and press F5 on the folder the new file becomes visible.
>>
>> Are you saying .jars behave differently?
>
> No, jars behave the same in that regard. Copying a jar into a project
> folder and hitting F5 should make the jar visible in the project explorer.
You're describing the *project* explorer, but earlier Lars was talking about
the *package* explorer. These are not the same thing.
Is the lib folder on the build path? If not, then its contents won't show
in the package explorer, I think.
|
|
|
Re: .jar in lib folder not visible, no filter set [message #247340 is a reply to message #247336] |
Tue, 04 September 2007 21:30 |
|
Hi Walter,
Thank you, I'm having problems with the package explorer like you said.
The jar is in the build path, but I would think even without it should be
visible as other files, e.g. a text file which I copied on file level to
this folder, is also visible (after F5).
Best regards, Lars
"Walter Harley" <wharley@bea.com> wrote in message
news:fbkhde$1fh$1@build.eclipse.org...
> "Paul A. Rubin" <rubin@msu.edu> wrote in message
> news:fbjr6m$1aa$1@build.eclipse.org...
>> Lars Vogel wrote:
>>> Hi Paul,
>>>
>>> not sure what you mean. If I copy on the file system for example a file,
>>> e.g. an icon, and press F5 on the folder the new file becomes visible.
>>>
>>> Are you saying .jars behave differently?
>>
>> No, jars behave the same in that regard. Copying a jar into a project
>> folder and hitting F5 should make the jar visible in the project
>> explorer.
>
>
> You're describing the *project* explorer, but earlier Lars was talking
> about the *package* explorer. These are not the same thing.
>
> Is the lib folder on the build path? If not, then its contents won't show
> in the package explorer, I think.
>
|
|
|
Re: .jar in lib folder not visible, no filter set [message #247345 is a reply to message #247340] |
Tue, 04 September 2007 21:31 |
|
If I make a copy of derby.jar, e.g. derby2.jar then it is also visible.
"Lars Vogel" <Lars.Vogel@gmail.com> wrote in message
news:fbkipk$bu8$1@build.eclipse.org...
> Hi Walter,
>
> Thank you, I'm having problems with the package explorer like you said.
>
> The jar is in the build path, but I would think even without it should be
> visible as other files, e.g. a text file which I copied on file level to
> this folder, is also visible (after F5).
>
> Best regards, Lars
>
> "Walter Harley" <wharley@bea.com> wrote in message
> news:fbkhde$1fh$1@build.eclipse.org...
>> "Paul A. Rubin" <rubin@msu.edu> wrote in message
>> news:fbjr6m$1aa$1@build.eclipse.org...
>>> Lars Vogel wrote:
>>>> Hi Paul,
>>>>
>>>> not sure what you mean. If I copy on the file system for example a
>>>> file, e.g. an icon, and press F5 on the folder the new file becomes
>>>> visible.
>>>>
>>>> Are you saying .jars behave differently?
>>>
>>> No, jars behave the same in that regard. Copying a jar into a project
>>> folder and hitting F5 should make the jar visible in the project
>>> explorer.
>>
>>
>> You're describing the *project* explorer, but earlier Lars was talking
>> about the *package* explorer. These are not the same thing.
>>
>> Is the lib folder on the build path? If not, then its contents won't
>> show in the package explorer, I think.
>>
>
>
|
|
|
Re: .jar in lib folder not visible, no filter set [message #247363 is a reply to message #247267] |
Tue, 04 September 2007 22:27 |
Eclipse User |
|
|
|
Originally posted by: eclipse5.rizzoweb.com
In Package Explorer, JARs that are on the build path do NOT show up
under the folder where they are physically located. Instead they show up
under Referenced Libraries. Package Explorer is "helping" you by
grouping all libs together under that heading.
Personally, I much prefer working with the Java Browsing perspective and
Resource Navigator as opposed the the default Java perspective with the
"help" that Package Explorer brings.
Hope this helps,
Eric
Lars Vogel wrote:
> Hi Paul,
>
> not sure what you mean. If I copy on the file system for example a file,
> e.g. an icon, and press F5 on the folder the new file becomes visible.
>
> Are you saying .jars behave differently?
>
> I tried now now to import the jar but the system tells me source and
> destination are the same.
>
> Best regards, Lars
>
> "Paul A. Rubin" <rubin@msu.edu> wrote in message
> news:fbhtge$l01$1@build.eclipse.org...
>> Lars Vogel wrote:
>>> Hi,
>>>
>>> I have a folder in my eclipse project called lib which contains one file
>>> "derby.jar". I use the derby.jar in my project / build path. What I don't
>>> understand is why this file is not visible in the package explorer. The
>>> folder is visible but not the file "derby.jar".
>>>
>>> I did:
>>>
>>> 1.) Refresh the folder lib several times
>>> 2.) Unflag all filter in the package explorer
>>> 3.) Did check that the file exists
>>>
>>> Any advice?
>>>
>>> Best regards, Lars
>> Did you import the file into the project?
>>
>> /Paul
>
>
|
|
|
Re: .jar in lib folder not visible, no filter set [message #247487 is a reply to message #247363] |
Wed, 05 September 2007 20:08 |
|
Hi Eric,
thank you for your explanation I didn't realize it. Best regards, Lars
"Eric Rizzo" <eclipse5@rizzoweb.com> wrote in message
news:fbkm4c$e9a$1@build.eclipse.org...
> In Package Explorer, JARs that are on the build path do NOT show up under
> the folder where they are physically located. Instead they show up under
> Referenced Libraries. Package Explorer is "helping" you by grouping all
> libs together under that heading.
> Personally, I much prefer working with the Java Browsing perspective and
> Resource Navigator as opposed the the default Java perspective with the
> "help" that Package Explorer brings.
>
> Hope this helps,
> Eric
>
>
> Lars Vogel wrote:
>> Hi Paul,
>>
>> not sure what you mean. If I copy on the file system for example a file,
>> e.g. an icon, and press F5 on the folder the new file becomes visible.
>>
>> Are you saying .jars behave differently?
>>
>> I tried now now to import the jar but the system tells me source and
>> destination are the same.
>>
>> Best regards, Lars
>>
>> "Paul A. Rubin" <rubin@msu.edu> wrote in message
>> news:fbhtge$l01$1@build.eclipse.org...
>>> Lars Vogel wrote:
>>>> Hi,
>>>>
>>>> I have a folder in my eclipse project called lib which contains one
>>>> file "derby.jar". I use the derby.jar in my project / build path. What
>>>> I don't understand is why this file is not visible in the package
>>>> explorer. The folder is visible but not the file "derby.jar".
>>>>
>>>> I did:
>>>>
>>>> 1.) Refresh the folder lib several times
>>>> 2.) Unflag all filter in the package explorer
>>>> 3.) Did check that the file exists
>>>>
>>>> Any advice?
>>>>
>>>> Best regards, Lars
>>> Did you import the file into the project?
>>>
>>> /Paul
>>
|
|
|
Goto Forum:
Current Time: Sat Apr 27 01:53:14 GMT 2024
Powered by FUDForum. Page generated in 0.03853 seconds
|