You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by Jeff Martin <je...@synamic.co.uk> on 2000/10/04 10:56:05 UTC

RE: the master build (was Re: martin fowler paper on continuous i ntegration)

At the moment things are changing quite a bit so the documentation is
waiting to catch up. At the moment the way to run alexandria is as follows:-

1. Get the latest version (I update some stuff lastnight)
2. cd build/
3. genapis.sh
4. build.sh
5. cd ..
6. vi src/config/AlexandriaResource.properties
	Change the following lines replacing (OUTPUT_PATH) with the
	path where you want alexandria to create the files. I think
	this might have to be an absolute path at the moment.

	markup.file=./src/xml/global.xml
	jxr.destination.directory=(OUTPUT_PATH)/code/html/jxr
	jxr.image.file=(OUTPUT_PATH)/code/html/file.gif
	jxr.image.folder=(OUTPUT_PATH)/code/html/folder.gif
	cvs.checkout.directory(OUTPUT_PATH)/code/cvs

7. vi src/xml/global.xml
	Use the current contents of this file as a guide and edit to
	point to your CVS etc.

	You can also add a build tag withing the module section

	<module>
		...
		<build file="build.xml" target="main"
classpath="build_classpath" />
	</module>

	build.xml should point the the ant build file of the project you
want built
	This should be relative the the projects root.

8. ./scripts/alexandria

Hopefully it will go away and build everything.

I have also changed my version of src/xsl/top.xsl to include a search field
for htdig http://www.htdig.org/ which I've set up to look at
(OUTPUT_PATH)/html/jxr this allows me to do searches on the source code.


-----Original Message-----
From: Barrie Treloar [mailto:Barrie.Treloar@camtech.com.au]
Sent: 03 October 2000 23:55
To: Jeff Martin
Subject: RE: the master build (was Re: martin fowler paper on continuous
i ntegration)


On Tue, 3 Oct 2000, Jeff Martin wrote:

> Basically the bonzai site of things is the JXR which is a rewrite of LXR
> which is the basis for bonzai.
> 
> The version of alexandria on the web site is a little out of date so you
may
> be better getting the latest version from CVS. Having said that the JXR
> stuff is still incomplete I believe that it will be within the next month
or
> so (Kevin Burton is handling this one so I'm not totally sure where he's
up
> to) .
> 
> Over the next couple of days I'll be checking in the beginnings of the
> tinderbox code which handles the building and testing of code.

I would be interested in the tinderbox stuff.  

I'm just starting to see if we can automate our build process.

I'm on the lists and have grabbed the alexandria source.  There isn't
a lot of documentation to indicate how to use it.  There are a lot of
scripts instead of ant build.xml files as well :)

Do you know where I can find more information?

Thanks
Barrie
--
Barrie Treloar
____________________________________________________________________

  Barrie Treloar                      Phone: +61 8 8303 3300
  Senior Analyst/Programmer           Fax:   +61 8 8303 4403 
  Electronic Commerce Division        Email: barrie@camtech.com.au
  Camtech (SA) Pty Ltd                http://www.camtech.com.au
 --- Level 8, 10 Pulteney Street, Adelaide SA 5000, Australia. ---
____________________________________________________________________


question re: Users.properties WAS: RE: the master build (was Re: martin fowler paper on continuous i ntegration)

Posted by Chris Todd <ct...@alabanza.com>.
Jeff-

I checked out the latest CVS of alexandria and built it, including your
ChangeLog ant task.  But when I run the instructions below, it gets a good
ways before it barfs when it can't find the file user.properties (or maybe
it was users.properties).  Since I had no idea what this file was or what it
should contain, I looked at your code for ChangeLog.java and wanted to
double check with you that the format of this file should be something like
this:

burtonator = Kevin Burton
jmartin = Jeff Martin
jschmoe = Joe Schmoe
etc.

Basically standard java properties format, but with CVS login on the left
and real name on the right.  Is that correct?

