question

hemant avatar image
hemant asked hemant posted

problem with exporting the plug-in

Hi,

 

kumar  posted a solution in the forum regarding this problem that is as follows

 

Once you get your plugin jar file, you can copy it to any iTest installation by copying the jar to "plugins" folder of the installation. After that, you should clean up: .iTestConfiguration_<version> folder and start iTest.

 

This is a hacker's way of adding a new plugin.

 

The correct and recommended way is as follows:

1. Create a feature project for your plugin.

2. Add your plugin to the feature.

3. Create an update-site project for your feature.

4. Add your feature to the update site.

5. Export the update site to a zip file.

 

Then use iTest->Help->Software Updates menu item to install the feature from the update site zip file.

 

 

I am unable to get the last step where we need install it from software updates.When i click the new archieved site to install

the update site zip file.It shows a message "selected archieve does not contain an update site.please select another archieve."

 

Looking for an early response.

iTestsdk
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
AdamB avatar image
AdamB answered AdamB posted

You've got it almost right. When creating the Zip, you want to only have the contents of your update site in the zip, not the folder the update site is in. i.e. when you open it, you should see

 

  • site.xml
  • plugins
  • features

 

iTest needs to see a site.xml at the top level. I generally open it up in Windows Explorer and then open the update site folder, select all the contents and say SendToArchive. Or use 7Zip the same way.

 

I've had this same problem a number of times myself, so know through lots of experience.

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hemant avatar image hemant commented ·

Thanks Adam.I got the solution

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.