compiling cvs build

joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Wed, 2003-05-28 23:33

hi, I've just downloaded the latest gallery_remote straight out of CVS, when attempting to compile using 'ant jar'(or run, compile, etc) I get the following error while compiling:

Quote:
[javac] C:\gallery\gallery_remote\com\gallery\GalleryRemote\MainFrame.java:51: package JSX does not exist
[javac] import JSX.ObjOut;

I'm not sure whats wrong, the right commands seem to be in the build.xml file, and the JSX1.0.7.4.jar file is in the lib folder.

do you get this error, or am I doing something wrong?

thanks,
joel

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2003-06-01 07:13

What's the size of the 'JSX1.0.7.4.jar' file? I've seen it corrupted by CVS before, and it may still be the case.

 
joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Sun, 2003-06-01 08:04

896bytes, which I now realize, is rather small. So I downloaded the file straight out of the online cvs version, rather than using wincvs, and got the real 199KB file, and now everthing compiles fine.
odd that all 4-5 times, at least, that I've tried checking out the whole module, that the file gets corrupted.

thanks for the help, sorry for the bother, and I look forward to playing with the new features included,

joel

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2003-06-01 08:08

Not at all, it's really important for me to know that the file is corrupted in CVS (or that clients download it wrong, since ViewCVS seems to have an OK version).

Can you tell me which client CVS you were using?

 
joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Sun, 2003-06-01 18:31

WinCvs 1.2

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2003-06-01 18:36

OK. I'm using the latest 1.3 beta, but that shouldn't matter. Or in any case, it should work with your version.

I'll test it out on another machine.

 
joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Mon, 2003-06-02 06:53

hmmm, just downloaded the lastest WinCvs beta, still getting the small file though. running xp home, 1.6ghz, 512mb ram.
oh well, at least I now know whats causing the problems and can watch out for it now.

thanks