It's all about the answers!

Ask a question

problems with hellojazz


0
1
Annie Ying (2063103) | asked Jan 25 '08, 3:28 p.m.
JAZZ DEVELOPER
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!

4 answers



permanent link
Chris Daly (61651) | answered Jan 25 '08, 5:38 p.m.
JAZZ DEVELOPER
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

permanent link
Annie Ying (2063103) | answered Jan 25 '08, 5:58 p.m.
JAZZ DEVELOPER
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

permanent link
Annie Ying (2063103) | answered Jan 25 '08, 7:55 p.m.
JAZZ DEVELOPER
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

permanent link
Chris Daly (61651) | answered Jan 25 '08, 8:28 p.m.
JAZZ DEVELOPER
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

Your answer


Register or 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.