xlawrence    2005/11/02 18:19:38 CET

  Modified files:
    .                    ant.build.properties.example build.xml 
  Log:
  Added property so the generated jar gets automatically copied in 
{JAHIA_HOME}/core/src/webapp/WEB-INF/var/shared_templates
  Thus, we won't need to copy it manually in order to commit the jar in the 
jahia project
  
  Revision  Changes    Path
  1.4       +6 -0      corporate_portal_templates/ant.build.properties.example
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/ant.build.properties.example.diff?r1=1.3&r2=1.4&f=h
  1.8       +3 -0      corporate_portal_templates/build.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/build.xml.diff?r1=1.7&r2=1.8&f=h
  
  
  
  Index: ant.build.properties.example
  ===================================================================
  RCS file: 
/home/cvs/repository/corporate_portal_templates/ant.build.properties.example,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ant.build.properties.example      7 Oct 2005 08:56:14 -0000       1.3
  +++ ant.build.properties.example      2 Nov 2005 17:19:37 -0000       1.4
  @@ -5,3 +5,9 @@
   lib=${tomcat.home}/webapps/jahia/WEB-INF/lib
   siteName=mySite
   jspTargetDir = ${tomcat.home}/webapps/jahia/jsp/jahia/templates/${siteName}
  +
  +# Change this value if you want the generated jar to be automatically copied 
in the jahia
  +# core directory.
  +# {JAHIA_HOME}/core/src/webapp/WEB-INF/var/shared_templates
  +sharedTemplateDir = ./dist
  + 
  
  
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/repository/corporate_portal_templates/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml 10 Oct 2005 13:26:06 -0000      1.7
  +++ build.xml 2 Nov 2005 17:19:37 -0000       1.8
  @@ -110,6 +110,9 @@
               <exclude name="**/Thumbs.db"/>
               <exclude name="**/*.bak"/>
           </jar>
  +        
  +        <copy file="${dist}/${templates}.jar" todir="${sharedTemplateDir}" />
  +        
       </target>
   
       <target name="compile" depends="prepare"
  

Reply via email to