[jbosstools-commits] JBoss Tools SVN: r23379 - trunk/build.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Mon Jul 12 18:01:47 EDT 2010
Author: nickboldt
Date: 2010-07-12 18:01:47 -0400 (Mon, 12 Jul 2010)
New Revision: 23379
Modified:
trunk/build/publish.sh
Log:
generating source zip w/ Ant is fail; reverting to simple shell approach w/ excludes
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2010-07-12 20:05:28 UTC (rev 23378)
+++ trunk/build/publish.sh 2010-07-12 22:01:47 UTC (rev 23379)
@@ -77,6 +77,13 @@
# get sources zip
if [[ -f ${WORKSPACE}/sources/build/sources/target/sources.zip ]]; then
rsync -aq ${WORKSPACE}/sources/build/sources/target/sources.zip ${WORKSPACE}/site/${JOB_NAME}/${SRCSNAME}
+else
+ # create sources zip
+ pushd ${WORKSPACE}/sources
+ zip ${WORKSPACE}/site/{JOB_NAME}/${SRCSNAME} -q -r * -x documentation\* -x download.jboss.org\* -x requirements\* \
+ -x workingset\* -x labs\* -x build\* -x \*test\* -x \*target\* -x \*.class -x \*.svn\* -x \*classes\* -x \*bin\* -x \*.zip \
+ -x \*docs\* -x \*reference\* -x \*releng\*
+ popd
fi
# generate HTML snippet for inclusion on jboss.org
More information about the jbosstools-commits
mailing list