build/etc/lego/lego.xml
build/etc/lego/lego.properties
server/src/etc/conf/default/jboss-server.lego
messaging/src/etc/server/default/deploy/jbossmq-service.lego
As I said, lego.xml is supposed to define a bunch of targets for different pluggable features, like "transaction-manager", "jbossmq" and so on. Each of targets "knows" what other features it depends on, what files are required and what configuration files has to be altered to enable the feature. After that you can define specialized server configuration by enumeration required features. For example, I've defined "ssb-mdb-xaoracle" server that supports SSB's, MDB's (with jbossmq) and oracle xa datasource.
PS: if it looks like complete waste of time and effort, let me know and I delete it.
Igor Fedorenko wrote:
--I meant to say ant's *buildfile*. Sorry for confusion. Igor Fedorenko wrote:It's an *ant* script. Nothing fancy, though, just a bunch of targets that move stuff from "all" to your new config and modify *-sevice.xml files if needed using ant's "replace" task. I'll check it in today.
Bill Burke wrote:
Yes that is a great idea. What kind of script? sh, perl, python, java, ??
I've done the same for the CD subscription but using InstallAnywhere.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:jboss-development-admin@;lists.sourceforge.net]On Behalf Of Igor
Fedorenko
Sent: Wednesday, November 06, 2002 5:07 PM
To: jboss-development
Subject: [JBoss-dev] Customizing JBoss server configurations
Hi,
I've created an ant script that allows easy creation of custom jboss server configurations (other then all, default and minimal). Basically, it defines a bunch of targets like "jbossmq", "transaction-manager" and alike from which you can assemble your own unique server. I am using this script to reduce amount of resource used by jboss by removing services that are not used to my app but I can see other usages as well.
Of course, this script is far from being complete but if it sounds like a good idea I can put it somewhere so people can start using/improving it. Thoughts?
Igor Fedorenko
Think smart. Think automated. Think Dynamics.
www.thinkdynamics.com
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development
