[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvswrappers and import command line conflict???
From: |
Timothy Stone |
Subject: |
cvswrappers and import command line conflict??? |
Date: |
Tue, 02 Mar 2004 09:23:43 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 |
List,
Not necessarily a newcomer to cvs, but I'm experiencing some odd
behavior that is unexpected, at least from within the context of my
experience.
I did a search in the archive, found something close, but not exactly,
in particular how CVS processes wrapper instructions (wrappers, home,
ENV, command line).
Attached is a log of what I'm doing. Everything is going well, until I
attempt to compile my project.
First, some system information:
cvs version: 1.11.12
Windows XP SP1
Cygwin (may not be relevant...but it's there)
Refer to my pseudo log attached for details.
I have updated my cvswrappers for the repository via the standard means:
$ cvs -d $REP co CVSROOT
.. edit CVSROOT/cvswrappers ...
$ cvs -d $REP commit -m "added some java binary filters"
... neat cvs messages about success ...
My import:
$ cvs -d $REP import -ko -I! -m "some meaningful message" blojsom
BLOJSOM REL_2_11
Basically, the "-ko" switch seems to be hosing the JAR files in the
project. Everything gets a Sticky Option of -ko. This kills JARs.
I have tried also
$ cvs -d $REP import -ko -I! -W "*.jar -k 'b'" -m "some meaningful
message" blojsom BLOJSOM REL_2_11
to no better result.
And yes,
*.jar -k 'b'
is in my cvswrappers.
Any tips or gotchas I need to know about here?
Thanks,
Tim
address@hidden /cygdrive/c/usr/local/blojsom_2_11
$ cvs -d /usr/local/cvsroot import -ko -I! -m "loading blojsom 2.11" blojsom BL
OJSOM REL_2_11
N blojsom/build.xml
N blojsom/forrest-targets.ent
N blojsom/forrest.properties
N blojsom/LICENSE
N blojsom/README
...
No conflicts created by this import
address@hidden /cygdrive/c/usr/local/blojsom_2_11
$ cd ~/jwerk/
address@hidden ~/jwerk
$ cvs -d /usr/local/cvsroot co blojsom
U blojsom/LICENSE
U blojsom/README
U blojsom/build.xml
U blojsom/forrest-targets.ent
U blojsom/forrest.properties
...
address@hidden ~/jwerk
$ cd blojsom/
address@hidden ~/jwerk/blojsom
$ cvs -d /usr/local/cvsroot status lib/servlet-2.3.jar
===================================================================
File: servlet-2.3.jar Status: Up-to-date
Working revision: 1.1.1.1 Tue Mar 2 13:26:49 2004
Repository revision: 1.1.1.1 /usr/local/cvsroot/blojsom/lib/servlet-2.3.jar,v
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: -ko
$
address@hidden ~/jwerk/blojsom
$ cp lib/servlet-2.3.jar /tmp
address@hidden ~/jwerk/blojsom
$ cd /tmp
address@hidden /tmp
$ jar xvf servlet-2.3.jar
java.io.EOFException
at java.util.zip.ZipInputStream.readFully(ZipInputStream.java:385)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:236)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
at sun.tools.jar.Main.extract(Main.java:676)
at sun.tools.jar.Main.run(Main.java:190)
at sun.tools.jar.Main.main(Main.java:904)
address@hidden /tmp
$