|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
FTP Server input node - support pack IA0X on v6 |
« View previous topic :: View next topic » |
Author |
Message
|
p.cradwick |
Posted: Thu Dec 22, 2005 8:28 pm Post subject: FTP Server input node - support pack IA0X on v6 |
|
|
Acolyte
Joined: 16 May 2001 Posts: 56
|
Hi,
Has anyone tried using this support pack in v6? We have been using it in v5, but are having problems installing it on v6. Agreed the documentation only refers to v2.1 and 5, but...we need it on v6!
Any experience of this on v6 gratefully received.
Peter |
|
Back to top |
|
 |
JT |
Posted: Fri Dec 23, 2005 9:56 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
TonyD |
Posted: Sat Dec 31, 2005 7:26 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
You can add it to the WMB6 Toolkit by changing the following in the file 'plugin.xml':
Code: |
<import match="equivalent" plugin="com.ibm.etools.mft.api" version="6.0.0"/>
<import match="equivalent" plugin="com.ibm.etools.mft.uri" version="6.0.0"/>
<import match="greaterOrEqual" plugin="org.eclipse.swt" version="3.0.1"/>
<import match="greaterOrEqual" plugin="org.eclipse.help" version="3.0.0"/>
|
and:
Code: |
<contexts file="HelpContexts.xml"/>
|
:and then copying the required files to 'install_dir\Toolkit\evtoolkit\eclipse\plugins\FTPD (or another folder name)'. If the plugin does not appear in the Toolkit palette when you restart the toolkit, trying starting it with the command 'install_dir\Toolkit\wmbt -clean.
This assumes that the plugin will work with no other modification to make it V6-compatible. |
|
Back to top |
|
 |
prasadpav |
Posted: Tue Jan 03, 2006 3:08 am Post subject: |
|
|
 Centurion
Joined: 03 Oct 2004 Posts: 142
|
Is it still not fixed?
I got this working on MB V6 after creating FTPPlugin.java based on V6 (not using the one which is there in IA0X support pack). There are few changes in this file.
Create a Message flow Plugin project named: FTPD (make sure you have src & bin directories in this java project)
Here is code for FTPPlugin.java file:
Quote: |
package FTPD;
import org.eclipse.ui.plugin.*;
import org.osgi.framework.BundleContext;
import java.util.*;
/**
* The main plugin class to be used in the desktop.
*/
public class FTPDPlugin extends AbstractUIPlugin {
//The shared instance.
private static FTPDPlugin plugin;
//Resource bundle.
private ResourceBundle resourceBundle;
/**
* The constructor.
*/
public FTPDPlugin() {
super();
plugin = this;
try {
resourceBundle = ResourceBundle.getBundle("FTPD.FTPDPluginResources");
} catch (MissingResourceException x) {
resourceBundle = null;
}
}
/**
* This method is called upon plug-in activation
*/
public void start(BundleContext context) throws Exception {
super.start(context);
}
/**
* This method is called when the plug-in is stopped
*/
public void stop(BundleContext context) throws Exception {
super.stop(context);
}
/**
* Returns the shared instance.
*/
public static FTPDPlugin getDefault() {
return plugin;
}
/**
* Returns the string from the plugin's resource bundle,
* or 'key' if not found.
*/
public static String getResourceString(String key) {
ResourceBundle bundle = FTPDPlugin.getDefault().getResourceBundle();
try {
return (bundle != null) ? bundle.getString(key) : key;
} catch (MissingResourceException e) {
return key;
}
}
/**
* Returns the plugin's resource bundle,
*/
public ResourceBundle getResourceBundle() {
return resourceBundle;
}
} |
The other code which came with the support pack (the core ftp stuff) should work as it is.
Prasad |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|