|
From: Artur H. <ko...@pl...> - 2003-10-03 21:04:50
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> > I prefer to do one script now and maybe later divide it into
> > more parts.
> I prefer two scripts. I see distinct communities growing behind
> generguide:
> 1. Users who are prepared to install java.
> 2. 'nix users who don't like java.
> 3. Windows users who won't install java. (Tech writers)
> 4. 'nix/cygwin users.
> Hence, I think we should consider treating java and shell scripts as
> seperate sub-projects.
I was thinking about simple extension of existing bash script first.
Support for Java tools would be visible only if you set command line
parameter to use Java tools. By default Java tools weren't be used,
visible and no JDK and jars are necessary.
I need bash because of it's scripting language features, command line
parameters parsing, easy way to manage files, setup target and temporary
directories and so on.
I also need Java tools for its features like XSLDocBook extensions and
target PDF format.
So I am not ready yet to create support for all kinds of users.
I agree that it is better to have separated code for Java and non-Java
tools but I wanted to prevent implementation the same part of script in
2 places (command line parameters parsing, seting up target, temp
directories and so on).
Than I propose to implement this as follows:
1. Leave current generpublish.sh as a master script parsing command line
parameters, seting up whole necessary environment and calling proper
tool script.
2. Create 2 tool scripts, one using xmlproc tools, and second used Java tools.
By default xmlproc tools will be used but if '-j' parameter is given Java
tools will be used and target format PDF will be available.
Artur
- --
Artur Hefczyc "Don't change people, just live with them."
Open Source Developer:
http://www.geotools.org/
http://generguide.sourceforge.net/
http://wttools.sourceforge.net/
http://maven-plugins.sourceforge.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/feQk0/6x1bjSKPkRAmaSAKDPVhMvZiTZ094vtFCZGWlL62JzjQCeJ+RY
YkAT+8RojFm6CwnKcx3BW6c=
=tNvV
-----END PGP SIGNATURE-----
|