User: user57
Date: 01/08/31 17:25:30
Modified: . build.xml
Log:
o adding scripts and helper scripts to run the nightly website update
Revision Changes Path
1.3 +30 -2 newsite/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/newsite/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.xml 2001/08/31 05:30:31 1.2
+++ build.xml 2001/09/01 00:25:30 1.3
@@ -10,7 +10,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.2 2001/08/31 05:30:31 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.3 2001/09/01 00:25:30 user57 Exp $ -->
<project default="main" name="JBoss/Website">
@@ -137,6 +137,7 @@
</path>
<!-- Where source files live -->
+ <property name="source.bin" value="${module.source}/bin"/>
<property name="source.metadata" value="${module.source}/metadata"/>
<property name="source.examples" value="${module.source}/examples"/>
<property name="source.stylesheets" value="${module.source}/stylesheets"/>
@@ -144,6 +145,7 @@
<property name="source.xdocs" value="${module.source}/xdocs"/>
<!-- Where build generated files will go -->
+ <property name="build.bin" value="${module.build}/bin"/>
<property name="build.metadata" value="${module.build}/metadata"/>
<property name="build.snapshots" value="${module.build}/snapshots"/>
<property name="build.docs" value="${module.build}/docs"/>
@@ -192,7 +194,7 @@
| different type of compile that needs to be performed, short of
| documentation compiles.
-->
- <target name="compile" depends="init, compile-docs, compile-metadata,
compile-snapshots"
+ <target name="compile" depends="init, compile-docs, compile-metadata,
compile-bin, compile-snapshots"
description="Compile all source files."/>
<!-- Compile doc sources & support files -->
@@ -215,6 +217,30 @@
</copy>
</target>
+ <!-- Compile bin scripts -->
+ <target name="compile-bin" depends="init">
+ <mkdir dir="${build.bin}"/>
+ <copy todir="${build.bin}" filtering="yes">
+ <fileset dir="${source.bin}">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <fixcrlf srcdir="${build.bin}"
+ eol="lf" eof="remove"
+ includes="**/*.sh"/>
+
+ <fixcrlf srcdir="${build.bin}"
+ eol="crlf" eof="remove"
+ includes="**/*.bat, **/*.cmd"/>
+
+ <chmod perm="+x">
+ <fileset dir="${build.bin}">
+ <include name="**/*.sh"/>
+ </fileset>
+ </chmod>
+ </target>
+
<property name="snapshot.cvsroot"
value=":pserver:[EMAIL PROTECTED]:/cvsroot/jboss"/>
@@ -227,11 +253,13 @@
<!-- Make sure there is an entry for this cvsroot -->
<cvspass cvsroot="${snapshot.cvsroot}" password=""/>
+ <!-- skip for testing
<cvs cvsroot="${snapshot.cvsroot}"
command="export"
date="TODAY"
package="jboss-all"
dest="${build.snapshots}"/>
+ -->
</target>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development