You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tonte Pouncil <tp...@vartec.net> on 2004/01/10 00:18:39 UTC

Ant 1.6.0 error message

Hello: 

I am getting an error message when I try to run my build.xml file.  

Here is the error message:
D:\Program Files\projects\ant\antchap2>ant build.xml
Buildfile: build.xml

BUILD FAILED
D:\Program Files\projects\ant\antchap2\build.xml:1: A pseudo attribute name
is e
xpected.

Total time: 2 seconds


Here is my build.xml file:

<?xml version="1.0">

<poject name="helloWorld" default="jarfile" basedir=".">
   <target name="init">
      <property name="name" value="helloWorld"/>
      <property name="src.dir" value="src"/>
      <property name="build.dir" value="build"/>
      <property name="classes.dir" value="${build.dir}/classes"/>
      <property name="etc.dir" value="etc"/>
      <property name="deploy.name" value="${name}.jar"/>
   </target>

   <target name="prepare" depends="init">
      <mkdir dir="${classes.dir}"/>
   </target>
</project>

Can anyone tell me what is going on.

Tonté Pouncil
Network Systems Support
Programmer II
Phone: 972.478.3853
Pager: 214.248.5438


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


Re: Ant 1.6.0 error message

Posted by "Gregory A. Swarthout" <gr...@xmission.com>.
> Quoting Tonte Pouncil <tp...@vartec.net>:
>
> Hello: 
> 
> I am getting an error message when I try to run my build.xml file.  
> 
> Here is the error message:
> D:\Program Files\projects\ant\antchap2>ant build.xml
> Buildfile: build.xml
> 
> BUILD FAILED
> D:\Program Files\projects\ant\antchap2\build.xml:1: A pseudo attribute
> name
> is e
> xpected.
> 
> Total time: 2 seconds
> 
> 
> Here is my build.xml file:
> 
> <?xml version="1.0">
> 
> <poject name="helloWorld" default="jarfile" basedir=".">

That's not how "project" is spelled.

Greg


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