need help installing/configuring External connector, fixed
the page https://jazz.net/wiki/bin/view/Main/ItemConnectorCreation#External_Repository_Manager
says to modify plugin.xml
but I cannot find a plugin xml that contains the defined
Clearquest/clearcase managers.
the only one I found that 'seemed' right is
ibm\rtc\server\jazz\repotools\eclipse\plugins\com.ibm.team.repository.service_1.0.2.I201006021000
but adding my plugin class to that doesn't make it appear in the
Sync editor.
I created a connection pointing to that class as its name (guessing as there are no samples)
thanks..
inbound it working, need to get outbound working now
Sam
says to modify plugin.xml
but I cannot find a plugin xml that contains the defined
Clearquest/clearcase managers.
the only one I found that 'seemed' right is
ibm\rtc\server\jazz\repotools\eclipse\plugins\com.ibm.team.repository.service_1.0.2.I201006021000
but adding my plugin class to that doesn't make it appear in the
Sync editor.
I created a connection pointing to that class as its name (guessing as there are no samples)
thanks..
inbound it working, need to get outbound working now
Sam
8 answers
the page https://jazz.net/wiki/bin/view/Main/ItemConnectorCreation#External_Repository_Manager
says to modify plugin.xml
but I cannot find a plugin xml that contains the defined
Clearquest/clearcase managers.
the only one I found that 'seemed' right is
ibm\rtc\server\jazz\repotools\eclipse\plugins\com.ibm.team.repository.service_1.0.2.I201006021000
but adding my plugin class to that doesn't make it appear in the
Sync editor.
I created a connection pointing to that class as its name (guessing as there are no samples)
thanks..
inbound it working, need to get outbound working now
Sam
Ok, I am learning all this as I go..
I exported the plugin, resolved the build problems, got its jar file.. but I still have no clue how to deploy it.
I also haven't been able to get a test server to work, some problems with an Activator class..
I looked thru all the posts here and in using, and altho there are users discussing run time problems with their connectors, there are no discussions on installing one..
this must be SO easy, that I can't see the forest for the trees..
someone point the way..
Sam
Ok, more stuff.. thanks to some youtube link
http://www.youtube.com/watch?v=0M3aVcf7rkA
menus hidden under menus,
steps: you must create a 'feature'
and an 'update-site'..
both from the eclipse new->other
and then you need to replicate the update-site folder
input by creating one of the ini files in
\jazz\server\conf\jazz\provision_profiles that will point to your update-site directory
Now I see my component in the web ui, but it is not active.. so more research
Sam
http://www.youtube.com/watch?v=0M3aVcf7rkA
menus hidden under menus,
steps: you must create a 'feature'
and an 'update-site'..
both from the eclipse new->other
and then you need to replicate the update-site folder
input by creating one of the ini files in
\jazz\server\conf\jazz\provision_profiles that will point to your update-site directory
Now I see my component in the web ui, but it is not active.. so more research
Sam
Ok, I went thru all of part 1 of the workshop.. it allows me to start the tomcat env in debug and see what is going on..
I see that my plugin is failing cause it can't find the dependant classes..
the dependant classes were build with wsdl2java, and the jar file HAS been deployed to the work/catalina/
\jazz\server\tomcat\work\Catalina\localhost\jazz\
eclipse\configuration\org.eclipse.osgi\bundles\546\1\.cp\bin
directory as the plugin package describes..
but the tomcat instance is reporting classnotfound
java.lang.ClassNotFoundException: com.sforce.soap.enterprise.LoginResult
so, I've moved the jar file to every possible lib directory and it still fails..
all of the dependent jar files are in the folder as expected..
Sam
I see that my plugin is failing cause it can't find the dependant classes..
the dependant classes were build with wsdl2java, and the jar file HAS been deployed to the work/catalina/
\jazz\server\tomcat\work\Catalina\localhost\jazz\
eclipse\configuration\org.eclipse.osgi\bundles\546\1\.cp\bin
directory as the plugin package describes..
but the tomcat instance is reporting classnotfound
java.lang.ClassNotFoundException: com.sforce.soap.enterprise.LoginResult
so, I've moved the jar file to every possible lib directory and it still fails..
all of the dependent jar files are in the folder as expected..
Sam
well.. I moved my dependant jar files into a 'lib' folder instead of 'jar' folder and it works..
and I can debug..
now on to next problem..
I setup a sync rule to manage the userids sent in from my external system.. but.. thats not what happens..
my external manager gets called for each of the users define in JAZZ.. not what I intended..
| I can differentiate with a custom user URI string
I want the external ID to be stored in the 'createdby' field of the work item. even tho this id doesn't map to any user on this system.
also interesting, is that the 'canCreate()' method gets called, but the idstring is null ""... I would have expected 'userid'.. or something..
maybe I have the sync rule messed again
| I solved this, see the itemname topic for the solution
any suggestions welcomed.
and I can debug..
now on to next problem..
I setup a sync rule to manage the userids sent in from my external system.. but.. thats not what happens..
my external manager gets called for each of the users define in JAZZ.. not what I intended..
| I can differentiate with a custom user URI string
I want the external ID to be stored in the 'createdby' field of the work item. even tho this id doesn't map to any user on this system.
also interesting, is that the 'canCreate()' method gets called, but the idstring is null ""... I would have expected 'userid'.. or something..
maybe I have the sync rule messed again
| I solved this, see the itemname topic for the solution
any suggestions welcomed.