[jsword-devel] Updates

Joe Walker jsword-devel@bibletechnologieswg.org
29 Jul 2002 17:46:33 +0100


On Mon, 2002-07-29 at 04:11, Keith Ralston wrote:
> I am also missing the versions directory.  Should I have gotten that from
> cvs?

Nope.
Neither 'notes' nor 'target' should be in cvs.

The former contains version .zip files, which can be large and I'm not
sure that CVS history is useful for them - so the advice is to d/l the
.zip from sf.net, hopefully soon from crosswire.

The latter contains all the files built by jbuilder/ant/eclipse/etc.
Each build tool should build into a dir within target.

The directory in question: (target/ant/deploy/jsword/versions) is
created by ant in build.xml:112

    <unzip
        src="${notes.root}/versions/projectb-ser-av.zip"
        dest="${target.deploy}/${ant.project.name}"
    />

this is not a new task, and whenever I do a build it reappears.

--

% ant clean
Buildfile: build.xml

init:

clean:
   [delete] Deleting directory /home/joe/devt/jsword/target/ant

BUILD SUCCESSFUL
Total time: 8 seconds

% ls /home/joe/devt/jsword/target/ant
ls: /home/joe/devt/jsword/target/ant: No such file or directory

% ant deploy
Buildfile: build.xml

[snip]

    [unzip] Expanding:
/home/joe/devt/jsword/notes/versions/projectb-ser-av.zip into
/home/joe/devt/jsword/target/ant/deploy/jsword

BUILD SUCCESSFUL
Total time: 1 minute 29 seconds

% ls /home/joe/devt/jsword/target/ant/deploy/jsword/versions
ser

--

Do you have ${jsword}/notes/versions/projectb-ser-av.zip?

Joe.