ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Bar file and Java Dependencies

Post new topic  Reply to topic
 Bar file and Java Dependencies « View previous topic :: View next topic » 
Author Message
ramzi
PostPosted: Thu Aug 10, 2006 7:10 am    Post subject: Bar file and Java Dependencies Reply with quote

Novice

Joined: 16 Aug 2004
Posts: 19
Location: France

Hi there,

I have a flow with a Java Compute Node (JCN Project) which has a project dependency (Java project) in its buildpath.

When I created the bar, I would expect that a jar is created and added to the bar but only the flow and the JCN jar are added.

But when I generate a jar from the Java Project and add it as "internal jar" to the buildpath of the "JCN Project" (and remove the project dependency), the jar is successfully added to the bar.

So my question is: does the WMB Toolkit support "Java project dependencies" for bar creation, or only "internal jar dependencies"?

Any "expert's answer" would be apprecieted


Last edited by ramzi on Fri Aug 11, 2006 8:24 am; edited 2 times in total
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Aug 10, 2006 8:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Is the java project just listed in the buildpath, or is it also listed as a project dependency?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
ramzi
PostPosted: Fri Aug 11, 2006 6:47 am    Post subject: Reply with quote

Novice

Joined: 16 Aug 2004
Posts: 19
Location: France

Hi Wayne, thanks for answering!

Currently the java project is referenced in both "buildpath" & "Project Reference" of the JCN project. It is also referenced as a project reference in the flow project.

Unfortunately, only the JCN project's jar is added in the bar generation and not the Java project jar.

Is it working with you?

Ramzi
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 11, 2006 6:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So you have three projects. A Message Flow Project, a Java project for your JCN and another Java project.

And the Toolkit is correctly building and including in the bar file the Jar for the JCN project.

And you now want to get the jar file for the other Java project to be built and included as well?

You probably need to specify the dependancies on the Message Flow project, rather than the JCN project.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ramzi
PostPosted: Fri Aug 11, 2006 7:36 am    Post subject: Reply with quote

Novice

Joined: 16 Aug 2004
Posts: 19
Location: France

Hi Jeff !

jefflowrey wrote:
So you have three projects. A Message Flow Project, a Java project for your JCN and another Java project.

Correct
jefflowrey wrote:

And the Toolkit is correctly building and including in the bar file the Jar for the JCN project.

Correct
jefflowrey wrote:

And you now want to get the jar file for the other Java project to be built and included as well?

Correct
jefflowrey wrote:

You probably need to specify the dependancies on the Message Flow project, rather than the JCN project.

I've just tried it but unfortunately it does not work !

Is it working with you?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 11, 2006 7:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ramzi wrote:
Is it working with you?


I haven't tried it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ramzi
PostPosted: Mon Aug 14, 2006 5:05 am    Post subject: Reply with quote

Novice

Joined: 16 Aug 2004
Posts: 19
Location: France

UP!

Does Anyone had the toolkit successfuly packaged jars from workspace's project into the bar?
Back to top
View user's profile Send private message
shrek
PostPosted: Mon Aug 14, 2006 11:46 am    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2005
Posts: 61
Location: Gudivada,India

ramzi...

I had success with the following directory structure

Quote:
<java project>\<package name>\*.java


However, I couldn't succeed with below set up

Quote:
<java project>\<schema name>\<package name>\*.java



In both cases, I had a project reference to java project from message flow projects.

Hope this helps.

Thanks.
Back to top
View user's profile Send private message
ramzi
PostPosted: Tue Aug 29, 2006 1:20 am    Post subject: Reply with quote

Novice

Joined: 16 Aug 2004
Posts: 19
Location: France

Hi Shrek, thanks for answering!

It didn't succeed with me, but anyway, project dependencies in JCN's buildpath are not supported by the toolkit.
I've found this chapter in the infocenter which says that only jar dependencies are supported by the toolkit.
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ac30280_.htm

Cheers,

Ramzi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Bar file and Java Dependencies
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.