[ 
https://issues.apache.org/jira/browse/NETBEANS-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Anthony updated NETBEANS-5442:
-----------------------------------
     Attachment: image-2021-03-21-20-44-15-587.png
                 image-2021-03-21-20-45-12-747.png
                 image-2021-03-21-20-45-46-460.png
                 image-2021-03-21-20-50-12-975.png
    Description: 
In "project properties -> Libraries -> Compile" if I add a folder to the 
classpath rather than adding every .jar file individually the .jar files in the 
directory don't actually end up on the classpath.

 

Everything looks fine in the "Project Properties" window. The folder shows up 
and it can be expanded to show all the contents of the folder. But in the code 
editor none of the dependencies are found. If I try to compile or debug it 
fails since the dependencies aren't found.

 

I tried making some edits to the path in the project's "project.properties" 
files but didn't have any success.

 

Additional Details:

This occurs on "Java with Ant" projects.

 

Dependency added as a folder:

!image-2021-03-21-20-50-12-975.png!

 

ImageJ is not found:

!image-2021-03-21-20-44-15-587.png!

 

Dependency .JAR file added individually:

!image-2021-03-21-20-45-12-747.png!

No problem:

!image-2021-03-21-20-45-46-460.png!

  was:
In "project properties -> Libraries -> Compile" if I add a folder to the 
classpath rather than adding every .jar file individually the .jar files in the 
directory don't actually end up on the classpath.

 

Everything looks fine in the "Project Properties" window. The folder shows up 
and it can be expanded to show all the contents of the folder. But in the code 
editor none of the dependencies are found. If I try to compile or debug it 
fails since the dependencies aren't found.

 

I tried making some edits to the path in the project's "project.properties" 
files but didn't have any success.


> Adding folder of Jar files to classpath has no effect.
> ------------------------------------------------------
>
>                 Key: NETBEANS-5442
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5442
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Classpath
>    Affects Versions: 8.2, 9.0, 12.0
>         Environment: Windows 7 and Windows 10. Other platforms untested.
>            Reporter: Nick Anthony
>            Priority: Minor
>         Attachments: image-2021-03-21-20-44-15-587.png, 
> image-2021-03-21-20-45-12-747.png, image-2021-03-21-20-45-46-460.png, 
> image-2021-03-21-20-50-12-975.png
>
>
> In "project properties -> Libraries -> Compile" if I add a folder to the 
> classpath rather than adding every .jar file individually the .jar files in 
> the directory don't actually end up on the classpath.
>  
> Everything looks fine in the "Project Properties" window. The folder shows up 
> and it can be expanded to show all the contents of the folder. But in the 
> code editor none of the dependencies are found. If I try to compile or debug 
> it fails since the dependencies aren't found.
>  
> I tried making some edits to the path in the project's "project.properties" 
> files but didn't have any success.
>  
> Additional Details:
> This occurs on "Java with Ant" projects.
>  
> Dependency added as a folder:
> !image-2021-03-21-20-50-12-975.png!
>  
> ImageJ is not found:
> !image-2021-03-21-20-44-15-587.png!
>  
> Dependency .JAR file added individually:
> !image-2021-03-21-20-45-12-747.png!
> No problem:
> !image-2021-03-21-20-45-46-460.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to