[
https://issues.apache.org/jira/browse/NETBEANS-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305819#comment-17305819
]
Nick Anthony commented on NETBEANS-5442:
----------------------------------------
Sorry about that. I added a few screenshots which I hope help to explain the
issue. This occurs on "Java with Ant" projects.
> 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!
>
> The `project.properties` file when adding a dependency folder rather than
> each JAR file individually looks like this:
> ```
> file.reference.Release-x64=C:\\Users\\nicke\\Documents\\git\\micro-manager\\stage\\Release\\x64
> includes=**
> jar.compress=false
> javac.classpath=\
> ${file.reference.Release-x64}
> ```
> Which seems fine to me but doesn't actually work.
--
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