Develop and Download Open Source Software

Browse CVS Repository

Diff of /pal/cms-portlets/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by shinsuke, Fri Dec 1 12:14:42 2006 UTC revision 1.3 by shinsuke, Sat Dec 2 22:54:32 2006 UTC
# Line 36  Line 36 
36    
37    <target name="servlet" depends="setup.shell,clean"    <target name="servlet" depends="setup.shell,clean"
38            description="--> Setup Servlet Delopment Environment">            description="--> Setup Servlet Delopment Environment">
     <exec  
       executable="${shell.cmd}"  
       failonerror="true"  
       dir="${basedir}"  
       >  
       <arg line="${shell.options} 'mvn clean'"/>  
     </exec>  
     <exec  
       executable="${shell.cmd}"  
       failonerror="true"  
       dir="${basedir}"  
       >  
       <arg line="${shell.options} 'mvn install'"/>  
     </exec>  
   
     <mkdir dir="${src.main.webapp.webinf.classes}"/>  
     <mkdir dir="${src.main.webapp.webinf.lib}"/>  
39    
40      <copy todir="${src.main.webapp.webinf.lib}">      <delete dir="${basedir}/target"/>
41        <fileset dir="${target.webapp.webinf.lib}">      <delete dir="${basedir}/work"/>
         <include name="*.jar"/>  
       </fileset>  
     </copy>  
     <copy todir="${src.main.webapp.webinf.classes}">  
       <fileset dir="${target.webapp.webinf.classes}">  
         <include name="**"/>  
       </fileset>  
     </copy>  
   
     <exec  
       executable="${shell.cmd}"  
       failonerror="true"  
       dir="${basedir}"  
       >  
       <arg line="${shell.options} 'mvn clean'"/>  
     </exec>  
42    
43      <!-- pom.xml -->      <!-- pom.xml -->
44      <replace      <replace
# Line 101  Line 68 
68          >          >
69      </replace>      </replace>
70    
71        <exec
72          executable="${shell.cmd}"
73          failonerror="true"
74          dir="${basedir}"
75          >
76          <arg line="${shell.options} 'mvn install'"/>
77        </exec>
78    
79        <mkdir dir="${src.main.webapp.webinf.classes}"/>
80        <mkdir dir="${src.main.webapp.webinf.lib}"/>
81    
82        <copy todir="${src.main.webapp.webinf.lib}">
83          <fileset dir="${target.webapp.webinf.lib}">
84            <include name="*.jar"/>
85          </fileset>
86        </copy>
87        <copy todir="${src.main.webapp.webinf.classes}">
88          <fileset dir="${target.webapp.webinf.classes}">
89            <include name="**"/>
90          </fileset>
91        </copy>
92    
93        <delete dir="${basedir}/target"/>
94    
95    </target>    </target>
96    
# Line 110  Line 100 
100    
101    <target name="portlet" depends="setup.shell,clean"    <target name="portlet" depends="setup.shell,clean"
102            description="--> Setup Portlet Delopment Environment">            description="--> Setup Portlet Delopment Environment">
103      <exec  
104        executable="${shell.cmd}"      <delete dir="${basedir}/target"/>
105        failonerror="true"      <delete dir="${basedir}/work"/>
       dir="${basedir}"  
       >  
       <arg line="${shell.options} 'mvn clean'"/>  
     </exec>  
106    
107      <!-- pom.xml -->      <!-- pom.xml -->
108      <replace      <replace

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26