Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
dist does not exist

dist does not exist

2003-03-17       - By Vidhya
Reply:     1     2     3     4     5     6     7     8  

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@(protected)]
> 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@(protected)]
>
> 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@(protected)
> For additional commands, e-mail: user-help@(protected)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.