And is this file supposed to be a standard CVS config file (I was running
this on my home linux pc, which has CVS installed, but has never acted as a
CVS server), or is it a file we are supposed to create?

Thanks a bunch,
Chris Todd

>-----Original Message-----
>From: Jeff Martin [mailto:jeff.martin@synamic.co.uk]
>Sent: Wednesday, October 04, 2000 4:56 AM
>To: 'Barrie Treloar'
>Cc: Alexandria-Dev (E-mail)
>Subject: RE: the master build (was Re: martin fowler paper on continuous
>i ntegration)
>
>
>At the moment things are changing quite a bit so the documentation is
>waiting to catch up. At the moment the way to run alexandria is as
>follows:-
>
>1. Get the latest version (I update some stuff lastnight)
>2. cd build/
>3. genapis.sh
>4. build.sh
>5. cd ..
>6. vi src/config/AlexandriaResource.properties
>	Change the following lines replacing (OUTPUT_PATH) with the
>	path where you want alexandria to create the files. I think
>	this might have to be an absolute path at the moment.
>
>	markup.file=./src/xml/global.xml
>	jxr.destination.directory=(OUTPUT_PATH)/code/html/jxr
>	jxr.image.file=(OUTPUT_PATH)/code/html/file.gif
>	jxr.image.folder=(OUTPUT_PATH)/code/html/folder.gif
>	cvs.checkout.directory(OUTPUT_PATH)/code/cvs
>
>7. vi src/xml/global.xml
>	Use the current contents of this file as a guide and edit to
>	point to your CVS etc.
>
>	You can also add a build tag withing the module section
>
>	<module>
>		...
>		<build file="build.xml" target="main"
>classpath="build_classpath" />
>	</module>
>
>	build.xml should point the the ant build file of the project you
>want built
>	This should be relative the the projects root.
>
>8. ./scripts/alexandria
>
>Hopefully it will go away and build everything.
>
>I have also changed my version of src/xsl/top.xsl to include a search field
>for htdig http://www.htdig.org/ which I've set up to look at
>(OUTPUT_PATH)/html/jxr this allows me to do searches on the source code.
>
>
>-----Original Message-----
>From: Barrie Treloar [mailto:Barrie.Treloar@camtech.com.au]
>Sent: 03 October 2000 23:55
>To: Jeff Martin
>Subject: RE: the master build (was Re: martin fowler paper on continuous
>i ntegration)
>
>
>On Tue, 3 Oct 2000, Jeff Martin wrote:
>
>> Basically the bonzai site of things is the JXR which is a rewrite of LXR
>> which is the basis for bonzai.
>>
>> The version of alexandria on the web site is a little out of date so you
>may
>> be better getting the latest version from CVS. Having said that the JXR
>> stuff is still incomplete I believe that it will be within the next month
>or
>> so (Kevin Burton is handling this one so I'm not totally sure where he's
>up
>> to) .
>>
>> Over the next couple of days I'll be checking in the beginnings of the
>> tinderbox code which handles the building and testing of code.
>
>I would be interested in the tinderbox stuff.
>
>I'm just starting to see if we can automate our build process.
>
>I'm on the lists and have grabbed the alexandria source.  There isn't
>a lot of documentation to indicate how to use it.  There are a lot of
>scripts instead of ant build.xml files as well :)
>
>Do you know where I can find more information?
>
>Thanks
>Barrie
>--
>Barrie Treloar
>____________________________________________________________________
>
>  Barrie Treloar                      Phone: +61 8 8303 3300
>  Senior Analyst/Programmer           Fax:   +61 8 8303 4403
>  Electronic Commerce Division        Email: barrie@camtech.com.au
>  Camtech (SA) Pty Ltd                http://www.camtech.com.au
> --- Level 8, 10 Pulteney Street, Adelaide SA 5000, Australia. ---
>____________________________________________________________________
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: alexandria-dev-unsubscribe@java.apache.org
>For additional commands, e-mail: alexandria-dev-help@java.apache.org
>