Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

1

0 votes



4 answers

Permanent link
aying wrote:
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

0 votes


Permanent link
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

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

0 votes


Permanent link
Chris,

You are absolutely right that my target platform got messed up. Apparently, the unzip tool on my Windows machine didn't unzip all the files from JazzTeamServer-Source-1.0Beta2a.zip!!! I just unzip using Filzip and hellojazz compiles :D . Thanks so much!

Annie

0 votes


Permanent link
aying wrote:
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927

Question asked: Jan 25 '08, 3:28 p.m.

Question was seen: 8,708 times

Last updated: Jan 25 '08, 3:28 p.m.

Confirmation Cancel Confirm