Thursday, January 5, 2012

How to run cleartool mkattr from ant script

Managing escape charactor is never a simple task, especially when it involves xml, cleartool, ant exec, and trying to publish a piece of html code on a blog. Here is an example of how to set an attribute to a ClearCase baseline.

<!-- set baseline with the new build label-->
<exec dir="${clearcase.bin}" executable="cleartool" failonerror="true" >
   <arg line="mkattr"/>
   <arg line="BuildNO"/>
   <arg line="&apos;\&quot;${build.label}\&quot;&apos;"/>
   <arg line="${cc.baseline.new}"/>
</exec>

4 comments:

Anonymous said...

I encountered your web log on yahoo and record a couple of of the posts.

pleasant physical exercise! I just twittered about
your net log

Feel free to surf to my weblog: outlet schuhe online shop

Anonymous said...

You practice inside your industry? You appear around to know
a lot of the content.

Here is my weblog - Designer Schuhe Outlet Online

Anonymous said...

I wrote a couple articles just about the identical study but you seem to acknowledge a little
a lot more just about it than I do.

Take a look at my blog post: How to Use Clickbank

Anonymous said...

Howdy, i read ʏour blog occasionally and i own a similar one and i was јust curiouѕ if
you get a lot of ѕpam comments? If so how do you prеvent
it, any plugin οr anything yоu can recommend? I get so much lately
it's driνing me mad so any assistance is very much apрreciated.


my web-site Chevy Trucks For Sale