You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ma'moun Abu Hellu <ma...@yahoo.com> on 2008/03/16 19:26:19 UTC

what this mean : xml document structures must start and end within the same entity

Hi all ,
  I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials but when i try to USE it i get 
   
  xml document structures must start and end within the same entity
   
  please could any one help me.
   
  Regards


Eng.Ma'moun Abu Helou . 
Computer Engineer .

  Jerusalem,Palestine.(+972-02-2353912). 
Milano,Italy (+39 02 21085 613 2)
                  (+39 3394070256 )

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

RE: what this mean : xml document structures must start and end within the same entity

Posted by "Bizard Nicolas (KIRO 433)" <ni...@credit-suisse.com>.
Hi Ma'moun,
check your <project ...> tags at the beginning of the file, and probably
the ant manual would also help...


Nicolas

-----Original Message-----
From: Ma'moun Abu Hellu [mailto:mamounbest@yahoo.com] 
Sent: Monday, March 17, 2008 10:45 AM
To: Ant Users List
Subject: Re: what this mean : xml document structures must start and end
within the same entity

hi,
  actually I'm using Apache-ant 1.7.0  under Windows vista and i simply
want to run the tutorial example  Writing Tasks  which is 
  .................
   
  public class HelloWorld {
    public void execute() {
        System.out.println("Hello World");
    }
}
  -----------
   
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project name="MyTask" basedir="." default="use"> 
  <project name="MyTask" basedir="." default="jar">
  <property name="src.dir" value="src"/>
  <property name="classes.dir" value="classes"/>
  <target name="clean" description="Delete all generated files">
  <delete dir="${classes.dir}" failonerror="false"/>
  <delete file="${ant.project.name}.jar"/>
  </target>
  <target name="compile" description="Compiles the Task">
  <mkdir dir="${classes.dir}"/>
  <javac srcdir="${src.dir}" destdir="${classes.dir}"/> 
  </target>
  <target name="jar" description="JARs the Task" depends="compile">
  <jar destfile="${ant.project.name}.jar" basedir="${classes.dir}"/>
  </target>
   
  <target name="use" description="Use the Task" depends="jar">
  <taskdef name="helloworld" classname="HelloWorld"
classpath="${ant.project.name}.jar"/>
  <helloworld/>
  </target> 
   
  </project> 
  .................

  and i got the error :  xml document structures must start and end
within the same entity
   
  i tried to change the tages but i cant solve it , so did the above
build.xml correct 
  i can see their is  two < project .....> but when i delete the second
one i cant compile it 
   
  thanks in advance 
David Brown <da...@davidwbrown.name> wrote:
  Hello, running Ant means ant parses and executes a so-called
build.xml. XML documents in general must be what is termed as:
well-formed. This means that all XML documents have a singleton parent
entity element. This means that if a generic XML document had a parent
entity element structured as:



then to keep faith with the well-formed document rule the corresponding
end element would have to come at the end of the target XML document:



The following links are much more authoritative and comprehensive than
the above squibble:

http://www.spoono.com/xml/tutorials/tutorial.php?id=2

http://www.w3.org/XML/

http://ant.apache.org/manual/index.html

Ultimately, you have something amiss with your build.xml that Ant is
trying to parse. To get help from one of the Ant gurus you will have to
create a much more meaningful message with more information:

OS: Debian or Windows or something
Ant version: 1.5.x or 1.7 or something
Ant environment such as: ant -debug output captured from the console.
Default Ant target being execute from build.xml.


HTH.

Ma'moun Abu Hellu wrote ..
> Hi all ,
> I'm still fresh with Ant i tried to run the example in the Writing
Tasks Tutorials
> but when i try to USE it i get 
> 
> xml document structures must start and end within the same entity
> 
> please could any one help me.
> 
> Regards
> 
> 
> Eng.Ma'moun Abu Helou . 
> Computer Engineer .
> 
> Jerusalem,Palestine.(+972-02-2353912). 
> Milano,Italy (+39 02 21085 613 2)
> (+39 3394070256 )
> 
> 
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.

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




Eng.Ma'moun Abu Helou . 
Computer Engineer .

  Jerusalem,Palestine.(+972-02-2353912). 
Milano,Italy (+39 02 21085 613 2)
                  (+39 3394070256 )

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo!
Search.

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


RE: what this mean : xml document structures must start and end within the same entity

Posted by "Bizard Nicolas (KIRO 433)" <ni...@credit-suisse.com>.
Honestly Ma'moun,

do some research first, and come back with real questions.
Google "XML" that should solve your problem.

Nicolas

-----Original Message-----
From: Olivier Gies [mailto:olivier.gies@bull.net] 
Sent: Monday, March 17, 2008 11:35 AM
To: Ant Users List
Subject: Re: what this mean : xml document structures must start and end
within the same entity

You have to remove the second line containing "<project>" ...

I copy-pasted the Java code and Ant script from your post, and here is 
what I get, without any change:

E:\Java\Ant\issue#0001>ant
Buildfile: build.xml

