[jsword-devel] Updates

Keith Ralston jsword-devel@bibletechnologieswg.org
Tue, 30 Jul 2002 18:49:39 -0500


ZIP files and JAR files are all the same to CVS.  Having the file there
would let us have one place for everything.  The build seems to be running
fine for me.  However, the application is still unable to find the Bible
files.  It seems to be looking for a Directory.properties file that I have
been unable to find in any of the CVS files I have gotten.

I am going to spend this evening in debug mode looking at what is actually
happening on my box.  Let me know if you have any clues for me.

Keith

P.S.  Here's my logged output:
C:\eclipse\workspace\jsword\target\ant\deploy\jsword>java -jar jsword.jar

Failed to find resource name='/toolbarButtonGraphics/general/Close24.gif'
Failed to find resource name='/toolbarButtonGraphics/general/Close16.gif'
Failed to find resource name='/toolbarButtonGraphics/general/CloseAll24.gif'
Failed to find resource name='/toolbarButtonGraphics/general/CloseAll16.gif'
Failed to find resource name='/toolbarButtonGraphics/general/Exit24.gif'
Failed to find resource name='/toolbarButtonGraphics/general/Exit16.gif'
getClassRoot()=file:jsword.jar
looking for Bibles local classpath entry file:jsword.jar: [Not Found]
looking for Bibles within jsword.jar: [Not Found]
Trying Directory.properties in classpath: [Skipping]
Trying C:\Documents and Settings\kralston\.jsword/Directory.properties:
[Skippin
g]

-----Original Message-----
From: owner-jsword-devel@crosswire.org
[mailto:owner-jsword-devel@crosswire.org]On Behalf Of Joe Walker
Sent: Monday, July 29, 2002 11:47 AM
To: jsword-devel@bibletechnologieswg.org
Subject: RE: [jsword-devel] Updates


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.