0 Replies Latest reply on Sep 12, 2015 6:11 AM by Lakshmikanth S_13

    ColdFusionProhect building with ANT script

    Lakshmikanth S_13 Level 1

      I am new to coldfsion.I have some doubt in building coldfusion code with ant script to generate a war file

       

      <target name="war" >

        <echo message="Creating WAR file ..." />

       

        <war destfile="${distrib.dir}/${warFileName}" webxml="./WEB-INF/web.xml">

       

        <fileset dir="./src" />

       

        <fileset dir="./build/src">

       

        <include name="**/*.jar"/>

       

        </fileset>

       

        <fileset dir="${distrib.dir}/configfiles"/>

       

        </war>

       

        <echo message="WAR file created." />

       

        </target>

       

      I generated the war file and unzipped the war file and seen that code is just copied in war as like tar file. .Is generated war file right ?

       

      Is any other way to generate war file for coldfusion code ?

       

      Please help me on this.