Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
-projecthelp option odd error

-projecthelp option odd error

2007-05-09       - By Jesuschrist Superstar
Reply:     1     2     3  

Hello

I'm working in my very first ant file and i noticed an error while executing
ant with the -projecthelp option. This is my xml file:

<?xml version="1.0" encoding="UTF-8"?>

<project name="OMAP_19.12M4 Build" default="All" basedir=".">
   <description>OMAP_19.12M4 Build script</description>

   <!-- =================================
         target: All
        ================================= -->
   <target name="All" depends="Baseport,DSPBridge" description="--> Builds
an integrated Symbian S60 image">
       <echo>Symbian S60 complete environment image successfully
created</echo>
   </target>

   <!-- =================================
         target: Baseport
        ================================= -->
   <target name="Baseport" description="--> Builds the Symbian S60
Baseport">
       <echo>Symbian S60 Baseport built successfully</echo>
   </target>

   <!-- =================================
         target: DSPBridge
        ================================= -->
   <target name="DSPBridge" depends="" description="--> Builds the
19.xDSP/BIOS Bridge">
       <echo>19.x DSP/BIOS Bridge built successfully</echo>
   </target>
</project>

And this is the output of ant -p command:

Buildfile: C:\Documents and Settings\x0075480\My Documents\My TI
Documents\s60\SYMBIAN-S60_RLS_19.12M4\ant_project\test.xml
OMAP_19.12M4 Build script
Default target:

All        --> Builds an integrated Symbian S60 image
Main targets:

All        --> Builds an integrated Symbian S60 image
Baseport   --> Builds the 19.x DSP/BIOS Bridge
DSPBridge  --> Builds the Symbian S60 Baseport
Subtargets:

When i change the description parameter int the "DSPBridge" target to
"-->B", for example, it shows the help correctly:

Default target:

All        --> Builds an integrated Symbian S60 image
Main targets:

All        --> Builds an integrated Symbian S60 image
Baseport   --> Builds the Symbian S60 Baseport
DSPBridge  -->B
Subtargets:

However, i'm getting different results when changing the values of the
description.  any idea of what's happenning?

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.