This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Plugin does not work
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 14, 2008
09:38 AM
Plugin does not work
Hi All,
I have a custom code which works proberly if I use Execute Custom Code in the Pre-Install task. Then I create a plug-in with that code. I'm able to select the new action from the Plugin-Ins panel.
The plug-in is not working in the installer. I got an error in the Installer log.
I tried different class names, but with no luck.
Does anyone know what happens here?
Thanks,
Jens
I have a custom code which works proberly if I use Execute Custom Code in the Pre-Install task. Then I create a plug-in with that code. I'm able to select the new action from the Plugin-Ins panel.
The plug-in is not working in the installer. I got an
I tried different class names, but with no luck.
Does anyone know what happens here?
Thanks,
Jens
(12) Replies
‎Jul 14, 2008
10:39 AM
What do the contents of customcode.properties look like? Does a simpler example (not in the com.zerog.ia.customcode package) work?
‎Jul 14, 2008
10:57 AM
Hi Robert,
I did use a different class name with no luck.
Here is the contents of my customcode.properties.
****
plugin.main.class=com.zerog.ia.customcode.action.CheckPort
plugin.name=HUA Check Port
plugin.type=action
plugin.available=preinstall,install,postinstall
property.HUA_CHECKPORT_PORT=
property.HUA_CHECKPORT_CMD=
****
Thx.
Jens
I did use a different class name with no luck.
Here is the contents of my customcode.properties.
****
plugin.main.class=com.zerog.ia.customcode.action.CheckPort
plugin.name=HUA Check Port
plugin.type=action
plugin.available=preinstall,install,postinstall
property.HUA_CHECKPORT_PORT=
property.HUA_CHECKPORT_CMD=
****
Thx.
Jens
‎Jul 14, 2008
11:15 AM
To simplify, does it work if you remove the package com.zerog.ia.customcode.action; line from the Java code and then recompile, and change the plugin.main.class entry in customcode.properties to just CheckPort?
‎Jul 14, 2008
12:20 PM
I did the changes, but the error is still there.
****
Custom Action: CheckPort
Status: ERROR
Additional Notes: ERROR - class CheckPort unavailable.
****
It still works as Execute Custom Code.
****
Custom Action: CheckPort
Status: SUCCESSFUL
****
Is there something missing?
Thx
Jens
****
Custom Action: CheckPort
Status: ERROR
Additional Notes: ERROR - class CheckPort unavailable.
****
It still works as Execute Custom Code.
****
Custom Action: CheckPort
Status: SUCCESSFUL
****
Is there something missing?
Thx
Jens
‎Jul 14, 2008
05:13 PM
Hmmm... Does your custom plugin name (HUA Check Port) appear correctly in the Advanced Designer when you add the action? What are the contents of your plugin jar file?
‎Jul 15, 2008
03:31 AM
The plugin name appears correctly. The contents of the plugin jar file is simple:
customcode.properties
CheckPort.class
Manifest.mf which is located in the sub folder meta-inf\
The plugin.main.class is currently CheckPort, but this give me the error:
class CheckPort unavailable.
I also did a test by changing the plugin.name to only CheckPort, but the problem is still the same.
Any thoughts?
Thx.
Jens
customcode.properties
CheckPort.class
Manifest.mf which is located in the sub folder meta-inf\
The plugin.main.class is currently CheckPort, but this give me the error:
class CheckPort unavailable.
I also did a test by changing the plugin.name to only CheckPort, but the problem is still the same.
Any thoughts?
Thx.
Jens
‎Jul 15, 2008
08:21 AM
Can you post the code for your plugin and/or maybe the jar file? How about a sample project that can replicate your problem?
Does your plugin depend on a 3rd party library?
Does your plugin depend on a 3rd party library?
‎Jul 15, 2008
10:37 AM
It didn't work for me at first. I got the same error.
Make sure that in your customcode.properties file there are no trailing spaces or extra characters after the class name.
Make sure that in your customcode.properties file there are no trailing spaces or extra characters after the class name.