It's all about the answers!

Ask a question

Building WID WPS projects with RTC example


Rob Logie (33825041) | asked Nov 14 '10, 11:39 p.m.
Hi
Does anyone have any example build scripts for building Websphere Integration Developer WepSphere Process Server projects in Rational Team Concert that they could share ?

Thanks in advance

Rob

4 answers



permanent link
Nick Edgar (6.5k711) | answered Nov 22 '10, 2:37 p.m.
JAZZ DEVELOPER
Hi Rob,

Sorry for the delay in responding. I asked someone from the WID team, who responded with:

Customers normally use one of two methods to automate a WID/WPS build process.

The first is to leverage the serviceDeploy command line utility from WPS. This allows the customer to build deployable EARs from the source module project in a headless way (no Eclipse UI necessary). More details about this can be found here:

http://publib.boulder.ibm.com/infocenter/dmndhelp/v7r0mx/index.jsp?topic=/com.ibm.websphere.wps.doc/doc/rdev_servicedeploy.html

The second way is to use WID ANT support. You'd normally use this technique if you have component test projects which also need to be built with the system because serviceDeploy would not create an EAR for these projects prior to WID V7 (from V7 on, it is better to use serviceDeploy for everything).

Details about this can be found here:
http://publib.boulder.ibm.com/infocenter/dmndhelp/v7r0mx/index.jsp?topic=/com.ibm.wbit.help.comptest.doc/topics/tscripttest.html

Finally, here is an article talking about automating builds for WID/WPS, which might be of some use:
http://www.ibm.com/developerworks/websphere/library/techarticles/0711_manekar/0711_manekar.html

Hope this helps!!!

permanent link
Rahul Pawar (7121) | answered Dec 17 '10, 6:40 a.m.
Hi Rob

Nick has provided already provided you appropriate links.

In addition, if you want to Fetch the code from RTC in automated manner using Ant, you can look at the link: http://jazz.net/forums/viewtopic.php?p=44207

We are also trying to build the WPS mediations in automated manner and came across some defects in serviceDeploy. For this IBM suggested to upgrade the WPS to 7.0.0.3 & then apply the fix packs: JR38070, JR38174, IC72369 in this order.

You can download them from IBM Fix Central @ http://www-933.ibm.com/support/fixcentral/

You can read the instructions on how to install them @ Manually installing an interim fix:
http://publib.boulder.ibm.com/infocenter/dmndhelp/v7r0mx/topic/com.ibm.websphere.wesb.doc/doc/tins_installingfix_manually.html

There is still a small issue with serviceDeploy + RTC. Refer link:
https://www-304.ibm.com/support/docview.wss?uid=swg21384239 and
http://jazz.net/forums/viewtopic.php?p=47955

But other than the issue of .smap files reported in the above links the serviceDeploy.bat will run absolutely fine after the upgrade and mentioned patches.

Thanks
Rahul


Hi
Does anyone have any example build scripts for building Websphere Integration Developer WepSphere Process Server projects in Rational Team Concert that they could share ?

Thanks in advance

Rob

Comments
Jirong Hu commented Jul 02 '12, 10:02 a.m.

Hi Guys

I am using WID 7's serviceDeploy.bat to generate the EAR file. How can I inject some build information into the MANIFEST.MF file? I want something like this:

Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Build-Jdk: 1.6.0 Implementation-Title: CdiWebServicesEar Implementation-Vendor-Id: com.nbfg.cdi Built-By: NBFG Implementation-Version: 2.3.4-20120622.195932-29

I notice this command during the run: [exec] The CDIPubSubMgmtMedApp project is being created.


permanent link
Jirong Hu (1.5k9290258) | answered Jul 02 '12, 10:06 a.m.
Hi Guys

I am using WID 7's serviceDeploy.bat to generate the EAR file. How can I inject some build information into the MANIFEST.MF file? I want something like this:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Build-Jdk: 1.6.0
Implementation-Title: CdiWebServicesEar
Implementation-Vendor-Id: com.nbfg.cdi
Built-By: NBFG
Implementation-Version: 2.3.4-20120622.195932-29

But the default is as follows:
Manifest-Version: 1.0
Created-By: 1.5.0 (IBM Corporation)
DeployVersion: 7.0.0.0


I notice this command during the run: [exec] The CDIPubSubMgmtMedApp project is being created. and I believe it's using a default MANIFEST.MF.

[INFO] Running with /c call C:/IBM/WID7_WTE/runtimes/bi_v7/profiles/qesb/bin/serviceDeploy.bat C:\Sandbox\MDM\CDIPubSubM
gmtMed\..\build\target\CDIPubSubMgmtMed/CDIPubSubMgmtMed-servicedeploy.zip -workingDirectory C:\Sandbox\MDM\CDIPubSubMgm
tMed\..\build\target\CDIPubSubMgmtMed/servicedeploy -outputApplication C:\Sandbox\MDM\CDIPubSubMgmtMed\..\build\target\C
DIPubSubMgmtMed/CDIPubSubMgmtMed-2.3.4-SNAPSHOT.ear -keep true -ignoreErrors false
     [exec] The workbench is starting in C:\Sandbox\MDM\build\target\CDIPubSubMgmtMed\servicedeploy\138442eb9e5.
     [exec] The workspace is initializing.
     [exec] CDIPubSubMgmtMed-servicedeploy.zip was successfully imported into the workspace.
     [exec] The CDIPubSubMgmtMedApp project is being created.
     [exec] The CDIPubSubMgmtMedWeb project is being created.
     [exec] The CDIPubSubMgmtMed project is building.
     [exec] CDIPubSubMgmtMed is being validated.
     [exec] The following 2 warning messages were reported during deployment:
     [exec] Severity:   [warning]
     [exec] Description:        CWSCA8095W: Unable to find class com.ibm.ws.sib.api.jmsra.JmsJcaManagedConnectionFactory
, please make sure the classpath is properly set up.
     [exec] Resource:   ClientInfoEventPublishImport.import
     [exec] Location:
     [exec] Severity:   [warning]
     [exec] Description:        CWZMU0044E: The fail terminal of the manageIndividualEvent : CDIServicePartner callout r
esponse primitive is not connected.
     [exec] Resource:   CDIPubSubMgmtMed.medflow
     [exec] Location:
     [exec] The C:\Sandbox\MDM\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\CDIPubSubMgmtMed-2.3.4-SNAPSHOT.ear app
lication is being exported.
     [exec] Deployment has completed.

permanent link
Chris Graham (367814) | answered Aug 19 '14, 1:04 a.m.
H Rob and Jirong.

Please see:

http://mojo.codehaus.org/was6-maven-plugin/servicedeploy-mojo.html

-Chris

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.