Friends:
I have all my classpath settings and environment variables settings in a
batch file called env.bat

>From build.xml I want to call the env.bat so that I do not have to do the
class path settings in every build.xml file.

Here is the build.xml file snippet:

<!--Execute the bat file that sets the environment -->
<target name="init">
      <tstamp/>
      <echo message="Begining execution of the bat file"/>
      <exec executable="c:\bea\env.bat">
    </exec>
</target>

When I run ant, it says build successful, but the env.bat is not executed.
Any ideas?


Thanks in advance

Reply via email to