on 08-04-2009 3:41 PM
Doing some exercises with Ant build files for my understanding, I got with the below given coding
<?xml version="1.0" encoding="UTF-8"?>
<project name="bsp1203" default="main" basedir=".">
<fileset dir="." id="id_fs1"/>
<target name="main" depends="check">
<echo message="id_xyz existiert : ${c1}"
id="id_echo1"/>
<echo message="id_fs1 existiert : ${c2}"/>
<echo message="id_fs1 ist ein Property : ${c3}"/>
<echo message="id_fs1 ist ein Fileset : ${c4}"/>
<echo message="id_echo1 ist ein echo-task : ${c5}"/>
</target>
<target name="check">
<condition property="c1" value="ja">
<isreference refid="id_xyz" />
</condition>
<property name="c1" value="nein"/>
<condition property="c2" value="ja">
<isreference refid="id_fs1" />
</condition>
<property name="c2" value="nein"/>
<condition property="c3" value="ja">
<isreference refid="id_fs1" type="property"/>
</condition>
<property name="c3" value="nein"/>
<condition property="c4" value="ja">
<isreference refid="id_fs1" type="fileset"/>
</condition>
<property name="c4" value="nein"/>
<condition property="c5" value="ja">
<isreference refid="id_echo1" type="echo" />
</condition>
<property name="c5" value="nein"/>
</target>
</project>
following error message within NetWeaver Developer Studio v7.0.11
BUILD FAILED: file:X:/path/bsp1203.xml:15: The <condition> task doesn't support the nested "isreference" element.
Is there anyone who can guide me to the documents which give me the actual command set words being realized so fare in that DS version for ANT?
Thank you.
Regards
Christian
Looking at
Link: [http://ant.apache.org/manual/CoreTasks/condition.html]
It does not have isreference element under the condition task??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.