Hey, I don't really have time at the moment to look this over. I am not
ignoring you, just don't have time to give this the attention that it
deserves.
--jason
On Sun, 25 Nov 2001 [EMAIL PROTECTED] wrote:
> Why set permissions to 655? (rw owner, rx for group and world) --- the
> owner of the files can't execute these---755 is probably the right choice
> here. Really, build.sh is the only one to worry about --- I don't see why
> you can't execute the 'ant' program or 'antRun' with calls to sh like 'sh
> ../tools/bin/ant' (pretty much has to be configured correctly on any UNIX
> system for it to function). Even if we are still having trouble getting
> build.sh executable properly, it's easy enough to drop in a README or
> INSTALL doc to tell the user to execute 'sh build.sh' which should work
> regardless.
>
> Why does build.sh need the search() function anyway? Don't we pretty much
> know where our version of ant is going to be located? You can just export
> ANT_HOME to be whatever you
> want....
>
> I know that this stuff is probably not JBoss' biggest priority right now,
> but I'd like to make this as easy as possible for anybody to build! (Tell
> me to shut up about this and I will -- I can make it work for myself
> regardless :)
>
> -jason
>
>
>
>
>
> Jason Dillon <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 11/21/2001 05:42 PM
>
>
> To: [EMAIL PROTECTED]
> cc:
> Subject: [JBoss-dev] CVS update: website-snapshots build.xml
>
>
>
> User: user57
> Date: 01/11/21 14:42:36
>
> Modified: . build.xml
> Log:
> o HACKED the build file to make all 'build.sh' and
> 'tools/bin/ant[Run]' files executable.
> ! I don't really like it, but don't have much choice. Thanks SUN!
>
> Revision Changes Path
> 1.2 +41 -17 website-snapshots/build.xml
>
> Index: build.xml
> ===================================================================
> RCS file: /cvsroot/jboss/website-snapshots/build.xml,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- build.xml 2001/11/20 00:42:20 1.1
> +++ build.xml 2001/11/21 22:42:35 1.2
> @@ -10,7 +10,7 @@
> <!-- -->
> <!--
> ====================================================================== -->
>
> -<!-- $Id: build.xml,v 1.1 2001/11/20 00:42:20 user57 Exp $ -->
> +<!-- $Id: build.xml,v 1.2 2001/11/21 22:42:35 user57 Exp $ -->
>
> <project default="main" name="JBoss Website/Snapshots">
>
> @@ -264,9 +264,9 @@
> <echo>Exporting CVS modules for snaphots...</echo>
>
>
> - <!-- Make sure there is an entry for this cvsroot -->
> + <!-- Make sure there is an entry for this cvsroot -->
>
> - <cvspass cvsroot="${snapshot.cvsroot}" password=""/>
> + <cvspass cvsroot="${snapshot.cvsroot}" password=""/>
> <cvs cvsroot="${snapshot.cvsroot}"
> command="-Q -r -f -z3 export"
> date="TODAY"
> @@ -291,10 +291,18 @@
>
> <!-- build jboss-all.tgz -->
>
> - <tar tarfile="${build.snapshots}/jboss-all.tar"
> - longfile="gnu"
> - basedir="${build.snapshots.tmp}"
> - includes="jboss-all/**">
> + <tar tarfile="${build.snapshots}/jboss-all.tar" longfile="gnu">
> + <tarfileset dir="${build.snapshots.tmp}" mode="655">
> + <include name="jboss-all/**/build.sh"/>
> + <include name="jboss-all/**/tools/bin/ant"/>
> + <include name="jboss-all/**/tools/bin/antRun"/>
> + </tarfileset>
> + <tarfileset dir="${build.snapshots.tmp}" mode="644">
> + <include name="jboss-all/**"/>
> + <exclude name="jboss-all/**/build.sh"/>
> + <exclude name="jboss-all/**/tools/bin/ant"/>
> + <exclude name="jboss-all/**/tools/bin/antRun"/>
> + </tarfileset>
> </tar>
> <gzip src="${build.snapshots}/jboss-all.tar"
> zipfile="${build.snapshots}/jboss-all.tgz"/>
> @@ -309,27 +317,43 @@
>
> <!-- build jboss-mq.tgz -->
>
> - <tar tarfile="${build.snapshots}/jboss-mq.tar"
> - longfile="gnu"
> - basedir="${build.snapshots.tmp}"
> - includes="jboss-mq/**">
> + <tar tarfile="${build.snapshots}/jboss-mq.tar" longfile="gnu">
> + <tarfileset dir="${build.snapshots.tmp}" mode="655">
> + <include name="jboss-mq/**/build.sh"/>
> + <include name="jboss-mq/**/tools/bin/ant"/>
> + <include name="jboss-mq/**/tools/bin/antRun"/>
> + </tarfileset>
> + <tarfileset dir="${build.snapshots.tmp}" mode="644">
> + <include name="jboss-mq/**"/>
> + <exclude name="jboss-mq/**/build.sh"/>
> + <exclude name="jboss-mq/**/tools/bin/ant"/>
> + <exclude name="jboss-mq/**/tools/bin/antRun"/>
> + </tarfileset>
> </tar>
> <gzip src="${build.snapshots}/jboss-mq.tar"
> zipfile="${build.snapshots}/jboss-mq.tgz"/>
>
> <!-- build jboss-plugins.zip -->
> -
> - <zip zipfile="${build.snapshots}/jboss-plugins.zip">
> +
> + <zip zipfile="${build.snapshots}/jboss-plugins.zip">
> <fileset dir="${build.snapshots.tmp}">
> <include name="jboss-plugins/**"/>
> </fileset>
> </zip>
>
> <!-- build jboss-plugins.tgz -->
> - <tar tarfile="${build.snapshots}/jboss-plugins.tar"
> - longfile="gnu"
> - basedir="${build.snapshots.tmp}"
> - includes="jboss-plugins/**">
> + <tar tarfile="${build.snapshots}/jboss-plugins.tar" longfile="gnu">
> + <tarfileset dir="${build.snapshots.tmp}" mode="655">
> + <include name="jboss-plugins/**/build.sh"/>
> + <include name="jboss-plugins/**/tools/bin/ant"/>
> + <include name="jboss-plugins/**/tools/bin/antRun"/>
> + </tarfileset>
> + <tarfileset dir="${build.snapshots.tmp}" mode="644">
> + <include name="jboss-plugins/**"/>
> + <exclude name="jboss-plugins/**/build.sh"/>
> + <exclude name="jboss-plugins/**/tools/bin/ant"/>
> + <exclude name="jboss-plugins/**/tools/bin/antRun"/>
> + </tarfileset>
> </tar>
> <gzip src="${build.snapshots}/jboss-plugins.tar"
> zipfile="${build.snapshots}/jboss-plugins.tgz"/>
>
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development