Oops forgot one more thing..
Once you've edited the build.properties.template file to only list your
builder(s), you'll need to make sure to re-run the build customization
script i.e:
ant -f customizeBuild.xml customize
On 12/14/06, Marshall Culpepper <marshall.culpepper(a)jboss.com> wrote:
Hey guys... I'm sending this to everyone in case others want to use the
build system to build a release of their component.
First off you'll want to read over the Wiki for the JBossIDE release
project which I created here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossIDEReleaseProcess
The process is pretty similar except a few changes:
1) You need to go into builders/product/build.properties.template and edit
the " release.build.steps" and "builders" properties... Here is an
example
of what I'm using to succesfully build HibernateTools: (commented line is
the original value)
#release.build.steps=standalone.product ,bundle.eclipse,tests
release.build.steps=standalone.product,tests
#builders=freemarker,hibernate-tools,core,as,aop,ejb3,jbpm,cache,drools-ide,jbossws
builders=freemarker,hibernate-tools
The builders property should have your builder and any builders you
require, in the case of hibernate-tools the only required builder is
freemarker.
2) The tags file that you create (see step 6 in above wiki) will only need
tags for your component, it's dependent component, and for the unit tests.
My tags file for a build of Hibernate Tools looks like:
$ cat product/versionTags/3.2.0.beta9.tags
hibernate-tools=beta9
freemarker=1.0.0.Beta2
hibernate-tools.cvs=TOOLS_3_2_0_beta8
freemarker.cvs=IDE_FREEMARKER_1_0_BETA2
tests=3.2.0.beta9
tests.cvs=HEAD
In this case I used an old tag just to verify things were working, so Max
you'd need to change that CVS tag to the one you make for your next release.
--
Marshall Culpepper
marshall.culpepper(a)jboss.com
JBossIDE Team Lead
JBoss, a division of Red Hat
--
Marshall Culpepper
marshall.culpepper(a)jboss.com
JBossIDE Team Lead
JBoss, a division of Red Hat