BUILD FAILED
E:\Java\Ant\issue#0001\build.xml:27: XML document structures must start 
and end within the same entity.

Total time: 0 seconds


Then, after I removed the line "<project name="MyTask" basedir="." 
default="jar">":

E:\Java\Ant\issue#0001>ant
Buildfile: build.xml

compile:
    [javac] Compiling 1 source file to E:\Java\Ant\issue#0001\classes

jar:
      [jar] Building jar: E:\Java\Ant\issue#0001\MyTask.jar

use:
[helloworld] Hello World

BUILD SUCCESSFUL
Total time: 12 seconds
E:\Java\Ant\issue#0001>

-------- Original Message  --------
Subject: Re: what this mean : xml document structures must start and end

within the same entity
From: Ma'moun Abu Hellu <ma...@yahoo.com>
To: Ant Users List <us...@ant.apache.org>, olivier.gies@bull.net
Date: 17/03/2008 18:24
> ya thats right but how then i can compile it ,
>   here is the error
>    
>   D:\ant\bin\task>ant
>   
>   
>   BUILD FAILD
>   D:\ant\bin\task\build.xml :22: xml document structures must start
and end within the same entity
>
> Olivier Gies <ol...@bull.net> wrote:
>   You should have only 1 
> ...
>
> Can you send the error messsage / trace ?
>
> -------- Original Message --------
> Subject: Re: what this mean : xml document structures must start and
end 
> within the same entity
> From: Ma'moun Abu Hellu 
> To: Ant Users List 
> Date: 17/03/2008 17:45
>   
>> hi,
>> actually I'm using Apache-ant 1.7.0 under Windows vista and i simply
want to run the tutorial example Writing Tasks which is 
>> .................
>>
>> public class HelloWorld {
>> public void execute() {
>> System.out.println("Hello World");
>> }
>> }
>> -----------
>>
>>
>>
>>     
>
>   
>
>   
>
>
>   
>
>
>   
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>     
>
>   
>> .................
>>
>> and i got the error : xml document structures must start and end
within the same entity
>>
>> i tried to change the tages but i cant solve it , so did the above
build.xml correct 
>> i can see their is two < project .....> but when i delete the second
one i cant compile it 
>>
>> thanks in advance 
>> David Brown wrote:
>> Hello, running Ant means ant parses and executes a so-called
build.xml. XML documents in general must be what is termed as:
well-formed. This means that all XML documents have a singleton parent
entity element. This means that if a generic XML document had a parent
entity element structured as:
>>
>>
>>
>> then to keep faith with the well-formed document rule the
corresponding end element would have to come at the end of the target
XML document:
>>
>>
>>
>> The following links are much more authoritative and comprehensive
than the above squibble:
>>
>> http://www.spoono.com/xml/tutorials/tutorial.php?id=2
>>
>> http://www.w3.org/XML/
>>
>> http://ant.apache.org/manual/index.html
>>
>> Ultimately, you have something amiss with your build.xml that Ant is
trying to parse. To get help from one of the Ant gurus you will have to
create a much more meaningful message with more information:
>>
>> OS: Debian or Windows or something
>> Ant version: 1.5.x or 1.7 or something
>> Ant environment such as: ant -debug output captured from the console.
>> Default Ant target being execute from build.xml.
>>
>>
>> HTH.
>>
>> Ma'moun Abu Hellu wrote ..
>>
>>     
>>> Hi all ,
>>> I'm still fresh with Ant i tried to run the example in the Writing
Tasks Tutorials
>>> but when i try to USE it i get 
>>>
>>> xml document structures must start and end within the same entity
>>>
>>> please could any one help me.
>>>
>>> Regards
>>>
>>>
>>> Eng.Ma'moun Abu Helou . 
>>> Computer Engineer .
>>>
>>> Jerusalem,Palestine.(+972-02-2353912). 
>>> Milano,Italy (+39 02 21085 613 2)
>>> (+39 3394070256 )
>>>
>>>
>>> ---------------------------------
>>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
Try it now.
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>> Eng.Ma'moun Abu Helou . 
>> Computer Engineer .
>>
>> Jerusalem,Palestine.(+972-02-2353912). 
>> Milano,Italy (+39 02 21085 613 2)
>> (+39 3394070256 )
>>
>>
>> ---------------------------------
>> Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
>>     
>
>   

-- 

*Olivier Gies*

*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *

*www.bull.com <http://www.bull.com/>*

*This e-mail contains material that is confidential for the sole use of 
the intended recipient. Any review, reliance or distribution by others 
or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all

copies.*


---------------------------------------------------------------------
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


Re: what this mean : xml document structures must start and end within the same entity

Posted by Ma'moun Abu Hellu <ma...@yahoo.com>.
it work ,
  the problem actually is in the class path which  i used , since I'm saving my .java in a package so i put the correct path and it work ( ...  ="${classes\HelloWorld.dir}"/>  )
   
  thank of been patient
   

Olivier Gies <ol...@bull.net> wrote:
  I'm not sure which example you are talking about, or if you know any 
Java at all, but here's anyway: the HelloWorld class source should be 
under ./src/HelloWorld.java ...



-------- Original Message --------
Subject: Re: what this mean : xml document structures must start and end 
within the same entity
From: Ma'moun Abu Hellu 
To: Ant Users List , olivier.gies@bull.net
Date: 17/03/2008 18:53
> thanks,
> I've done what you said and i got the following
> ...
> use:
> BUILD FAILD
> D:\ant\bin\task\build.xml :18: taskdef class HelloWorld cannot be found 
> 
> Olivier Gies wrote:
> You have to remove the second line containing "
> " ...
>
> I copy-pasted the Java code and Ant script from your post, and here is 
> what I get, without any change:
>
> E:\Java\Ant\issue#0001>ant
> Buildfile: build.xml
>
> BUILD FAILED
> E:\Java\Ant\issue#0001\build.xml:27: XML document structures must start 
> and end within the same entity.
>
> Total time: 0 seconds
>
>
> Then, after I removed the line "
> default="jar">":
>
> E:\Java\Ant\issue#0001>ant
> Buildfile: build.xml
>
> compile:
> [javac] Compiling 1 source file to E:\Java\Ant\issue#0001\classes
>
> jar:
> [jar] Building jar: E:\Java\Ant\issue#0001\MyTask.jar
>
> use:
> [helloworld] Hello World
>
> BUILD SUCCESSFUL
> Total time: 12 seconds
> E:\Java\Ant\issue#0001>
>
> -------- Original Message --------
> Subject: Re: what this mean : xml document structures must start and end 
> within the same entity
> From: Ma'moun Abu Hellu 
> To: Ant Users List , olivier.gies@bull.net
> Date: 17/03/2008 18:24
> 
>> ya thats right but how then i can compile it ,
>> here is the error
>>
>> D:\ant\bin\task>ant
>>
>>
>> BUILD FAILD
>> D:\ant\bin\task\build.xml :22: xml document structures must start and end within the same entity
>>
>> Olivier Gies wrote:
>> You should have only 1 
>> ...
>>
>> Can you send the error messsage / trace ?
>>
>> -------- Original Message --------
>> Subject: Re: what this mean : xml document structures must start and end 
>> within the same entity
>> From: Ma'moun Abu Hellu 
>> To: Ant Users List 
>> Date: 17/03/2008 17:45
>>
>> 
>>> hi,
>>> actually I'm using Apache-ant 1.7.0 under Windows vista and i simply want to run the tutorial example Writing Tasks which is 
>>> .................
>>>
>>> public class HelloWorld {
>>> public void execute() {
>>> System.out.println("Hello World");
>>> }
>>> }
>>> -----------
>>>
>>>
>>>
>>>
>>> 
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> 
>> 
>>> .................
>>>
>>> and i got the error : xml document structures must start and end within the same entity
>>>
>>> i tried to change the tages but i cant solve it , so did the above build.xml correct 
>>> i can see their is two < project .....> but when i delete the second one i cant compile it 
>>>
>>> thanks in advance 
>>> David Brown wrote:
>>> Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:
>>>
>>>
>>>
>>> then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:
>>>
>>>
>>>
>>> The following links are much more authoritative and comprehensive than the above squibble:
>>>
>>> http://www.spoono.com/xml/tutorials/tutorial.php?id=2
>>>
>>> http://www.w3.org/XML/
>>>
>>> http://ant.apache.org/manual/index.html
>>>
>>> Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:
>>>
>>> OS: Debian or Windows or something
>>> Ant version: 1.5.x or 1.7 or something
>>> Ant environment such as: ant -debug output captured from the console.
>>> Default Ant target being execute from build.xml.
>>>
>>>
>>> HTH.
>>>
>>> Ma'moun Abu Hellu wrote ..
>>>
>>>
>>> 
>>>> Hi all ,
>>>> I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
>>>> but when i try to USE it i get 
>>>>
>>>> xml document structures must start and end within the same entity
>>>>
>>>> please could any one help me.
>>>>
>>>> Regards
>>>>
>>>>
>>>> Eng.Ma'moun Abu Helou . 
>>>> Computer Engineer .
>>>>
>>>> Jerusalem,Palestine.(+972-02-2353912). 
>>>> Milano,Italy (+39 02 21085 613 2)
>>>> (+39 3394070256 )
>>>>
>>>>
>>>> ---------------------------------
>>>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
>>>>
>>>>
>>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------
>>> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
>>>
>>> 
>> 
>
> 

-- 

*Olivier Gies*

*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *

*www.bull.com *

*This e-mail contains material that is confidential for the sole use of 
the intended recipient. Any review, reliance or distribution by others 
or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all 
copies.*



       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Re: what this mean : xml document structures must start and end within the same entity

Posted by Olivier Gies <ol...@bull.net>.
I'm not sure which example you are talking about, or if you know any 
Java at all, but here's anyway: the HelloWorld class source should be 
under ./src/HelloWorld.java ...



-------- Original Message  --------
Subject: Re: what this mean : xml document structures must start and end 
within the same entity
From: Ma'moun Abu Hellu <ma...@yahoo.com>
To: Ant Users List <us...@ant.apache.org>, olivier.gies@bull.net
Date: 17/03/2008 18:53
> thanks,
>   I've done what you said and i got the following
>   ...
>   use:
>  BUILD FAILD
>  D:\ant\bin\task\build.xml :18: taskdef class HelloWorld cannot be found 
>   
> Olivier Gies <ol...@bull.net> wrote:
>   You have to remove the second line containing "
> " ...
>
> I copy-pasted the Java code and Ant script from your post, and here is 
> what I get, without any change:
>
> E:\Java\Ant\issue#0001>ant
> Buildfile: build.xml
>
> BUILD FAILED
> E:\Java\Ant\issue#0001\build.xml:27: XML document structures must start 
> and end within the same entity.
>
> Total time: 0 seconds
>
>
> Then, after I removed the line "
> default="jar">":
>
> E:\Java\Ant\issue#0001>ant
> Buildfile: build.xml
>
> compile:
> [javac] Compiling 1 source file to E:\Java\Ant\issue#0001\classes
>
> jar:
> [jar] Building jar: E:\Java\Ant\issue#0001\MyTask.jar
>
> use:
> [helloworld] Hello World
>
> BUILD SUCCESSFUL
> Total time: 12 seconds
> E:\Java\Ant\issue#0001>
>
> -------- Original Message --------
> Subject: Re: what this mean : xml document structures must start and end 
> within the same entity
> From: Ma'moun Abu Hellu 
> To: Ant Users List , olivier.gies@bull.net
> Date: 17/03/2008 18:24
>   
>> ya thats right but how then i can compile it ,
>> here is the error
>>
>> D:\ant\bin\task>ant
>>
>>
>> BUILD FAILD
>> D:\ant\bin\task\build.xml :22: xml document structures must start and end within the same entity
>>
>> Olivier Gies wrote:
>> You should have only 1 
>> ...
>>
>> Can you send the error messsage / trace ?
>>
>> -------- Original Message --------
>> Subject: Re: what this mean : xml document structures must start and end 
>> within the same entity
>> From: Ma'moun Abu Hellu 
>> To: Ant Users List 
>> Date: 17/03/2008 17:45
>>
>>     
>>> hi,
>>> actually I'm using Apache-ant 1.7.0 under Windows vista and i simply want to run the tutorial example Writing Tasks which is 
>>> .................
>>>
>>> public class HelloWorld {
>>> public void execute() {
>>> System.out.println("Hello World");
>>> }
>>> }
>>> -----------
>>>
>>>
>>>
>>>
>>>       
>>
>>
>>
>>
>>
>>
>>
>>
>>     
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>       
>>     
>>> .................
>>>
>>> and i got the error : xml document structures must start and end within the same entity
>>>
>>> i tried to change the tages but i cant solve it , so did the above build.xml correct 
>>> i can see their is two < project .....> but when i delete the second one i cant compile it 
>>>
>>> thanks in advance 
>>> David Brown wrote:
>>> Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:
>>>
>>>
>>>
>>> then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:
>>>
>>>
>>>
>>> The following links are much more authoritative and comprehensive than the above squibble:
>>>
>>> http://www.spoono.com/xml/tutorials/tutorial.php?id=2
>>>
>>> http://www.w3.org/XML/
>>>
>>> http://ant.apache.org/manual/index.html
>>>
>>> Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:
>>>
>>> OS: Debian or Windows or something
>>> Ant version: 1.5.x or 1.7 or something
>>> Ant environment such as: ant -debug output captured from the console.
>>> Default Ant target being execute from build.xml.
>>>
>>>
>>> HTH.
>>>
>>> Ma'moun Abu Hellu wrote ..
>>>
>>>
>>>       
>>>> Hi all ,
>>>> I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
>>>> but when i try to USE it i get 
>>>>
>>>> xml document structures must start and end within the same entity
>>>>
>>>> please could any one help me.
>>>>
>>>> Regards
>>>>
>>>>
>>>> Eng.Ma'moun Abu Helou . 
>>>> Computer Engineer .
>>>>
>>>> Jerusalem,Palestine.(+972-02-2353912). 
>>>> Milano,Italy (+39 02 21085 613 2)
>>>> (+39 3394070256 )
>>>>
>>>>
>>>> ---------------------------------
>>>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
>>>>
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>>
>>> Eng.Ma'moun Abu Helou . 
>>> Computer Engineer .
>>>
>>> Jerusalem,Palestine.(+972-02-2353912). 
>>> Milano,Italy (+39 02 21085 613 2)
>>> (+39 3394070256 )
>>>
>>>
>>> ---------------------------------
>>> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
>>>
>>>       
>>     
>
>   

-- 

*Olivier Gies*

*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *

*www.bull.com <http://www.bull.com/>*

*This e-mail contains material that is confidential for the sole use of 
the intended recipient. Any review, reliance or distribution by others 
or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all 
copies.*


Re: what this mean : xml document structures must start and end within the same entity

Posted by Ma'moun Abu Hellu <ma...@yahoo.com>.
thanks,
  I've done what you said and i got the following
  ...
  use:
 BUILD FAILD
 D:\ant\bin\task\build.xml :18: taskdef class HelloWorld cannot be found 
  
Olivier Gies <ol...@bull.net> wrote:
  You have to remove the second line containing "
" ...

I copy-pasted the Java code and Ant script from your post, and here is 
what I get, without any change:

E:\Java\Ant\issue#0001>ant
Buildfile: build.xml

BUILD FAILED
E:\Java\Ant\issue#0001\build.xml:27: XML document structures must start 
and end within the same entity.

Total time: 0 seconds


Then, after I removed the line "
default="jar">":

E:\Java\Ant\issue#0001>ant
Buildfile: build.xml

compile:
[javac] Compiling 1 source file to E:\Java\Ant\issue#0001\classes

jar:
[jar] Building jar: E:\Java\Ant\issue#0001\MyTask.jar

use:
[helloworld] Hello World

BUILD SUCCESSFUL
Total time: 12 seconds
E:\Java\Ant\issue#0001>

-------- Original Message --------
Subject: Re: what this mean : xml document structures must start and end 
within the same entity
From: Ma'moun Abu Hellu 
To: Ant Users List , olivier.gies@bull.net
Date: 17/03/2008 18:24
> ya thats right but how then i can compile it ,
> here is the error
> 
> D:\ant\bin\task>ant
> 
> 
> BUILD FAILD
> D:\ant\bin\task\build.xml :22: xml document structures must start and end within the same entity
>
> Olivier Gies wrote:
> You should have only 1 
> ...
>
> Can you send the error messsage / trace ?
>
> -------- Original Message --------
> Subject: Re: what this mean : xml document structures must start and end 
> within the same entity
> From: Ma'moun Abu Hellu 
> To: Ant Users List 
> Date: 17/03/2008 17:45
> 
>> hi,
>> actually I'm using Apache-ant 1.7.0 under Windows vista and i simply want to run the tutorial example Writing Tasks which is 
>> .................
>>
>> public class HelloWorld {
>> public void execute() {
>> System.out.println("Hello World");
>> }
>> }
>> -----------
>>
>>
>>
>> 
>
> 
>
> 
>
>
> 
>
>
> 
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>
> 
>> .................
>>
>> and i got the error : xml document structures must start and end within the same entity
>>
>> i tried to change the tages but i cant solve it , so did the above build.xml correct 
>> i can see their is two < project .....> but when i delete the second one i cant compile it 
>>
>> thanks in advance 
>> David Brown wrote:
>> Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:
>>
>>
>>
>> then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:
>>
>>
>>
>> The following links are much more authoritative and comprehensive than the above squibble:
>>
>> http://www.spoono.com/xml/tutorials/tutorial.php?id=2
>>
>> http://www.w3.org/XML/
>>
>> http://ant.apache.org/manual/index.html
>>
>> Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:
>>
>> OS: Debian or Windows or something
>> Ant version: 1.5.x or 1.7 or something
>> Ant environment such as: ant -debug output captured from the console.
>> Default Ant target being execute from build.xml.
>>
>>
>> HTH.
>>
>> Ma'moun Abu Hellu wrote ..
>>
>> 
>>> Hi all ,
>>> I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
>>> but when i try to USE it i get 
>>>
>>> xml document structures must start and end within the same entity
>>>
>>> please could any one help me.
>>>
>>> Regards
>>>
>>>
>>> Eng.Ma'moun Abu Helou . 
>>> Computer Engineer .
>>>
>>> Jerusalem,Palestine.(+972-02-2353912). 
>>> Milano,Italy (+39 02 21085 613 2)
>>> (+39 3394070256 )
>>>
>>>
>>> ---------------------------------
>>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
>>>
>>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>> Eng.Ma'moun Abu Helou . 
>> Computer Engineer .
>>
>> Jerusalem,Palestine.(+972-02-2353912). 
>> Milano,Italy (+39 02 21085 613 2)
>> (+39 3394070256 )
>>
>>
>> ---------------------------------
>> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
>> 
>
> 

-- 

*Olivier Gies*

*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *

*www.bull.com *

*This e-mail contains material that is confidential for the sole use of 
the intended recipient. Any review, reliance or distribution by others 
or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all 
copies.*


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




Eng.Ma'moun Abu Helou . 
Computer Engineer .

  Jerusalem,Palestine.(+972-02-2353912). 
Milano,Italy (+39 02 21085 613 2)
                  (+39 3394070256 )

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Re: what this mean : xml document structures must start and end within the same entity

Posted by Olivier Gies <ol...@bull.net>.
You have to remove the second line containing "<project>" ...

I copy-pasted the Java code and Ant script from your post, and here is 
what I get, without any change:

E:\Java\Ant\issue#0001>ant
Buildfile: build.xml

BUILD FAILED
E:\Java\Ant\issue#0001\build.xml:27: XML document structures must start 
and end within the same entity.

Total time: 0 seconds


Then, after I removed the line "<project name="MyTask" basedir="." 
default="jar">":

E:\Java\Ant\issue#0001>ant
Buildfile: build.xml

compile:
    [javac] Compiling 1 source file to E:\Java\Ant\issue#0001\classes

jar:
      [jar] Building jar: E:\Java\Ant\issue#0001\MyTask.jar

use:
[helloworld] Hello World

BUILD SUCCESSFUL
Total time: 12 seconds
E:\Java\Ant\issue#0001>

-------- Original Message  --------
Subject: Re: what this mean : xml document structures must start and end 
within the same entity
From: Ma'moun Abu Hellu <ma...@yahoo.com>
To: Ant Users List <us...@ant.apache.org>, olivier.gies@bull.net
Date: 17/03/2008 18:24
> ya thats right but how then i can compile it ,
>   here is the error
>    
>   D:\ant\bin\task>ant
>   
>   
>   BUILD FAILD
>   D:\ant\bin\task\build.xml :22: xml document structures must start and end within the same entity
>
> Olivier Gies <ol...@bull.net> wrote:
>   You should have only 1 
> ...
>
> Can you send the error messsage / trace ?
>
> -------- Original Message --------
> Subject: Re: what this mean : xml document structures must start and end 
> within the same entity
> From: Ma'moun Abu Hellu 
> To: Ant Users List 
> Date: 17/03/2008 17:45
>   
>> hi,
>> actually I'm using Apache-ant 1.7.0 under Windows vista and i simply want to run the tutorial example Writing Tasks which is 
>> .................
>>
>> public class HelloWorld {
>> public void execute() {
>> System.out.println("Hello World");
>> }
>> }
>> -----------
>>
>>
>>
>>     
>
>   
>
>   
>
>
>   
>
>
>   
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>     
>
>   
>> .................
>>
>> and i got the error : xml document structures must start and end within the same entity
>>
>> i tried to change the tages but i cant solve it , so did the above build.xml correct 
>> i can see their is two < project .....> but when i delete the second one i cant compile it 
>>
>> thanks in advance 
>> David Brown wrote:
>> Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:
>>
>>
>>
>> then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:
>>
>>
>>
>> The following links are much more authoritative and comprehensive than the above squibble:
>>
>> http://www.spoono.com/xml/tutorials/tutorial.php?id=2
>>
>> http://www.w3.org/XML/
>>
>> http://ant.apache.org/manual/index.html
>>
>> Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:
>>
>> OS: Debian or Windows or something
>> Ant version: 1.5.x or 1.7 or something
>> Ant environment such as: ant -debug output captured from the console.
>> Default Ant target being execute from build.xml.
>>
>>
>> HTH.
>>
>> Ma'moun Abu Hellu wrote ..
>>
>>     
>>> Hi all ,
>>> I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
>>> but when i try to USE it i get 
>>>
>>> xml document structures must start and end within the same entity
>>>
>>> please could any one help me.
>>>
>>> Regards
>>>
>>>
>>> Eng.Ma'moun Abu Helou . 
>>> Computer Engineer .
>>>
>>> Jerusalem,Palestine.(+972-02-2353912). 
>>> Milano,Italy (+39 02 21085 613 2)
>>> (+39 3394070256 )
>>>
>>>
>>> ---------------------------------
>>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>> Eng.Ma'moun Abu Helou . 
>> Computer Engineer .
>>
>> Jerusalem,Palestine.(+972-02-2353912). 
>> Milano,Italy (+39 02 21085 613 2)
>> (+39 3394070256 )
>>
>>
>> ---------------------------------
>> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
>>     
>
>   

-- 

*Olivier Gies*

*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *

*www.bull.com <http://www.bull.com/>*

*This e-mail contains material that is confidential for the sole use of 
the intended recipient. Any review, reliance or distribution by others 
or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all 
copies.*


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


Re: what this mean : xml document structures must start and end within the same entity

Posted by Ma'moun Abu Hellu <ma...@yahoo.com>.
ya thats right but how then i can compile it ,
  here is the error
   
  D:\ant\bin\task>ant
  
  
  BUILD FAILD
  D:\ant\bin\task\build.xml :22: xml document structures must start and end within the same entity

Olivier Gies <ol...@bull.net> wrote:
  You should have only 1 
...

Can you send the error messsage / trace ?

-------- Original Message --------
Subject: Re: what this mean : xml document structures must start and end 
within the same entity
From: Ma'moun Abu Hellu 
To: Ant Users List 
Date: 17/03/2008 17:45
> hi,
> actually I'm using Apache-ant 1.7.0 under Windows vista and i simply want to run the tutorial example Writing Tasks which is 
> .................
> 
> public class HelloWorld {
> public void execute() {
> System.out.println("Hello World");
> }
> }
> -----------
> 
> 
> 

> 

> 


> 


> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

> .................
>
> and i got the error : xml document structures must start and end within the same entity
> 
> i tried to change the tages but i cant solve it , so did the above build.xml correct 
> i can see their is two < project .....> but when i delete the second one i cant compile it 
> 
> thanks in advance 
> David Brown wrote:
> Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:
>
>
>
> then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:
>
>
>
> The following links are much more authoritative and comprehensive than the above squibble:
>
> http://www.spoono.com/xml/tutorials/tutorial.php?id=2
>
> http://www.w3.org/XML/
>
> http://ant.apache.org/manual/index.html
>
> Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:
>
> OS: Debian or Windows or something
> Ant version: 1.5.x or 1.7 or something
> Ant environment such as: ant -debug output captured from the console.
> Default Ant target being execute from build.xml.
>
>
> HTH.
>
> Ma'moun Abu Hellu wrote ..
> 
>> Hi all ,
>> I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
>> but when i try to USE it i get 
>>
>> xml document structures must start and end within the same entity
>>
>> please could any one help me.
>>
>> Regards
>>
>>
>> Eng.Ma'moun Abu Helou . 
>> Computer Engineer .
>>
>> Jerusalem,Palestine.(+972-02-2353912). 
>> Milano,Italy (+39 02 21085 613 2)
>> (+39 3394070256 )
>>
>>
>> ---------------------------------
>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
>> 
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
> Eng.Ma'moun Abu Helou . 
> Computer Engineer .
>
> Jerusalem,Palestine.(+972-02-2353912). 
> Milano,Italy (+39 02 21085 613 2)
> (+39 3394070256 )
>
> 
> ---------------------------------
> Looking for last minute shopping deals? Find them fast with Yahoo! Search.

-- 

*Olivier Gies*

*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *

*www.bull.com *

*This e-mail contains material that is confidential for the sole use of 
the intended recipient. Any review, reliance or distribution by others 
or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all 
copies.*




Eng.Ma'moun Abu Helou . 
Computer Engineer .

  Jerusalem,Palestine.(+972-02-2353912). 
Milano,Italy (+39 02 21085 613 2)
                  (+39 3394070256 )

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: what this mean : xml document structures must start and end within the same entity

Posted by Olivier Gies <ol...@bull.net>.
You should have only 1 <project>...

Can you send the error messsage / trace ?

-------- Original Message  --------
Subject: Re: what this mean : xml document structures must start and end 
within the same entity
From: Ma'moun Abu Hellu <ma...@yahoo.com>
To: Ant Users List <us...@ant.apache.org>
Date: 17/03/2008 17:45
> hi,
>   actually I'm using Apache-ant 1.7.0  under Windows vista and i simply want to run the tutorial example  Writing Tasks  which is 
>   .................
>    
>   public class HelloWorld {
>     public void execute() {
>         System.out.println("Hello World");
>     }
> }
>   -----------
>    
>   <?xml version="1.0" encoding="ISO-8859-1"?>
>   <project name="MyTask" basedir="." default="use"> 
>   <project name="MyTask" basedir="." default="jar">
>   <property name="src.dir" value="src"/>
>   <property name="classes.dir" value="classes"/>
>   <target name="clean" description="Delete all generated files">
>   <delete dir="${classes.dir}" failonerror="false"/>
>   <delete file="${ant.project.name}.jar"/>
>   </target>
>   <target name="compile" description="Compiles the Task">
>   <mkdir dir="${classes.dir}"/>
>   <javac srcdir="${src.dir}" destdir="${classes.dir}"/> 
>   </target>
>   <target name="jar" description="JARs the Task" depends="compile">
>   <jar destfile="${ant.project.name}.jar" basedir="${classes.dir}"/>
>   </target>
>    
>   <target name="use" description="Use the Task" depends="jar">
>   <taskdef name="helloworld" classname="HelloWorld" classpath="${ant.project.name}.jar"/>
>   <helloworld/>
>   </target> 
>    
>   </project> 
>   .................
>
>   and i got the error :  xml document structures must start and end within the same entity
>    
>   i tried to change the tages but i cant solve it , so did the above build.xml correct 
>   i can see their is  two < project .....> but when i delete the second one i cant compile it 
>    
>   thanks in advance 
> David Brown <da...@davidwbrown.name> wrote:
>   Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:
>
>
>
> then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:
>
>
>
> The following links are much more authoritative and comprehensive than the above squibble:
>
> http://www.spoono.com/xml/tutorials/tutorial.php?id=2
>
> http://www.w3.org/XML/
>
> http://ant.apache.org/manual/index.html
>
> Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:
>
> OS: Debian or Windows or something
> Ant version: 1.5.x or 1.7 or something
> Ant environment such as: ant -debug output captured from the console.
> Default Ant target being execute from build.xml.
>
>
> HTH.
>
> Ma'moun Abu Hellu wrote ..
>   
>> Hi all ,
>> I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
>> but when i try to USE it i get 
>>
>> xml document structures must start and end within the same entity
>>
>> please could any one help me.
>>
>> Regards
>>
>>
>> Eng.Ma'moun Abu Helou . 
>> Computer Engineer .
>>
>> Jerusalem,Palestine.(+972-02-2353912). 
>> Milano,Italy (+39 02 21085 613 2)
>> (+39 3394070256 )
>>
>>
>> ---------------------------------
>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
> Eng.Ma'moun Abu Helou . 
> Computer Engineer .
>
>   Jerusalem,Palestine.(+972-02-2353912). 
> Milano,Italy (+39 02 21085 613 2)
>                   (+39 3394070256 )
>
>        
> ---------------------------------
> Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

-- 

*Olivier Gies*

*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *

*www.bull.com <http://www.bull.com/>*

*This e-mail contains material that is confidential for the sole use of 
the intended recipient. Any review, reliance or distribution by others 
or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all 
copies.*


Re: what this mean : xml document structures must start and end within the same entity

Posted by Ma'moun Abu Hellu <ma...@yahoo.com>.
hi,
  actually I'm using Apache-ant 1.7.0  under Windows vista and i simply want to run the tutorial example  Writing Tasks  which is 
  .................
   
  public class HelloWorld {
    public void execute() {
        System.out.println("Hello World");
    }
}
  -----------
   
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project name="MyTask" basedir="." default="use"> 
  <project name="MyTask" basedir="." default="jar">
  <property name="src.dir" value="src"/>
  <property name="classes.dir" value="classes"/>
  <target name="clean" description="Delete all generated files">
  <delete dir="${classes.dir}" failonerror="false"/>
  <delete file="${ant.project.name}.jar"/>
  </target>
  <target name="compile" description="Compiles the Task">
  <mkdir dir="${classes.dir}"/>
  <javac srcdir="${src.dir}" destdir="${classes.dir}"/> 
  </target>
  <target name="jar" description="JARs the Task" depends="compile">
  <jar destfile="${ant.project.name}.jar" basedir="${classes.dir}"/>
  </target>
   
  <target name="use" description="Use the Task" depends="jar">
  <taskdef name="helloworld" classname="HelloWorld" classpath="${ant.project.name}.jar"/>
  <helloworld/>
  </target> 
   
  </project> 
  .................

  and i got the error :  xml document structures must start and end within the same entity
   
  i tried to change the tages but i cant solve it , so did the above build.xml correct 
  i can see their is  two < project .....> but when i delete the second one i cant compile it 
   
  thanks in advance 
David Brown <da...@davidwbrown.name> wrote:
  Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:



then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:



The following links are much more authoritative and comprehensive than the above squibble:

http://www.spoono.com/xml/tutorials/tutorial.php?id=2

http://www.w3.org/XML/

http://ant.apache.org/manual/index.html

Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:

OS: Debian or Windows or something
Ant version: 1.5.x or 1.7 or something
Ant environment such as: ant -debug output captured from the console.
Default Ant target being execute from build.xml.


HTH.

Ma'moun Abu Hellu wrote ..
> Hi all ,
> I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
> but when i try to USE it i get 
> 
> xml document structures must start and end within the same entity
> 
> please could any one help me.
> 
> Regards
> 
> 
> Eng.Ma'moun Abu Helou . 
> Computer Engineer .
> 
> Jerusalem,Palestine.(+972-02-2353912). 
> Milano,Italy (+39 02 21085 613 2)
> (+39 3394070256 )
> 
> 
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

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




Eng.Ma'moun Abu Helou . 
Computer Engineer .

  Jerusalem,Palestine.(+972-02-2353912). 
Milano,Italy (+39 02 21085 613 2)
                  (+39 3394070256 )

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: what this mean : xml document structures must start and end within the same entity

Posted by David Brown <da...@davidwbrown.name>.
Hello, running Ant means ant parses and executes a so-called build.xml. XML documents in general must be what is termed as: well-formed. This means that all XML documents have a singleton parent entity element. This means that if a generic XML document had a parent entity element structured as:

<computer_engineer>

then to keep faith with the well-formed document rule the corresponding end element would have to come at the end of the target XML document:

</computer_engineer>

The following links are much more authoritative and comprehensive than the above squibble:

http://www.spoono.com/xml/tutorials/tutorial.php?id=2

http://www.w3.org/XML/

http://ant.apache.org/manual/index.html

Ultimately, you have something amiss with your build.xml that Ant is trying to parse. To get help from one of the Ant gurus you will have to create a much more meaningful message with more information:

OS: Debian or Windows or something
Ant version: 1.5.x or 1.7 or something
Ant environment such as: ant -debug output captured from the console.
Default Ant target being execute from build.xml.


HTH.

Ma'moun Abu Hellu wrote ..
> Hi all ,
>   I'm still fresh with Ant i tried to run the example in the Writing Tasks Tutorials
> but when i try to USE it i get 
>    
>   xml document structures must start and end within the same entity
>    
>   please could any one help me.
>    
>   Regards
> 
> 
> Eng.Ma'moun Abu Helou . 
> Computer Engineer .
> 
>   Jerusalem,Palestine.(+972-02-2353912). 
> Milano,Italy (+39 02 21085 613 2)
>                   (+39 3394070256 )
> 
>        
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

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