Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Matrix_Lee
Beginner
87 Views

When I delete a old project and reopen a new project with the same name of old project, the old setting is come back

When I delete a old project and reopen a new project with the same name of old project, the old setting is come back.

How can I remove old project totally, so I can open a new project with the same name.

I am using blank HTML5+Cordova with app designer mode to create a new project.

For example I have an old project is in bootstrap mode app designer,
when I remove the old project and reopen a new project in the same name, it will automatically choose bootstrap, and I cannot choose other app designer.

Thank you .

 

Tags (2)
0 Kudos
7 Replies
PaulF_IntelCorp
Employee
87 Views

When you delete a project it doesn't delete the files. When you create a new project with the same name, if the old one is there it just reuses it, so you need to remove the existing project files (or rename the old project folder) if you want to reuse an already used project name.

Matrix_Lee
Beginner
87 Views

This problem was happened when even I have removed the old folder.

It will still remember the settings and effect the same name new project.

That's why I feel strange to ask the problem.

Thank you for your help.

PaulF_IntelCorp
Employee
87 Views

You're correct. I just reproduced it. I'll file a bug report.

Matrix_Lee
Beginner
87 Views

Thank you.

Matrix_Lee
Beginner
87 Views

It seems the problem solved, right?

PaulF_IntelCorp
Employee
87 Views

Matrix -- the problem has not been solved, it has been identified. There is a bug request filed, but it is not clear when it will be fixed. In the meantime, there is a workaround:

IMPORTANT!! Pay very close attention to the commas on the line preceding the "framework" line, this file must be a valid JSON file when you are done or the XDK will not read it properly!!! I highly advise you make a copy before editing this file!!!!

In other words, change the entries from something like this:

...
    "FILE-/Users/myname/Documents/XDK/notifiers-ad-af/index.html": {
      "canvas_width": 414,
      "canvas_height": 480,
      "framework": "app framework"
    },
    "FILE-/Users/myname/Documents/XDK/demo-app-framework/index.html": {
      "canvas_width": 320,
      "canvas_height": 480
    },
    "FILE-/Users/myname/Documents/XDK/test-ad-jquery/index.html": {
      "canvas_width": 320,
      "canvas_height": 556,
      "framework": "app framework"
    },
...

to something like this:

...
    "FILE-/Users/myname/Documents/XDK/notifiers-ad-af/index.html": {
      "canvas_width": 414,
      "canvas_height": 480
    },
    "FILE-/Users/myname/Documents/XDK/demo-app-framework/index.html": {
      "canvas_width": 320,
      "canvas_height": 480
    },
    "FILE-/Users/myname/Documents/XDK/test-ad-jquery/index.html": {
      "canvas_width": 320,
      "canvas_height": 556
    },
...

IMPORTANT!! Pay very close attention to the commas on the line preceding the "framework" line, this file must be a valid JSON file when you are done or the XDK will not read it properly!!! I highly advise you make a copy before editing this file!!!!

Matrix_Lee
Beginner
87 Views

Dear Paul,

Thank you very much.

 Matrix

Reply