Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Mravi u travi (DTD za Apache Ant build.xml)

[es] :: Java :: Mravi u travi (DTD za Apache Ant build.xml)

[ Pregleda: 3020 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

filmil
Filip Miletić
Oce Technologies B.V., inženjer
hardvera
Arcen, NL

Član broj: 243
Poruke: 2114
*.adsl.zonnet.nl

Jabber: filmil@jabber.org
ICQ: 36601391


+3 Profil

icon Mravi u travi (DTD za Apache Ant build.xml)03.02.2004. u 20:12 - pre 246 meseci
Pozdrav.

Zna li neko gde se može naći DTD za build.xml koji se piše za Apache Ant?

f
 
Odgovor na temu

StMilan

Član broj: 5061
Poruke: 144
*.ptt.yu



Profil

icon Re: Mravi u travi (DTD za Apache Ant build.xml)03.02.2004. u 23:11 - pre 246 meseci
Sa ANT FAQ:
http://ant.apache.org/faq.html#dtd

Citat:

Is there a DTD that I can use to validate my build files?

An incomplete DTD can be created by the <antstructure> task - but this one has a few problems:

•It doesn't know about required attributes. Only manual tweaking of this file can help here.
•It is not complete - if you add new tasks via <taskdef> it won't know about it. See this page by Michel Casabianca for a solution to this problem. Note that the DTD you can download at this page is based on Ant 0.3.1.
•It may even be an invalid DTD. As Ant allows tasks writers to define arbitrary elements, name collisions will happen quite frequently - if your version of Ant contains the optional <test> and <junit> tasks, there are two XML elements named test (the task and the nested child element of <junit>) with different attribute lists. This problem cannot be solved; DTDs don't give a syntax rich enough to support this.


Medjutim, i pored ovoga neki ljudi su se potrudili i sami napisali DTD.
Vidi ovo:
http://www.sdv.fr/pages/casa/html/ant-dtd.en.html

A ima ih jos. Samo na googlu kazi "ant.dtd".
 
Odgovor na temu

filmil
Filip Miletić
Oce Technologies B.V., inženjer
hardvera
Arcen, NL

Član broj: 243
Poruke: 2114
*.et.tudelft.nl

Jabber: filmil@jabber.org
ICQ: 36601391


+3 Profil

icon Re: Mravi u travi (DTD za Apache Ant build.xml)04.02.2004. u 17:41 - pre 245 meseci
Citat:

Sa ANT FAQ:
http://ant.apache.org/faq.html#dtd
Citat:
An incomplete DTD can be created by the <antstructure> task - but
this one has a few problems:
Medjutim, i pored ovoga neki ljudi
su se potrudili i sami napisali DTD.
Vidi ovo:


Upravo zbog ovog prvog dela FAQ-a sam i pitao; u trenutku mi se bilo
učinilo da DTD ne postoji. Ali link koji si mi dao je prava stvar. 10x 10e6.

f
 
Odgovor na temu

[es] :: Java :: Mravi u travi (DTD za Apache Ant build.xml)

[ Pregleda: 3020 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.