XUL help

Get help with Spket IDE.
Post Reply
adasilva
Posts: 4
Joined: Tue Sep 30, 2008 12:26 pm

XUL help

Post by adasilva » Tue Sep 30, 2008 12:53 pm

Hello there, I am new at extension development and I am using spket to develop my first extension. I had created one extension before following a tutorial over the net and had the extension running on my dev profile, but I cannot have the same extension developed in spket to run on correctly.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Tue Sep 30, 2008 3:40 pm

Is your extension created using Firefox Extension Project Wizard? Make sure the content in install.rdf file is correct.

adasilva
Posts: 4
Joined: Tue Sep 30, 2008 12:26 pm

Post by adasilva » Tue Sep 30, 2008 3:48 pm

Hello eric
Thanks for the reply. yes. the project is the Firefox Extension Project. and the install.rdf is the default created by the project wizard.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Tue Sep 30, 2008 4:04 pm

You should edit install.rdf according the tutorial, for example, make sure that <em:id>, <em:maxVersion> has a right value. or you can just create a empty project, then copy the files you created before.

adasilva
Posts: 4
Joined: Tue Sep 30, 2008 12:26 pm

Post by adasilva » Tue Sep 30, 2008 8:07 pm

I have done that and still does not work.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Wed Oct 01, 2008 1:03 am

The wizard is pretty weak, it just create a template, you still need to make sure install.rdf and chrome.manifest.

If you new at extension development, I think you should create a new empty project and then follow the tutorial over the net. Currently the features that Spket IDE provide is the code assist for XPCOM/XUL/XBL.

BTW, Would you mind sent the code to my email? maybe I can figure out what is wrong.

adasilva
Posts: 4
Joined: Tue Sep 30, 2008 12:26 pm

Post by adasilva » Wed Oct 01, 2008 9:06 am

Eric,
I will send you the code. Just one thing. I am using spket version 1.6.15 and when I select the firefox project it creates content, default, locate and skin folders and build.xml, chrome.manifest, install.rdf, the .ddt, .xul, .js, and .ccs files. The only thing it does not create is the chrome folder.
I will send you the files.
thanks

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Wed Oct 01, 2008 10:41 am

Hmm, there is no chrome folder, the chrome folder will be created when package.

the wizard will create build.xml file, If you know ANT, you can take a look at that file and see how the app.xpi be created.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests