Re: Cruise Control configuration for Websphere Ant build script
David Corley <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
use the antscript attribute in conjunction with antWorkingDir so:
<schedule interval="300">
<ant antscript=" C:\Program
Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\bin>ws_ant"
antWorkingDir="C:\Program
Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\bin"
buildfile="projects/${project.name}/build.xml"/>
</schedule>
Should do the trick
On Wed, Apr 8, 2009 at 12:40 PM, J D <[email protected]> wrote:
>
> In order to run an ant build for websphere it needs to be run from its
> profile folder
>
> C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\bin>ws_ant
> -buildfile C:\Project\ProjectWeb\src\build.xml
>
> But Cruise Control configuration shown below does not allow a cruise
> control
> admin to set a specific location to run the script from and neither does it
> allow you to run ws_ant instead of ant.
>
> <schedule interval="300">
> <ant anthome="apache-ant-1.7.0"
> buildfile="projects/${project.name}/build.xml"/>
> </schedule>
>
> Is there some other way of configuring cruise control ?
> --
> View this message in context:
> http://www.nabble.com/Cruise-Control-configuration-for-Websphere-Ant-build-script-tp22948565p22948565.html
> Sent from the CruiseControl - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
--
"To be or not to be. That's not really a question." - Jean-Luc Godard
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user