ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vidhya <vid...@siptech.co.in>
Subject Re: dist does not exist
Date Tue, 18 Mar 2003 04:03:22 GMT
hi there,
when you run the build file,what ever is specified in the default tag will be
executed ,by default.
eg :default="run" and if you have a target with the name 'run ' that will be
exceuted by default .
since you have not specified any target with dist , it throwing an error.
may be you can try out like this .
change the default to "init" and try running it.
vidhya.

"Gundapu, Srinivasa (MBS)" wrote:

> DD,
>
> I know it is problem with default="dist". I didi not understand why you put
> default="dist" between markers. Is that wrong. dist is a location of the
> directory that is defined in the property. Why is it reporting error.. Could
> you please explain.
>
> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Monday, March 17, 2003 3:11 PM
> To: 'Ant Users List'
> Subject: RE: dist does not exist
>
> <project name="las"
>          vvvvvvvvvvvvvv
>          default="dist"
>          ^^^^^^^^^^^^^^
>          basedir="H:/Projects">
>
> --DD
>
> -----Original Message-----
> From: Gundapu, Srinivasa (MBS) [mailto:Srinivasa.Gundapu@mortgagefamily.com]
>
> Sent: Monday, March 17, 2003 2:05 PM
> To: 'Ant Users List'
> Subject: dist does not exist
>
> Hello guys, need some help. Just started using ant.
> This is my build file which is included at the last.
>
> I am getting this error..... saying dist does not exist
> H:\Projects\las>ant
> Buildfile: build.xml
>
> BUILD FAILED
> Target `dist' does not exist in this project.
>
> Total time: 1 second
> H:\Projects\las>
>
> <project name="las" default="dist" basedir="H:/Projects">
>   <target name="init">
>         <property name="project" value="las" />
>         <property name="src" location="${basedir}/${project}/src/" />
>         <property name="build" location="${basedir}/${project}/classes" />
>         <property name="dist" location="${basedir}/${project}/dist" />
>   </target>
> </project>
>
> ---------------------------------------------------------------------
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message