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 Dominique Devienne
Reply:     1     2     3     4     5     6     7     8  

You need to read the doc... The Project's default attribute must hold the
name of the 'default' target, the one invoked by Ant when none is explicitly
specified on the command line. --D

-----Original Message-----
From: Gundapu, Srinivasa (MBS) [mailto:Srinivasa.Gundapu@(protected)]

Sent: Monday, March 17, 2003 3:41 PM
To: 'Ant Users List'
Subject: RE: dist does not exist

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.