Languages

Menu
Sites
Language
Resource Filter not working

I created a few resource filters to exclude files that are not needed in the final package.

like below

But it's not working. Those files are still present in the generated wgt file. What a Junk IDE Tizen IDE is!!! It's such an incompetent piece of software.

 

Responses

5 Replies
Raghavendra Reddy Shiva

Filters are working fine for me. Have followed below steps to verify,

1) Have filtered couple of folders and files from a project (make sure you don't see them after this step) 

2) Build the project (clean and build, if the project is already built).

3) Save the *.wgt file elsewhere 

4) Deleted the old project from workspace (project contents from disc too, so suggest to have a copy of your project).

5) Imported the  *.wgt file back.

And now, i don't see the filetered files or folders in my imported project anymore.

 

There's one more method you can try, using the CLI commands. 

Use "web-build" command, which creates a temporary directory of the project for signing and packaging after doing some build operations like, optimizing or file excluding (was able to exclude the file though, but not directory and also the pattern matching characters aren't working :( ).

Ex:  web-build . -e data/wine.json

Where, "data" is a folder in my project which contains wine.json file. After doing this you may have to sign and package the project manually.

Refere below for the CLI commands,

https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.web.appprogramming%2Fhtml%2Fide_sdk_tools%2Fcommand_line_interface.htm

Imgen Tata

You call these steps working? No offense. But this black magic or witchcraft is such a pain, I'll probably continue to do the manual packaging I am doing now. And I cannot even get pass with the first step. After creating resource filter, I still see those files/folders.

Raghavendra Reddy Shiva

Try refreshing the project, after the first step and see if the filtered files or folders are unlisted from the project explorer.

Taeyoung Son

If you want to exclude folders using CLI commands, you can exclude like this:

Ex: web-build . -e "data/*" or

      web-build . -e data/\*

it will be worked well :)

 

tizendevteam T

Hi all,

Currently resource filter is not available in Web IDE . In other words , IDE does not reflect the filter though a user set the resource filter.

It will be included in the Next version.

 

Thanks