Bug 777933 (SOA-462) - Create source bundle
Summary: Create source bundle
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-462
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Build Process
Version: 4.2 GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.2 GA
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-10 10:04 UTC by Julian Coleman
Modified: 2008-03-18 13:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Linux Windows
Last Closed: 2008-03-18 13:57:24 UTC
Type: Task


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 777934 0 low CLOSED Does not build on Windows 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-462 0 None None None Never

Internal Links: 777934

Description Julian Coleman 2008-03-10 10:04:59 UTC
Complexity: Low
project_key: SOA

Need to provide source bundle for SOA-P (easy).
Need to check that it builds and what the build requirements are (on Unix/Linux and on Windows).

Comment 1 Julian Coleman 2008-03-10 10:07:53 UTC
Software requirements (command-line tools) for the build are:
        Java 5 SE SDK
        ant 1.7.0
        zip and unzip
        CVS
        Maven (mvn)
        Subversion (svn)


Comment 2 Julian Coleman 2008-03-10 13:21:53 UTC
The source doesn't build on Windows, as (at least) the mvn exec fails.  A separate issue will be opened to address this.

Comment 3 Julian Coleman 2008-03-10 13:43:35 UTC
Building the source zip:
  Create a soa-<rel> directory (e.g. soa-4.2.0) and check out the tagged SOA source into it
  Run:
    (cd build-tools && ant materialize.projects)
  to fetch the dependencies in soa-work.
  Add instructions and script/batch file to make it easy to build.

The instructions, script and batch file are being worked on.


Comment 4 Julian Coleman 2008-03-10 13:57:51 UTC
SOA-463 will fix the Windows build issue.

Comment 5 Julian Coleman 2008-03-10 13:57:51 UTC
Link: Added: This issue is related to SOA-463


Comment 6 Julian Coleman 2008-03-10 14:39:58 UTC
The instructions, script and batch file are checked in under the src-tools top-level directory.

Comment 7 Julian Coleman 2008-03-10 15:15:01 UTC
Source zip created (1.5GB).


Comment 8 Julian Coleman 2008-03-10 16:27:43 UTC
1.5GB is too large.
Will remove all the .svn directories.  That should halve the size:

mkdir soa-4.2.0 && \
(cd soa-4.2.0 && \
svn co https://svn.corp.jboss.com/repos/soa/trunk/src-tools && \
mv src-tools/* . && \
rm -rf src-tools && \
svn co https://svn.corp.jboss.com/repos/soa/tags/4.2.0GA/build-tools && \
find build-tools -name .svn -exec rm -fr {} \; -prune && \
(cd build-tools && ant materialize.projects) && \
find soa-work -name .svn -exec rm -fr {} \; -prune     
) && \
find soa-4.2.0 | zip soa-4.2.0.zip -@ && \
md5sum soa-4.2.0.zip > soa-4.2.0.zip.md5


Comment 9 Julian Coleman 2008-03-18 13:55:46 UTC
Removed the .svn and CVS directories using:
  mkdir soa-4.2.0 && \
  (cd soa-4.2.0 && \
  svn co https://svn.corp.jboss.com/repos/soa/trunk/src-tools && \
  mv src-tools/* . && \
  rm -rf src-tools && \
  svn co https://svn.corp.jboss.com/repos/soa/tags/4.2.0GA/build-tools && \
  find build-tools -name .svn -exec rm -fr {} \; -prune && \
  (cd build-tools && ant configure && ant materialize.projects) && \
  find soa-work \( -name .svn -o -name CVS \) -exec rm -fr {} \; -prune
  ) && \
  rm -f soa-4.2.0.zip 2>&1 && \
  find soa-4.2.0 | zip soa-4.2.0.zip -@ && \
  md5sum soa-4.2.0.zip > soa-4.2.0.zip.md5

Also removed was a (no longer used) old version of the EAP zip.  The final source size is:
  -rw-r--r-- 1 jdc staff 581849907 2008-03-12 13:54 soa-4.2.0.zip

Uploaded to SVN and Chris O'Brien uploaded that to:
  ftp://ftp.redhat.com/pub/redhat/soa-p/4.2.0/en/source/soa-4.2.0.zip



Note You need to log in before you can comment on or make changes to this bug.