简体   繁体   English

有什么方法可以将 .CAR 文件 (WSO2) 导入 Eclipse Developer Studio?

[英]Is there any way to import a .CAR file (WSO2) to Eclipse Developer Studio?

I need to import a .CAR file to Eclipse Developer Studio.我需要将 .CAR 文件导入 Eclipse Developer Studio。

This .CAR file was generated from Enterprise Service Bus Project (wso2).此 .CAR 文件是从企业服务总线项目 (wso2) 生成的。

Is there any way to do this?有没有办法做到这一点?

Not directly, but you can extract the .car (using 7zip or renaming to .zip) and import the the artifacts one by one in your project.不是直接,但您可以提取 .car(使用 7zip 或重命名为 .zip)并在您的项目中一一导入工件。 Note: many artifacts can be imported not using 'import' but using 'new->select from file'.注意:许多工件可以不使用“导入”而是使用“新建->从文件中选择”来导入。

I'm afraid but AFAIK there is no option to import a .CAR file to Dev Studio.恐怕但 AFAIK 没有将 .CAR 文件导入 Dev Studio 的选项。 CAR file is just a deploy able archive file, which packs deploy able artifacts into a single file. CAR 文件只是一个可部署的存档文件,它将可部署的工件打包到一个文件中。

With Integration Studio 8 and your project file ranamed from .car into .zip:使用 Integration Studio 8 并将您的项目文件从 .car 命名为 .zip:

File |档案 | Open Project from File System... |从文件系统打开项目... | Archive...档案...

This allows you to edit all artifacts by means of Integration Studio's GUI panels though you cannot run the project.这允许您通过 Integration Studio 的 GUI 面板编辑所有工件,尽管您无法运行该项目。 Don't even try the Export to Archive File in Integration Studio but after editing the artifacts, zip all of the their folders again in the filesystem to bring back the project .zip file, then manually rename it to .car and import it in WSO2.甚至不要尝试在 Integration Studio 中导出到存档文件,但在编辑工件后,再次在文件系统中压缩所有文件夹以恢复项目 .zip 文件,然后手动将其重命名为 .car 并将其导入 WSO2 .

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM