ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <>
Subject Re: Need to compile VB project
Date Mon, 01 Oct 2007 07:22:10 GMT

To use <exec> you'll need something like:

<project name="vbcrap" basedir=".">

  <property name="vbexe" location="c:\Program Files\Microsoft Visual

  <target name="compile">
    <!-- for the love of god stop installing stuff in dirs with spaces
in the names -->
    <exec executable="${vbexe}">
      <arg value="-make"/>
      <arg value=" Moagent32.vbp"/>
      <arg value="c:\test.dll"/>
      <arg value="-out"/>
      <arg value="c:\build_log.txt"/>


> M:\cc_mv_test\v_agentapi\Develop\VB Server>"c:\Program Files\Microsoft Visual St
> udio\VB98\VB6.EXE" -make Moagent32.vbp c:\test.dll -out c:\build_log.txt

Please spend some time reading the ant manual, this information is
easily available on the website and everyone appreciates it more if
you've attempted to find your own solution *before* asking for help.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message