Title: 读取 Ant build.xml 里 lib 目录之外的 classpath · Issue #7 · Lithe-IDEA/lithe-plugin-java-navigation · GitHub
Open Graph Title: 读取 Ant build.xml 里 lib 目录之外的 classpath · Issue #7 · Lithe-IDEA/lithe-plugin-java-navigation
X Title: 读取 Ant build.xml 里 lib 目录之外的 classpath · Issue #7 · Lithe-IDEA/lithe-plugin-java-navigation
Description: #6 已经支持读工作区里的 jar:Eclipse .classpath 里列出的 jar,以及 lib/、libs/、WEB-INF/lib 下的 jar。但 Ant 的 build.xml 如果把 jar 放在别的目录,比如
Open Graph Description: #6 已经支持读工作区里的 jar:Eclipse .classpath 里列出的 jar,以及 lib/、libs/、WEB-INF/lib 下的 jar。但 Ant 的 build.xml 如果把 jar 放在别的目录,比如
X Description: #6 已经支持读工作区里的 jar:Eclipse .classpath 里列出的 jar,以及 lib/、libs/、WEB-INF/lib 下的 jar。但 Ant 的 build.xml 如果把 jar 放在别的目录,比如 <pathelement location="ext/x.jar"/>,或 <fileset dir="${thir...
Opengraph URL: https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/issues/7
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"读取 Ant build.xml 里 lib 目录之外的 classpath","articleBody":"#6 已经支持读工作区里的 jar:Eclipse `.classpath` 里列出的 jar,以及 `lib/`、`libs/`、`WEB-INF/lib` 下的 jar。但 Ant 的 `build.xml` 如果把 jar 放在别的目录,比如 `\u003cpathelement location=\"ext/x.jar\"/>`,或 `\u003cfileset dir=\"${thirdparty.dir}\"/>`,这些 jar 还读不到。\n\n思路:解析 `build.xml` 里 `\u003cpath>`/`\u003cclasspath>` 下的 `pathelement` 和 `fileset`;属性先从同目录的 `build.properties` 和 `\u003cproperty>` 里求值,求不出来的条目跳过。不运行 Ant。\n\n验收:找一个 jar 不放在 lib 目录的 Ant 项目,用 `cmd/nav-bench -under` 测改动前后的命中率和内存。","author":{"url":"https://github.com/1lck","@type":"Person","name":"1lck"},"datePublished":"2026-11-13T04:07:48Z","url":"https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/issues/7"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d291b98f-f0f3-0b89-40f1-890ea1c30c00 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A076:B1DAA:7EF73C:AFF480:6B070EB0 |
| html-safe-nonce | d8aabdcb659d9fe0284bec886c575ed0e27095bd39df88818413bc2c32bb0112 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDc2OkIxREFBOjdFRjczQzpBRkY0ODA6NkIwNzBFQjAiLCJ2aXNpdG9yX2lkIjoiMjg2MDYxMTMyMjMxNDY5MDIyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0ab6b0199e9f5a4913a661842fdac1a957f50cf1c8cc26ef93c40bf69c613876 |
| hovercard-subject-tag | issue:6364499231 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Lithe-IDEA/lithe-plugin-java-navigation/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00e375a791f4cacb3202cae727b8fc3c6b6c66fcc59deacffbd9186db75b5772/Lithe-IDEA/lithe-plugin-java-navigation/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00e375a791f4cacb3202cae727b8fc3c6b6c66fcc59deacffbd9186db75b5772/Lithe-IDEA/lithe-plugin-java-navigation/issues/7 |
| og:image:alt | #6 已经支持读工作区里的 jar:Eclipse .classpath 里列出的 jar,以及 lib/、libs/、WEB-INF/lib 下的 jar。但 Ant 的 build.xml 如果把 jar 放在别的目录,比如 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 1lck |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9aaa1abe1aaef39a8543ab08df7a776c3243275815d741d29afa7b02148ca05e |
| turbo-cache-control | no-preview |
| go-import | github.com/Lithe-IDEA/lithe-plugin-java-navigation git https://github.com/Lithe-IDEA/lithe-plugin-java-navigation.git |
| octolytics-dimension-user_id | 340144206 |
| octolytics-dimension-user_login | Lithe-IDEA |
| octolytics-dimension-repository_id | 1455228792 |
| octolytics-dimension-repository_nwo | Lithe-IDEA/lithe-plugin-java-navigation |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1455228792 |
| octolytics-dimension-repository_network_root_nwo | Lithe-IDEA/lithe-plugin-java-navigation |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44c43783771de038e2c401dd343799000e8d1253 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width