[sword-devel] Build file for jsword
Jerry Kreps
sword-devel@crosswire.org
Sun, 9 Dec 2001 23:03:09 -0600
On Sunday 09 December 2001 22:21, Mike Dougherty wrote:
> On Sun, 2001-12-09 at 19:13, Bobby Nations wrote:
> > All,
> >
> > I'm pumped to find out about jsword, the java port of sword. As
> > a small token of my appreciation for the work done by everyone so
> > far, I'm attaching an ant build file for the jsword project. By
> > default, it will compile and jar all of the java files under
> > 'jsword/src' into 'jsword/dist/sword.jar', and it will also
> > create the javadocs under 'jsword/dist/api'. There's a clean
> > target as well to remove temporary directories such as dist.
> >
> > Hope you like it, and I would love to contribute more to the
> > ongoing porting efforts.
> >
> > Cheers,
> >
> > Bobby
> > ----
>
> It works, I like it! I by no means have the final word, but may I
> suggest a few changes?
>
>
> 15c15
> < <property name="build.dir" value="btree" />
> ---
>
> > <property name="build.dir" value="classes" />
>
> Functionally it does the same thing. I prefer to use classes, it's
> more of name for what is going in the directory. Also, a few IDEs
> that compile into separate directories (i.e. JBuilder) use "src"
> and "classes" so this name will make it easier for those lazy
> developers that use an IDE. (Ooooh, I feel flame coming on...)
A nice change. Back in 1979, while I was coding on an Apple II+
using Apple Basic, I formed a partnership with a computer professor
from the Univ of Nebr at kearney. It was called 'WetWare', which we
thought was a clever reference to our brains. One of his strict
rules was that every line number was incremented by 10. He really
wrote beautiful code. And he wrote really slow. Every time he made
a change he renumbered all the lines from the change on down so that
they were increments of 10. He renumbered manually. I, on the
otherhand, would merely put 12, 14, 16 and 18 between 10 and 20.
If there were 200 lines of code he would renumber everything from 10
on up, manually. He refered to my coding style as lazy. I was
lazy, but I got to market. He never reached the market in time to
make an economic contribution to WetWare. A year after we started
our partnership I bought him out. He went on to earn his PhD and
teach at the Univ of Oregon. To this day I could never understand
why he wouldn't use a simple line-renumbering utility if he continued
to insist that all of his code has lines incremented by 10. I look
at GUI's like I look at simple line-renumbering utilities... just a
tool that make work easier, or allows more to be accomplished in less
time.