#183 Wrong xmlns in docs/cc.html

closed-fixed
David Haney
cpptasks (103)
5
2007-08-23
2006-10-08
Bahco
No

I was getting error message
build.xml:8: Could not create task or type of type: cc.
This appeared to result from minor errors in file
docs/cc.html.

<quote src="docs/cc.html">
2. Add type and task definitions in build file:
* Ant 1.6 or later: add
xmlns:cpptasks="antlib:org.sf.net.antcontrib.cpptasks"
to <project> element.
</quote>

The xmlns:cpptasks should read:
xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks" for
this to work for me.

<quote src="docs/cc.html">
3. Add <cc/>, <compiler/> and <linker/> elements to
project.
</quote>

This line should read
3. Add <cpptasks:cc/>, <cpptasks:compiler/> and
<cpptasks:linker/> elements to project.
for this to work for me.

I'm running
- cpptasks-1.0b4
- ant 1.6.5

Discussion

  • Bahco
    Bahco
    2006-10-08

    The build file.

     
    Attachments
  • David Haney
    David Haney
    2007-08-17

    Logged In: YES
    user_id=1140024
    Originator: NO

    Patch 1776585 addresses these documentation issues (along with a few others).

     
  • David Haney
    David Haney
    2007-08-23

    • assigned_to: carnold --> darius42
     
  • David Haney
    David Haney
    2007-08-23

    Patch for documentation issues.

     
    Attachments
  • David Haney
    David Haney
    2007-08-23

    Logged In: YES
    user_id=1140024
    Originator: NO

    File Added: docs.diff

     
  • David Haney
    David Haney
    2007-08-23

    Logged In: YES
    user_id=1140024
    Originator: NO

    Committed patch docs.diff in revision 141.

     
  • David Haney
    David Haney
    2007-08-23

    • status: open --> closed-fixed