problems with hellojazz
I am probably missing something really basic, but I'm having troubles compiling the hellojazz example from the article "Hello Jazz -- How to write a simple Jazz component" (https://jazz.net/learn/content/docs/hello-jazz/com.example.hellojazz-plugins-source.zip) on Windows. Interestingly, I can compile the example on MacOX.
The problem is that my workspace in my Windows machine is not seeing the server plugins, so references to com.ibm.team.repository.service.AbstractService result in compilation errors.
I did set up my Jazz installation with both the server and the client as suggested in "Workspace Setup - Preparing to Develop a Jazz Client or Jazz Component" (https://jazz.net/learn/LearnItem.jsp?href=content/docs/workspace-setup/index.html) . More specifically, I unzipped by the server and the client in the installation directory.
Thanks in advance for the help!
The problem is that my workspace in my Windows machine is not seeing the server plugins, so references to com.ibm.team.repository.service.AbstractService result in compilation errors.
I did set up my Jazz installation with both the server and the client as suggested in "Workspace Setup - Preparing to Develop a Jazz Client or Jazz Component" (https://jazz.net/learn/LearnItem.jsp?href=content/docs/workspace-setup/index.html) . More specifically, I unzipped by the server and the client in the installation directory.
Thanks in advance for the help!
4 answers
aying wrote:
Are you using Beta2a? I'm able to compile and run hellojazz on windows
with Beta2a here. A few ideas:
- Restart TeamConcert and clean all projects.
- Double check that you unzipped everything in the same location.
- Is it possible you did something to mess-up the target platform?
There are two sections about target platform setup. I would stick with
the one called "Development With The Jazz Client". I think there is a
problem with the other one ("Development Eclipse Without Jazz") and
Beta2. I just filed workitem 42726 for this.
Hope this helps...
--
Chris Daly
Jazz Component Development Team
I am probably missing something really basic, but I'm having troubles
compiling the hellojazz example from the article "Hello Jazz --
How to write a simple Jazz component"
(https://jazz.net/learn/content/docs/hello-jazz/com.example.hellojazz-plugins-source.zip)
on Windows. Interestingly, I can compile the example on MacOX.
The problem is that my workspace in my Windows machine is not seeing
the server plugins, so references to
com.ibm.team.repository.service.AbstractService result in compilation
errors.
I did set up my Jazz installation with both the server and the client
as suggested in "Workspace Setup - Preparing to Develop a Jazz
Client or Jazz Component"
(https://jazz.net/learn/LearnItem.jsp?href=content/docs/workspace-setup/index.html)
More specifically, I unzipped by the server and the client in the
installation directory.
Thanks in advance for the help!
Are you using Beta2a? I'm able to compile and run hellojazz on windows
with Beta2a here. A few ideas:
- Restart TeamConcert and clean all projects.
- Double check that you unzipped everything in the same location.
- Is it possible you did something to mess-up the target platform?
There are two sections about target platform setup. I would stick with
the one called "Development With The Jazz Client". I think there is a
problem with the other one ("Development Eclipse Without Jazz") and
Beta2. I just filed workitem 42726 for this.
Hope this helps...
--
Chris Daly
Jazz Component Development Team
Chris,
Thanks for your help! Yes, I'm using Beta2a, I restarted/cleaned the workspace, I did unzip everything in the same location, I did do development using the Jazz client, but the problem still persists...
I agree with you that it does sound like something may be wrong with the target platform. Did you remember doing anything special to the target platform when you first install the client and server?
Thanks,
Annie
Thanks for your help! Yes, I'm using Beta2a, I restarted/cleaned the workspace, I did unzip everything in the same location, I did do development using the Jazz client, but the problem still persists...
I agree with you that it does sound like something may be wrong with the target platform. Did you remember doing anything special to the target platform when you first install the client and server?
Thanks,
Annie
aying wrote:
Are you using Beta2a? I'm able to compile and run hellojazz on windows
with Beta2a here. A few ideas:
- Restart TeamConcert and clean all projects.
- Double check that you unzipped everything in the same location.
- Is it possible you did something to mess-up the target platform?
There are two sections about target platform setup. I would stick with
the one called "Development With The Jazz Client". I think there is a
problem with the other one ("Development Eclipse Without Jazz") and
Beta2. I just filed workitem 42726 for this.
Hope this helps...
--
Chris Daly
Jazz Component Development Team
aying wrote:
I didn't do anything special to the target platform. It should default
to /jazz/client/eclipse and I just leave it at that.
Another thought, did you unzip all 4 zips:
JazzTeamServer-1.0Beta2a.zip
JazzTeamServer-Source-1.0Beta2a.zip
TeamConcert-1.0Beta2a-win32.zip
TeamConcert-Source-1.0Beta2a.zip
I think you would see the behavior you're seeing if you didn't unzip the
server-source zip - but you got it working on macos and the same thing
would be required there.
The way that the default target platform works (under the hood) is by
pulling in everything referenced by the .link files you will find in
/jazz/client/eclipse/links. One of those should be
serversource.link which points to ../../source/server which resolves to
/jazz/source/server. If you look over there in
/jazz/source/server/eclipse/plugins should be the plugin
that you are having trouble resolving
(com.ibm.team.repository.service_....jar). So you could check that the
plugin exists where it should. It's possible that there was some error
in the unzip process that resulted in you not getting all the files
unzipped....
--
Chris Daly
Jazz Component Development Team
Chris,
Thanks for your help! Yes, I'm using Beta2a, I restarted/cleaned the
workspace, I did unzip everything in the same location, I did do
development using the Jazz client, but the problem still persists...
I agree with you that it does sound like something may be wrong with
the target platform. Did you remember doing anything special to the
target platform when you first install the client and server?
I didn't do anything special to the target platform. It should default
to /jazz/client/eclipse and I just leave it at that.
Another thought, did you unzip all 4 zips:
JazzTeamServer-1.0Beta2a.zip
JazzTeamServer-Source-1.0Beta2a.zip
TeamConcert-1.0Beta2a-win32.zip
TeamConcert-Source-1.0Beta2a.zip
I think you would see the behavior you're seeing if you didn't unzip the
server-source zip - but you got it working on macos and the same thing
would be required there.
The way that the default target platform works (under the hood) is by
pulling in everything referenced by the .link files you will find in
/jazz/client/eclipse/links. One of those should be
serversource.link which points to ../../source/server which resolves to
/jazz/source/server. If you look over there in
/jazz/source/server/eclipse/plugins should be the plugin
that you are having trouble resolving
(com.ibm.team.repository.service_....jar). So you could check that the
plugin exists where it should. It's possible that there was some error
in the unzip process that resulted in you not getting all the files
unzipped....
--
Chris Daly
Jazz Component Development Team