Author |
Message
|
darkstar |
Posted: Tue Jan 16, 2007 7:16 am Post subject: mqsicreatebar and java compute node |
|
|
 Newbie
Joined: 16 Dec 2005 Posts: 2
|
If there is a java compute node in the message flow so there exists two projects.
Example
TestFlow and TestFlowJava
Is is possible to create for this a barfile with mqsicreatebar?
Within the barfile that is created from the toolkit is a jarfile, that contans the classes of the java compute node. The TestFlow depence from TestFlowJava.
Any hints? |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Jan 16, 2007 7:24 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi darkstar,
Did not get your question very clearly, but I think you are concerned about how the class files will be deployed.
You can either deploy them in the bar file directly or its also possible to put them into the shared classes and use them across all the flows that may need the same functionality.
Is this what you wanted to know ?
Regards. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 16, 2007 7:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It seems easy enough to test to see if mqsicreatebar adds the Java classes into the BAR file or not.
I think it certainly should. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mlafleur |
Posted: Tue Jan 16, 2007 8:23 am Post subject: |
|
|
Acolyte
Joined: 19 Feb 2004 Posts: 73
|
It currently doesn't add the jar file when using the -p option. I have opened a PMR for this and here is the latest update:
"This is a current limitation that comes from Eclipse (JDT - java
development tools). The jar packager has a UI dependency, which is
not available when running the command line.
The workaround may not be pretty, but for now you'll have to open
the toolkit, build everything, and then run the create bar via the
command.
We're working with the eclipse team to see how we can fix this as we're
moving forward." |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Jan 17, 2007 2:52 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
Facing a similar issue...
on migration of code from windows to unix...
In java flows we use toolkit's JRE eclipse library....
Now in order to deploy the bar file to unix do u mean that i need to ftp the jars to unix and set the class path accordingly......?? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 17, 2007 4:31 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You could manually add the jar files to the bar file - or script something with Ant to add the jar files to the bar file.
A bar is a jar is a zip... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|