krysalis-menu build.xml,1.4,1.5
Glen Stampoultzis <[email protected]> Thu, 24 Mar 2005 10:45:46 +0000
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/krysalis-menu
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10299
Modified Files:
build.xml
Log Message:
Fixed build system problems
Index: build.xml
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-menu/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** build.xml 16 Feb 2005 04:39:00 -0000 1.4
--- build.xml 24 Mar 2005 10:45:44 -0000 1.5
***************
*** 1,2 ****
--- 1,21 ----
+ <!--
+ You probably wondering how to build krysalis menu.
+
+ This build has two prerequisites:
+
+ 1. Tapestry 3.0.2
+ 2. Forrest 0.6
+
+ You will need to install these and then copy .build.properties.sample to .build.properties and modify
+ the contents to point to these installations.
+
+ Installing forrest is not an obvious process. The trick is to:
+
+ * extract the archive
+ * run build.bat
+ * define FORREST_HOME environment variable to point to {forrest.install.dir}/src/core
+ * add {forrest.install.dir}/src/core/bin to the path
+
+ -->
<project name="Krysalis Menu" basedir="." default="all" >
***************
*** 39,49 ****
<property name="project.jdk.home" value="${jdk.home}"/>
<property name="project.jdk.classpath" value="jdk.classpath"/>
! <property name="version" value="0.1"/>
<!-- Project Libraries -->
<!-- Global Libraries -->
<path id="library.tapestry.classpath">
! <fileset dir="${tapestry.home}/framework/target/module-lib/compile" includes="**/*.jar"/>
! <fileset dir="${tapestry.home}/contrib/target/module-lib/compile" includes="**/*.jar"/>
</path>
--- 58,67 ----
<property name="project.jdk.home" value="${jdk.home}"/>
<property name="project.jdk.classpath" value="jdk.classpath"/>
! <property name="version" value="0.1.2"/>
<!-- Project Libraries -->
<!-- Global Libraries -->
<path id="library.tapestry.classpath">
! <fileset dir="${tapestry.home}/lib" includes="**/*.jar"/>
</path>
***************
*** 67,73 ****
<fail unless="j2ee.path.jar" message="Please define j2ee.path.jar in .build.properties. See .build.properties.sample for an example of what properties to define"/>
! <available file="${tapestry.home}/framework/target" type="dir" property="tapestry.available"/>
! <fail unless="tapestry.available" message="Is the right version of tapestry installed in the directory '${tapestry.home}'? Expecting version 3.0.1"/>
</target>
--- 85,91 ----
<fail unless="j2ee.path.jar" message="Please define j2ee.path.jar in .build.properties. See .build.properties.sample for an example of what properties to define"/>
! <available file="${tapestry.home}/lib" type="dir" property="tapestry.available"/>
! <fail unless="tapestry.available" message="Is the right version of tapestry installed in the directory '${tapestry.home}'? Expecting version 3.0.2"/>
</target>
***************
*** 75,87 ****
<target name="clean" depends="clean.module.example, clean.module.documentation, clean.module.component" description="cleanup all">
<delete dir="forrest/build/"/>
</target>
! <target name="all" depends="init, clean, compile.module.component, j2ee.build.war.example, site" description="build all"/>
<target name="dist" depends="all">
<mkdir dir="dist"/>
<copy todir="docs"><fileset dir="forrestdocs/build/site"/></copy>
! <zip destfile="dist/krysalis-menu-${version}.zip" basedir="." excludes="**/*.iws,**/.build.properties,dist/**,build/**,example/exploded/**,**/*.class,component/classes/**,forrestdocs/build/**"/>
! <tar destfile="dist/krysalis-menu-${version}.tar" basedir="." excludes="**/*.iws,**/.build.properties,dist/**,build/**,example/exploded/**,**/*.class,component/classes/**,forrestdocs/build/**"/>
<gzip src="dist/krysalis-menu-${version}.tar" destfile="dist/krysalis-menu-${version}.tar.gz"/>
<delete dir="docs"/>
--- 93,106 ----
<target name="clean" depends="clean.module.example, clean.module.documentation, clean.module.component" description="cleanup all">
<delete dir="forrest/build/"/>
+ <delete dir="dist"/>
</target>
! <target name="all" depends="init, clean, compile.module.component, j2ee.build.war.example, jar.module.component, site" description="build all"/>
<target name="dist" depends="all">
<mkdir dir="dist"/>
<copy todir="docs"><fileset dir="forrestdocs/build/site"/></copy>
! <zip destfile="dist/krysalis-menu-${version}.zip" basedir="." excludes="**/*.iws,**/.build.properties,dist/**,build/**,example/exploded/**,**/*.class,component/classes/**,forrestdocs/build/**,*.ipr,*.iws,**/*.iml"/>
! <tar destfile="dist/krysalis-menu-${version}.tar" basedir="." excludes="**/*.iws,**/.build.properties,dist/**,build/**,example/exploded/**,**/*.class,component/classes/**,forrestdocs/build/**,*.ipr,*.iws,**/*.iml"/>
<gzip src="dist/krysalis-menu-${version}.tar" destfile="dist/krysalis-menu-${version}.tar.gz"/>
<delete dir="docs"/>
***************
*** 91,95 ****
<target name="uploadtosourceforge" depends="dist">
<ftp server="upload.sourceforge.net" userid="anonymous" password="[email protected]">
! <filelist dir="dist" files="dist/krysalis-menu-${version}.zip,dist/krysalis-menu-${version}.tar.gz"/>
</ftp>
</target>
--- 110,114 ----
<target name="uploadtosourceforge" depends="dist">
<ftp server="upload.sourceforge.net" userid="anonymous" password="[email protected]">
! <filelist dir="dist" files="dist/krysalis-menu-${version}.zip,dist/krysalis-menu-${version}.tar.gz,krysalis-menu-${version}.zip"/>
</ftp>
</target>
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click