[英]How do I blacklist files in .tproject using Tizen Studio
Disclaimer: I have no idea what I am doing here. 免责声明:我不知道我在这里做什么。
I was given a project with a large .tproject file (7956 lines). 我得到了一个带有大.tproject文件(7956行)的项目。 This is because it is blacklisting numerous files that shouldn't build.
这是因为它正在将不应构建的许多文件列入黑名单。 It's mostly node_modules.
主要是node_modules。 Each file in a module is blacklisted.
模块中的每个文件都被列入黑名单。
Making sure I have installed the node packages, I have followed these steps: 确保已经安装了节点软件包,请按照以下步骤操作:
I get this message: 我收到此消息:
Resource '/project' already exists
and then: 接着:
Errors occurred during the build.
Errors running builder 'Tizen Web Builder' on project 'DStv Now'.
java.lang.NullPointerException
What I want to know:
我想知道的是:
- To get the NullPointerException, my project is definitely missing something in order to get setup.
为了获得NullPointerException,我的项目肯定缺少某些东西以便进行设置。 Any ideas what could be missing?
有什么想法可能会丢失吗?
- How do I import the project as a Tizen TV application?
如何将项目导入为Tizen TV应用程序?
- How is the .tproject file created?
.tproject文件如何创建?
- Is it a suitable file to add to .gitignore?
添加到.gitignore是否合适? It looks auto generated.
它看起来是自动生成的。
- If not, is there a way to use regex to blacklist files instead of listing them one by one?
如果不是,是否可以使用正则表达式将文件列入黑名单,而不是一一列出?
What I know about .tproject is, It holds Project template Information. 我对.tproject了解的是,它包含项目模板信息。 Like : tv-samsung-3.0, wearable-2.3.2.
像:三星电视3.0,可穿戴2.3.2。 This will change only when the developer changes the template for some reason (Suppose update app for new tizen version).
仅当开发人员出于某些原因更改模板时(这将更改为新的tizen版本的更新应用程序),这将更改。
About Importing Tizen TV Project-> 关于导入Tizen TV项目->
Tizen-Studio > File > Import > Tizen > Tizen Project > Root Directory > Select Specific Project Folder Tizen Studio>文件>导入> Tizen> Tizen项目>根目录> 选择特定项目文件夹
If every-thing's okay till now you would see a project on Project list. 如果到目前为止一切正常,您将在“项目”列表中看到一个项目。 Set the Profile and Version, then finish.
设置配置文件和版本,然后完成。 The project should be on your Tizen-Studio Project Explorer.
该项目应该在您的Tizen-Studio Project Explorer中。 Project > Clean > Build.
项目>清理>构建。
About .gitignore what I can suggest is to add only the files that get removed at Clean Project command. 关于.gitignore,我建议您仅添加在Clean Project命令中删除的文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.