ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gundapu, Srinivasa (MBS)" <Srinivasa.Gund...@mortgagefamily.com>
Subject RE: ftp task failing please help
Date Mon, 24 Mar 2003 21:11:25 GMT

The  ldevapp01(name of the server) is the name of the server. Is that not
enough when I run the build script in an intranet.



-----Original Message-----
From: Sebastien Blanc [mailto:Sebastien.Blanc@alcatel.com]
Sent: Monday, March 24, 2003 4:04 PM
To: Ant Users List
Subject: Re: ftp task failing please help


wat's the IP of ur ftp srv ;-?

"Gundapu, Srinivasa (MBS)" wrote:

> Hello Guys,
>
> I need your help. the target name deploy8040 is failing. Because of this,
I
> am not able to continue with the build process. Please guide me what is
> wrong. I kep kept the ANT_HOME/bin;ANT_HOME/lib; in the the System
> environment varible PATH.I still the get the probolem with ant. I also
kept
> optional.jar, NetComponets.jar and other jar that are mentioned in the
> dependencies are also in the classpath as you see the build file shown
> below.
> Please help me overcome this problem. The build file is pasted below for
> reference.
>
> <project name="doradorates" default="all" basedir="H:/Projects">
>         <property name="project" value="doradorates" />
>         <property name="src" location="${basedir}/${project}/src/" />
>         <property name="build" location="${basedir}/${project}/classes" />
>         <property name="dist" location="${basedir}/${project}/dist" />
>     <property name="gendir"  value="${basedir}/${project}" />
>     <property name="tmpdir"  value="${basedir}/${project}/src/tmpdir" />
>         <property name="libs" value="H:/javalibs" />
>         <property name="ant_libs" value="H:/javalibs/ant" />
>     <property name="wls_home"  value="c:/bea/wlserver6.1"/>
>     <property name="java_home"  value="c:/bea/jdk131"/>
>     <property name="java_classpath"
>
value="${java_home}/lib/classes.zip:${libs}/optional.jar:${libs}/NetComponen
> ts.jar"/>
>     <property name="wls_classpath"
>
value="${java_home}/lib/tools.jar:${wls_home}/lib/weblogic_sp.jar:${wls_home
> }/lib/weblogic.jar"/>
>     <property name="ant_classpath"
>
value="${ant_libs}/activation.jar:${ant_libs}/bcel.jar:${ant_libs}/bsf.jar:$
>
{ant_libs}/jakarta-oro-2.0.6.jar:${ant_libs}/jakarta-regexp-1.2.jar:${ant_li
>
bs}/jdepend.jar:${ant_libs}/junit.jar:${ant_libs}/mail.jar:${ant_libs}/NetCo
>
mponents.jar:${ant_libs}/NetRexxC.jar:${ant_libs}/NetRexxR.jar:${ant_libs}/o
>
ptional.jar:${ant_libs}/xalan.jar:${ant_libs}/xerces.jar:${ant_libs}/xml4j.j
> ar" />
>     <property name="classpath"
>
value="${ant_classpath}:${wls_classpath}:${java_classpath}:${dist}/${project
> }_patch.jar"/>
>         <target name="prepare">
>                 <tstamp/>
>                 <mkdir  dir="${build}" />
>         </target>
>         <target name="compile" depends="prepare">
>         <javac srcdir="${src}" destdir="${build}"
> classpath="H:/cendant/patch_1.2.070.jar" />
>         </target>
>         <target name="package" depends="compile">
>                 <mkdir dir="${dist}"/>
>                 <jar destfile="${dist}/${project}_patch.jar"
> basedir="${build}" />
>         </target>
>         <target name="deploy8040">
>         <ftp server="ldevapp01"
>                         userid="gundaps"
>                         password="0201gsr"
>
>
remotedir="/landscape/users/gundaps/wlserver6.1/config/CMEnt/production_apps
> /MYPATCH"
>                         depends="yes"
>                         binary="yes" >
>                         <description>connected to server</description>
>                         <fileset dir="${dist}" />
>
>                 </ftp>
>         </target>
>
>         <target name="all" depends="prepare, compile, package,
deploy8040"/>
>
> </project>
>
> Thanks,
> Srinivasa Gundapu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message