Skip to content

【重开】【历史 Issue】compileScript 获取 jar 包内部文件的方案讨论 #699

@lantingeee

Description

@lantingeee

基于历史 Issue 的一个讨论:#673

当前 compileScript 方法仅提供了 path 作为入参的调用方法,不支持自行封装(如果有可以满足需求,且 elegant 的方法建议,劳烦指教)。

在 将 aviator 作为 基建 jar 接入时,由于Java 原生以下的特性:

    1. jar 包内部的文件无法直接通过 File 或 Path 操作。
    2. 必须通过类加载器以流的方式访问资源。

所以希望能够 review + approve, #659

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions