Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

<if> task in ant 1.

<path id="ant.antcontrib.classpath">
<pathelement location="../libext/ant/ant-contrib-1.0b3.jar" />
</path>

<!-- using this to get around some ant limitations with property settings -->
<taskdef resource="net/sf/antcontrib/antlib.xml"
classpathref="ant.antcontrib.classpath" />

<if>
<equals arg1="${foo}" arg2="bar" />
<then>
<echo message="The value of property foo is bar" />
</then>
<else>
<echo message="The value of property foo is not bar" />
</else>
</if>

The problem for anyone getting involved in politics in China, according to Hong Huang,
is that you never know how far you can go.

"I think every country has a line that you cannot cross. The problem in China is that that
line is a moving target," she said.

"There are times when you think the line has moved far away, but the next thing you
know, you are standing right on it."

You might also like