Thanks... I'll try that...
On 11/8/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > > On Nov 8, 2007 6:11 PM, Christopher Styles <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm using Cruise Control and Websphere 6 to build and deploy my > application > > to a remote server, but when I execute the build/deploy, I get and *Ant > > Error Message*... My websphere ant tasks can't seem to be found.... If I > > comment out the taskdefs, the build portion works fine, but I need the > > websphere ant tasks for my deployment... Here's the error message: *Ant > > Error > Message:*C:\CruiseControl\projects\mib\MIB_2.X_FWD_DEV_AIX-WAS-DB2\EP_US_PSO_2.X\build\build.xml:72: > > taskdef class com.ibm.websphere.ant.tasks.StopServer cannot be found.... > > Below, is how I my have my Websphere Home and taskdefs defined in my > > build.xml... Is my Websphere Home defined correctly in order for the > > websphere ant tasks to be found...??? I'd appreciate it if someone could > > point me in the right direction... > > > > Thanks > > > > > > <property name="ws.home" value="C:/Progra~1/IBM/WebSph~/AppServer"/> > > > > > > <path id="lib.path"> > > <pathelement location="${ws.home}/lib/*.jar"/> > > </path> > > > This is incorrect. > the location attribute does not do a glob expand on *. > You need something like. > <path id="lib.path"> > <fileset dir="${ws.home}/lib" includes="*.jar"/> > </path> > > Peter > > > <taskdef name="wsStopServer" > > classname="com.ibm.websphere.ant.tasks.StopServer"> > > <classpath refid="lib.path"/> > > </taskdef> > > > > <taskdef name="wsStartServer" > > classname="com.ibm.websphere.ant.tasks.StartServer"> > > <classpath refid="lib.path"/> > > </taskdef> > > > > <taskdef name="wsUninstallApp" > > classname="com.ibm.websphere.ant.tasks.UninstallApplication"> > > <classpath refid="lib.path"/> > > </taskdef> > > > > <taskdef name="wsInstallApp" > > classname="com.ibm.websphere.ant.tasks.InstallApplication"> > > <classpath refid="lib.path"/> > > </taskdef> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >