打包Magento扩展程序时找不到包 [英] Can't find the package when packaging a Magento Extension

查看:75
本文介绍了打包Magento扩展程序时找不到包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为magento创建了一个新主题.我想将其提交给社区.当我尝试打包扩展名时,我收到打包数据已保存消息,但是没有打包在var/pear目录中.无法在localhost中打包扩展名吗?您需要更多信息吗?有任何帮助将不胜感激.

I have created a new theme for magento.I want to submit it to the communtity.When i tried to package extension,I m getting The package data has been saved message,but there is no package in var/pear directory.Is it not possible to pack extension in localhost?Do you need more information?Any help would be appreciated.

推荐答案

请参阅此文章:-检查数据是否正确填充.

Check if the data is filled correctly.

在创建扩展程序包时,在 Package Info-> Supported releases

While creating your extension package, under Package Info -> Supported releases

  • 如果您选择了" 1.5.0.0及更高版本",则您的扩展程序包将存储在 var/connect 目录中.这支持Magento connect 2.0.

  • If you have chosen "1.5.0.0 & later" then your extension package is stored in var/connect directory. This supports Magento connect 2.0.

如果您选择了" 1.5.0.0之前的版本",则您的扩展程序包将存储在 var/pear 目录中.这是针对Magento connect 1.0的.

If you have chosen "Pre-1.5.0.0" then your extension package is stored in var/pear directory. This is for Magento connect 1.0.

如果您同时选择了这两个选项,则扩展软件包将存储在两个位置(var/connect和var/pear).

If you have selected both options, then the extension packages is stored in both places (var/connect and var/pear).

从var/pear上传1.0版本时-Magento Connect将 为您制作2.0版本.如果您只想支持1.5和 较高版本的Magento,然后才从 var/connect目录到Magento.来源: http://www.magentocommerce.com/wiki/7_-_magento_connect/packaging_a_magento_extension_in_1.5

When uploading the 1.0 version from var/pear – Magento Connect will make the 2.0 version for you. If you wish to only support 1.5 and higher versions of Magento only then only upload the 2.0 file from the var/connect directory to Magento. Source: http://www.magentocommerce.com/wiki/7_-_magento_connect/packaging_a_magento_extension_in_1.5

修改:

我尝试使用 app/design 皮肤文件夹创建一个程序包.一切正常,我可以在 var/pear 包文件中看到其他文件夹和文件.

I tried to create a package with app/design and skin folder. It worked fine and I could see other folder and files in the package file inside var/pear.

我测试了默认主题和默认外观.在"内容"部分中,我一直这样:-

I tested with default theme and default skin. In 'Contents' section, I kept like this:-

Target: Magento Theme Skin
Path: frontend/default/default
Type: Recursive Dir

Target: Magento User Interface
Path: frontend/default/default
Type: Recursive Dir

这篇关于打包Magento扩展程序时找不到包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