Update of /cvsroot/pfc-prolog/prolix
In directory sc8-pr-cvs1:/tmp/cvs-serv28795
Modified Files:
build.xml
Log Message:
Added compile-web target in build.xml to pack and deploy ONLY client side
Index: build.xml
===================================================================
RCS file: /cvsroot/pfc-prolog/prolix/build.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** build.xml 9 Jul 2003 09:22:12 -0000 1.16
--- build.xml 9 Jul 2003 09:29:28 -0000 1.17
***************
*** 348,371 ****
<!-- =================================================================== -->
! <!-- Compiles the WEB source code -->
<!-- =================================================================== -->
! <!--
! <target name="compile-web" depends="compile" if="servlet-lib.path">
! <mkdir dir="${build.war.dir}"/>
! <path id="web.path">
! <path refid="base.path"/>
! <pathelement location="${servlet-lib.path}"/>
! </path>
! <javac
! destdir="${build.war.dir}"
! debug="on"
! deprecation="off"
! optimize="on"
! classpathref="web.path"
! >
! <src path="${src.servlet.dir}"/>
! </javac>
</target>
! -->
<!-- =================================================================== -->
--- 348,369 ----
<!-- =================================================================== -->
! <!-- Used when only changes the web part (don't need to recompile server side) -->
<!-- =================================================================== -->
!
! <target name="compile-web" depends="xdoclet-generate">
! <copy todir="${src.web.dir}/WEB-INF">
! <fileset dir="${dist.dir}" includes="**/*.xml"/>
! </copy>
!
! <jar jarfile="${dist.dir}/${war.file}">
! <fileset
! dir="${src.web.dir}"
! includes="**/**"
! >
! </fileset>
! </jar>
! <copy file="${dist.dir}/${war.file}" todir="${jboss.deploy}" />
</target>
!
<!-- =================================================================== -->
|