[jbosside-dev] Building a standalone component for release using the releng system.

Max Rydahl Andersen max.andersen at jboss.com
Tue Jan 9 18:13:00 EST 2007



> Sure no problem =)
>
> Is eclipse 3.2.1 + wtp 1.5.1 a suitable test environment?

yes for nodep.

the "all included" should be run with just eclipse 3.2.1

/max

> On 1/9/07, Max Rydahl Andersen <max.andersen at jboss.com> wrote:
>>
>>
>> Thanks! I tested it here and it works for me ;)
>>
>> Could you verify the hibernatetools-3.2.0.beta9.zip just to double  
>> check ?
>>
>> And if that goes fine upload it to the proper location at sf.net and  
>> tell
>> me about
>> it so i can do the release blah blah ;) ? Thanks!
>>
>> /max
>>
>> > Build is finished.. I've temporarily uploaded the resulting zips here:
>> >
>> >
>> http://download.jboss.org/jbosside/hibernatetools/HibernateTools-3.2.0.beta9.zip
>> >
>> http://download.jboss.org/jbosside/hibernatetools/HibernateTools-nodeps-3.2.0.beta9.zip
>> >
>> > On 1/9/07, Marshall Culpepper <marshall.culpepper at jboss.com> wrote:
>> >>
>> >> Cool... The build is going on my local machine... I'll send you the  
>> zip
>> >> once everything is finished...
>> >>
>> >> On 1/9/07, Max Rydahl Andersen < max.andersen at jboss.com> wrote:
>> >> >
>> >> >
>> >> > ok - i'm back from my concussion ;)
>> >> >
>> >> > i've prepared the release and the tag is: TOOLS_3_2_0_beta9
>> >> >
>> >> > Let me know when it's build so i can test the build. Thanks!
>> >> >
>> >> > /max
>> >> >
>> >> > > What is the tag info I should be using ?
>> >> > >
>> >> > > On 1/2/07, Max Rydahl Andersen < max.andersen at jboss.com> wrote:
>> >> > >>
>> >> > >>
>> >> > >> no; just thinks it's the network i'm behind during the  
>> "holidays"
>> >> > that
>> >> > >> is
>> >> > >> to blame
>> >> > >> (even though I also had the same errors when I tried it at the
>> >> > neuchatel
>> >> > >> offices)
>> >> > >>
>> >> > >> /max
>> >> > >>
>> >> > >> > Ahh ok.. I wonder if our servers were having problems when you
>> >> were
>> >> >
>> >> > >> > trying?
>> >> > >> > Let me try from here to see if there are any connection  
>> problems
>> >> on
>> >> > my
>> >> > >> > side.
>> >> > >> >
>> >> > >> > On 1/2/07, Max Rydahl Andersen < max.andersen at jboss.com>  
>> wrote:
>> >> > >> >>
>> >> > >> >> On Tue, 02 Jan 2007 21:10:36 +0100, Marshall Culpepper
>> >> > >> >> <marshall.culpepper at jboss.com > wrote:
>> >> > >> >>
>> >> > >> >> > Can you give any more details? Was the error while checking
>> >> > >> >> > out/downloading
>> >> > >> >> > a component?
>> >> > >> >>
>> >> > >> >> yes, probably.
>> >> > >> >> The logging is not exactly informative since it just sits  
>> there
>> >> > until
>> >> > >> it
>> >> > >> >> times out.
>> >> > >> >>
>> >> > >> >> But the first couple of times it was the eclipse parts and
>> later
>> >> > on
>> >> > >> the
>> >> > >> >> cvs checkout....
>> >> > >> >> and then the "dreaded" unspecified build.xml errors because
>> some
>> >> > of
>> >> > >> the
>> >> > >> >> later files were
>> >> > >> >> only partially downloaded.
>> >> > >> >>
>> >> > >> >> /max
>> >> > >> >>
>> >> > >> >> >
>> >> > >> >> > On 1/2/07, Max Rydahl Andersen <max.andersen at jboss.com >
>> >> wrote:
>> >> > >> >> >>
>> >> > >> >> >>
>> >> > >> >> >> ok - so this did never work for me ;(
>> >> > >> >> >>
>> >> > >> >> >> I tried multiple times over the weekend but I keep getting
>> >> > >> connection
>> >> > >> >> >> reset or other connection related issues.
>> >> > >> >> >>
>> >> > >> >> >> Maybe this is because of being behind a sucky connection;
>> but
>> >> > >> anyhow
>> >> > >> >> >> it's
>> >> > >> >> >> a pain.
>> >> > >> >> >>
>> >> > >> >> >> /max
>> >> > >> >> >>
>> >> > >> >> >> >
>> >> > >> >> >> > cool - lets see how well I can do this sometime next  
>> week
>> >> ;)
>> >> > >> >> >> >
>> >> > >> >> >> > /max
>> >> > >> >> >> >
>> >> > >> >> >> >> 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.
>> >> > >> >> >> >>
>> >> > >> >> >> >
>> >> > >> >> >> >
>> >> > >> >> >> >
>> >> > >> >> >>
>> >> > >> >> >>
>> >> > >> >> >>
>> >> > >> >> >> --
>> >> > >> >> >> --
>> >> > >> >> >> Max Rydahl Andersen
>> >> > >> >> >> callto://max.rydahl.andersen
>> >> > >> >> >>
>> >> > >> >> >> Hibernate
>> >> > >> >> >> max at hibernate.org
>> >> > >> >> >> http://hibernate.org
>> >> > >> >> >>
>> >> > >> >> >> JBoss a division of Red Hat
>> >> > >> >> >> max.andersen at jboss.com
>> >> > >> >> >>
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >>
>> >> > >> >>
>> >> > >> >>
>> >> > >> >> --
>> >> > >> >> --
>> >> > >> >> Max Rydahl Andersen
>> >> > >> >> callto://max.rydahl.andersen
>> >> > >> >>
>> >> > >> >> Hibernate
>> >> > >> >> max at hibernate.org
>> >> > >> >> http://hibernate.org
>> >> > >> >>
>> >> > >> >> JBoss a division of Red Hat
>> >> > >> >> max.andersen at jboss.com
>> >> > >> >>
>> >> > >> >
>> >> > >> >
>> >> > >> >
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> --
>> >> > >> --
>> >> > >> Max Rydahl Andersen
>> >> > >> callto://max.rydahl.andersen
>> >> > >>
>> >> > >> Hibernate
>> >> > >> max at hibernate.org
>> >> > >> http://hibernate.org
>> >> > >>
>> >> > >> JBoss a division of Red Hat
>> >> > >> max.andersen at jboss.com
>> >> > >>
>> >> > >
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > --
>> >> > Max Rydahl Andersen
>> >> > callto://max.rydahl.andersen
>> >> >
>> >> > Hibernate
>> >> > max at hibernate.org
>> >> > http://hibernate.org
>> >> >
>> >> > JBoss a division of Red Hat
>> >> > max.andersen at jboss.com
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Marshall Culpepper
>> >> marshall.culpepper at jboss.com
>> >> JBossIDE Team Lead
>> >> JBoss, a division of Red Hat
>> >>
>> >
>> >
>> >
>>
>>
>>
>> --
>> --
>> Max Rydahl Andersen
>> callto://max.rydahl.andersen
>>
>> Hibernate
>> max at hibernate.org
>> http://hibernate.org
>>
>> JBoss a division of Red Hat
>> max.andersen at jboss.com
>>
>
>
>



-- 
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
max at hibernate.org
http://hibernate.org

JBoss a division of Red Hat
max.andersen at jboss.com




More information about the jbosstools-dev mailing list