Java Mailing List Archive

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

Home » Ant Users List »

Re: Setting path to MSVC compiler with cctask

Dominique Devienne

2008-04-29

Replies: Find Java Web Hosting

Author LoginPost Reply
On Wed, Apr 23, 2008 at 5:55 AM, Paul Richards <paul.richards@(protected):
> So my question is how to specify the path to cl.exe neatly? Can the
> path to cl.exe be specified manually to cctask?

Not that I remember.

> Does Ant support calling itself in a neater way that
> doesn't require spawning a new shell?

No, not in a nice way, but you can encapsulate it once in a macro possibly.

Regarding your issue, I don't put cl.exe or VC in my path, and used
the .bat supplied with Visual Studio before invoking Ant. But that's a
manual step, or a .bat one, i.e. not integrated in Ant. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

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