ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject Pb with namespaces in Ant 1.6 official
Date Tue, 06 Jan 2004 16:41:25 GMT
Just starting updating from Ant 1.6 beta1 to 1.6 official,
and I've having a bad surprise. It seems there's a problem
handling the default Ant namespace when explicitly specified,
or when used as the default namespace, at least for the <tstamp>
task.

Have I doing something wrong??? --DD

P:\com_lgc\10.0.7\tahoe>C:\pro\ant1.6\bin\ant -f build16.xml
Buildfile: build16.xml

BUILD FAILED
P:\com_lgc\10.0.7\tahoe\build16.xml:4: The <tstamp> type doesn't support the
nested "format" element
.

Total time: 0 seconds
P:\com_lgc\10.0.7\tahoe>type build16.xml
<?xml version="1.0"?>

<project xmlns="antlib:org.apache.tools.ant">
  <tstamp>
    <format property="TIME_NOW" pattern="hh:mm:ss a z" />
    <format property="MMdd" pattern="MMdd" />
  </tstamp>
</project>

P:\com_lgc\10.0.7\tahoe>
P:\com_lgc\10.0.7\tahoe>
P:\com_lgc\10.0.7\tahoe>C:\pro\ant1.6\bin\ant -f build16.xml
Buildfile: build16.xml

BUILD SUCCESSFUL
Total time: 0 seconds
P:\com_lgc\10.0.7\tahoe>type build16.xml
<?xml version="1.0"?>

<project>
  <tstamp>
    <format property="TIME_NOW" pattern="hh:mm:ss a z" />
    <format property="MMdd" pattern="MMdd" />
  </tstamp>
</project>

P:\com_lgc\10.0.7\tahoe>
P:\com_lgc\10.0.7\tahoe>
P:\com_lgc\10.0.7\tahoe>C:\pro\ant1.6\bin\ant -f build16.xml
Buildfile: build16.xml

BUILD FAILED
P:\com_lgc\10.0.7\tahoe\build16.xml:4: The <tstamp> type doesn't support the
nested "format" element
.

Total time: 0 seconds
P:\com_lgc\10.0.7\tahoe>type build16.xml
<?xml version="1.0"?>

<project>
  <tstamp xmlns="antlib:org.apache.tools.ant">
    <format property="TIME_NOW" pattern="hh:mm:ss a z" />
    <format property="MMdd" pattern="MMdd" />
  </tstamp>
</project>

P:\com_lgc\10.0.7\tahoe>
P:\com_lgc\10.0.7\tahoe>C:\pro\ant1.6\bin\ant -f build16.xml
Buildfile: build16.xml

BUILD FAILED
P:\com_lgc\10.0.7\tahoe\build16.xml:4: The <tstamp> type doesn't support the
nested "format" element
.

Total time: 0 seconds
P:\com_lgc\10.0.7\tahoe>type build16.xml
<?xml version="1.0"?>

<project>
  <ant:tstamp xmlns:ant="antlib:org.apache.tools.ant">
    <ant:format property="TIME_NOW" pattern="hh:mm:ss a z" />
    <ant:format property="MMdd" pattern="MMdd" />
  </ant:tstamp>
</project>

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


Mime
View raw message