From: Richard G. <ric...@ya...> - 2005-11-14 09:05:48
|
Hi, I've tried to make a few changes to some of the tm4j (0.9.7) source files to get to the bottom of a problem I'm having, but when I try to run the tm4j-build ant script I get the following error. richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build Buildfile: build.xml init: tm4j-net-build: tm4j-prepare: tm4j-build: [javac] Compiling 2 source files to /home/richard/jars/tm4j-0.9.7/build/classes [javac] error: error reading /home/richard/CatalogManager.properties; java.util.zip.ZipException: error in opening zip file [javac] 1 error BUILD FAILED /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see the compiler error output for details. Total time: 3 seconds If anyone has any idea what the problem might be I be grateful. Richard. ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com |
From: Kal A. <ka...@te...> - 2005-11-14 09:12:00
|
Hi Richard, Looks like it might be a corrupt JAR file - maybe the resolver.jar in the lib directory if the error occurred when trying to read catalog properties. My local copy shows up as 60047 bytes in length. Cheers, Kal > -----Original Message----- > From: tm4...@li... [mailto:tm4j-users- > ad...@li...] On Behalf Of Richard Gregory > Sent: 14 November 2005 09:05 > To: tm4j > Subject: [TM4J-users] ant target tm4j-build failing > > Hi, > > I've tried to make a few changes to some of the tm4j (0.9.7) source files > to get to the bottom of > a problem I'm having, but when I try to run the tm4j-build ant script I > get the following error. > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > Buildfile: build.xml > > init: > > tm4j-net-build: > > tm4j-prepare: > > tm4j-build: > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > 0.9.7/build/classes > [javac] error: error reading /home/richard/CatalogManager.properties; > java.util.zip.ZipException: error in opening zip file > [javac] 1 error > > BUILD FAILED > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see the > compiler error output for > details. > > Total time: 3 seconds > > If anyone has any idea what the problem might be I be grateful. > > Richard. > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new > Yahoo! Security Centre. http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > |
From: Richard G. <ric...@ya...> - 2005-11-14 09:39:43
|
Hi Kal, Thanks for the prompt reply. My resolver.jar is also 60047 bytes. I downloaded tm4j-0.9.7 again, and replaced all the jars in the lib directory, but I still get the error. Cheers, Richard. --- Kal Ahmed <ka...@te...> wrote: > Hi Richard, > > Looks like it might be a corrupt JAR file - maybe the resolver.jar in the > lib directory if the error occurred when trying to read catalog properties. > My local copy shows up as 60047 bytes in length. > > Cheers, > > Kal > > > -----Original Message----- > > From: tm4...@li... [mailto:tm4j-users- > > ad...@li...] On Behalf Of Richard Gregory > > Sent: 14 November 2005 09:05 > > To: tm4j > > Subject: [TM4J-users] ant target tm4j-build failing > > > > Hi, > > > > I've tried to make a few changes to some of the tm4j (0.9.7) source files > > to get to the bottom of > > a problem I'm having, but when I try to run the tm4j-build ant script I > > get the following error. > > > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > > Buildfile: build.xml > > > > init: > > > > tm4j-net-build: > > > > tm4j-prepare: > > > > tm4j-build: > > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > > 0.9.7/build/classes > > [javac] error: error reading /home/richard/CatalogManager.properties; > > java.util.zip.ZipException: error in opening zip file > > [javac] 1 error > > > > BUILD FAILED > > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see the > > compiler error output for > > details. > > > > Total time: 3 seconds > > > > If anyone has any idea what the problem might be I be grateful. > > > > Richard. > > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've developed the all new > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com |
From: Kal A. <ka...@te...> - 2005-11-14 10:02:12
|
Hi Richard, That's strange - I wonder if there is something in your CatalogManager.props file that is causing the code to try and load a JAR or deflate a zip file for some reason. Can you post the contents please? Also I'm trying to work out why javac is even looking at your catalog manager props file...which JDK are you building with? Cheers, Kal > -----Original Message----- > From: Richard Gregory [mailto:ric...@ya...] > Sent: 14 November 2005 09:40 > To: ka...@te...; 'tm4j' > Subject: RE: [TM4J-users] ant target tm4j-build failing > > Hi Kal, > > Thanks for the prompt reply. My resolver.jar is also 60047 bytes. I > downloaded tm4j-0.9.7 again, > and replaced all the jars in the lib directory, but I still get the error. > > Cheers, > > Richard. > > --- Kal Ahmed <ka...@te...> wrote: > > > Hi Richard, > > > > Looks like it might be a corrupt JAR file - maybe the resolver.jar in > the > > lib directory if the error occurred when trying to read catalog > properties. > > My local copy shows up as 60047 bytes in length. > > > > Cheers, > > > > Kal > > > > > -----Original Message----- > > > From: tm4...@li... [mailto:tm4j-users- > > > ad...@li...] On Behalf Of Richard Gregory > > > Sent: 14 November 2005 09:05 > > > To: tm4j > > > Subject: [TM4J-users] ant target tm4j-build failing > > > > > > Hi, > > > > > > I've tried to make a few changes to some of the tm4j (0.9.7) source > files > > > to get to the bottom of > > > a problem I'm having, but when I try to run the tm4j-build ant script > I > > > get the following error. > > > > > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > > > Buildfile: build.xml > > > > > > init: > > > > > > tm4j-net-build: > > > > > > tm4j-prepare: > > > > > > tm4j-build: > > > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > > > 0.9.7/build/classes > > > [javac] error: error reading > /home/richard/CatalogManager.properties; > > > java.util.zip.ZipException: error in opening zip file > > > [javac] 1 error > > > > > > BUILD FAILED > > > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see the > > > compiler error output for > > > details. > > > > > > Total time: 3 seconds > > > > > > If anyone has any idea what the problem might be I be grateful. > > > > > > Richard. > > > > > > > > > > > > ___________________________________________________________ > > > To help you stay safe and secure online, we've developed the all new > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > > Download > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Tm4j-users mailing list > > > Tm4...@li... > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > ___________________________________________________________ > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > |
From: Richard G. <ric...@ya...> - 2005-11-14 10:12:30
|
Hi Kal, My CatalogManager.properties is just an empty text file. When I first started using tm4j I was getting errors as i didn't have this file, and i was advised to just create a text file with this name and put it on my classpath. TM4J has never written anything to it, or read from it, as far as I can tell. I'm using JDK 1.5.0_02. Thanks, Richard. --- Kal Ahmed <ka...@te...> wrote: > Hi Richard, > > That's strange - I wonder if there is something in your CatalogManager.props > file that is causing the code to try and load a JAR or deflate a zip file > for some reason. Can you post the contents please? Also I'm trying to work > out why javac is even looking at your catalog manager props file...which JDK > are you building with? > > Cheers, > > Kal > > > -----Original Message----- > > From: Richard Gregory [mailto:ric...@ya...] > > Sent: 14 November 2005 09:40 > > To: ka...@te...; 'tm4j' > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > Hi Kal, > > > > Thanks for the prompt reply. My resolver.jar is also 60047 bytes. I > > downloaded tm4j-0.9.7 again, > > and replaced all the jars in the lib directory, but I still get the error. > > > > Cheers, > > > > Richard. > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > Hi Richard, > > > > > > Looks like it might be a corrupt JAR file - maybe the resolver.jar in > > the > > > lib directory if the error occurred when trying to read catalog > > properties. > > > My local copy shows up as 60047 bytes in length. > > > > > > Cheers, > > > > > > Kal > > > > > > > -----Original Message----- > > > > From: tm4...@li... [mailto:tm4j-users- > > > > ad...@li...] On Behalf Of Richard Gregory > > > > Sent: 14 November 2005 09:05 > > > > To: tm4j > > > > Subject: [TM4J-users] ant target tm4j-build failing > > > > > > > > Hi, > > > > > > > > I've tried to make a few changes to some of the tm4j (0.9.7) source > > files > > > > to get to the bottom of > > > > a problem I'm having, but when I try to run the tm4j-build ant script > > I > > > > get the following error. > > > > > > > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > > > > Buildfile: build.xml > > > > > > > > init: > > > > > > > > tm4j-net-build: > > > > > > > > tm4j-prepare: > > > > > > > > tm4j-build: > > > > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > > > > 0.9.7/build/classes > > > > [javac] error: error reading > > /home/richard/CatalogManager.properties; > > > > java.util.zip.ZipException: error in opening zip file > > > > [javac] 1 error > > > > > > > > BUILD FAILED > > > > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see the > > > > compiler error output for > > > > details. > > > > > > > > Total time: 3 seconds > > > > > > > > If anyone has any idea what the problem might be I be grateful. > > > > > > > > Richard. > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > To help you stay safe and secure online, we've developed the all new > > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: > > > > Tame your development challenges with Apache's Geronimo App Server. > > > > Download > > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > > _______________________________________________ > > > > Tm4j-users mailing list > > > > Tm4...@li... > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > > voicemail http://uk.messenger.yahoo.com > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com |
From: Kal A. <ka...@te...> - 2005-11-14 10:52:15
|
Hi Richard, Is it possible that this is a JDK 1.5 issue? I can build here on JDK 1.4.2 without any problems. Did you build successfully using JDK 1.5 before? I don't suppose you have a 1.4 JDK you can try building against? Cheers, Kal > -----Original Message----- > From: Richard Gregory [mailto:ric...@ya...] > Sent: 14 November 2005 10:12 > To: ka...@te...; 'tm4j' > Subject: RE: [TM4J-users] ant target tm4j-build failing > > Hi Kal, > > My CatalogManager.properties is just an empty text file. When I first > started using tm4j I was > getting errors as i didn't have this file, and i was advised to just > create a text file with this > name and put it on my classpath. TM4J has never written anything to it, or > read from it, as far as > I can tell. > > I'm using JDK 1.5.0_02. > > Thanks, > > Richard. > > > --- Kal Ahmed <ka...@te...> wrote: > > > Hi Richard, > > > > That's strange - I wonder if there is something in your > CatalogManager.props > > file that is causing the code to try and load a JAR or deflate a zip > file > > for some reason. Can you post the contents please? Also I'm trying to > work > > out why javac is even looking at your catalog manager props file...which > JDK > > are you building with? > > > > Cheers, > > > > Kal > > > > > -----Original Message----- > > > From: Richard Gregory [mailto:ric...@ya...] > > > Sent: 14 November 2005 09:40 > > > To: ka...@te...; 'tm4j' > > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > > > Hi Kal, > > > > > > Thanks for the prompt reply. My resolver.jar is also 60047 bytes. I > > > downloaded tm4j-0.9.7 again, > > > and replaced all the jars in the lib directory, but I still get the > error. > > > > > > Cheers, > > > > > > Richard. > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > > > Hi Richard, > > > > > > > > Looks like it might be a corrupt JAR file - maybe the resolver.jar > in > > > the > > > > lib directory if the error occurred when trying to read catalog > > > properties. > > > > My local copy shows up as 60047 bytes in length. > > > > > > > > Cheers, > > > > > > > > Kal > > > > > > > > > -----Original Message----- > > > > > From: tm4...@li... [mailto:tm4j-users- > > > > > ad...@li...] On Behalf Of Richard Gregory > > > > > Sent: 14 November 2005 09:05 > > > > > To: tm4j > > > > > Subject: [TM4J-users] ant target tm4j-build failing > > > > > > > > > > Hi, > > > > > > > > > > I've tried to make a few changes to some of the tm4j (0.9.7) > source > > > files > > > > > to get to the bottom of > > > > > a problem I'm having, but when I try to run the tm4j-build ant > script > > > I > > > > > get the following error. > > > > > > > > > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > > > > > Buildfile: build.xml > > > > > > > > > > init: > > > > > > > > > > tm4j-net-build: > > > > > > > > > > tm4j-prepare: > > > > > > > > > > tm4j-build: > > > > > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > > > > > 0.9.7/build/classes > > > > > [javac] error: error reading > > > /home/richard/CatalogManager.properties; > > > > > java.util.zip.ZipException: error in opening zip file > > > > > [javac] 1 error > > > > > > > > > > BUILD FAILED > > > > > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see > the > > > > > compiler error output for > > > > > details. > > > > > > > > > > Total time: 3 seconds > > > > > > > > > > If anyone has any idea what the problem might be I be grateful. > > > > > > > > > > Richard. > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > To help you stay safe and secure online, we've developed the all > new > > > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is sponsored by: > > > > > Tame your development challenges with Apache's Geronimo App > Server. > > > > > Download > > > > > it for free - -and be entered to win a 42" plasma tv or your very > own > > > > > Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > > > > > _______________________________________________ > > > > > Tm4j-users mailing list > > > > > Tm4...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > > > voicemail http://uk.messenger.yahoo.com > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new > Yahoo! Security Centre. http://uk.security.yahoo.com > |
From: Richard G. <ric...@ya...> - 2005-11-14 11:01:13
|
Hi Kal, It could be. I have a built tm4j before, and this was quite a while ago, so it probably was with 1.4. I reinstalled my hibernate backend last week, so I had to run the hibernate ant targets, and they all seemed to worked fine with 1.5, although when I tried to store a topic map in it I had problems (http://sourceforge.net/mailarchive/message.php?msg_id=13815413). I'll try and build on 1.4 and let you know how it goes. Cheers, Richard. --- Kal Ahmed <ka...@te...> wrote: > Hi Richard, > > Is it possible that this is a JDK 1.5 issue? I can build here on JDK 1.4.2 > without any problems. Did you build successfully using JDK 1.5 before? I > don't suppose you have a 1.4 JDK you can try building against? > > Cheers, > > Kal > > > -----Original Message----- > > From: Richard Gregory [mailto:ric...@ya...] > > Sent: 14 November 2005 10:12 > > To: ka...@te...; 'tm4j' > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > Hi Kal, > > > > My CatalogManager.properties is just an empty text file. When I first > > started using tm4j I was > > getting errors as i didn't have this file, and i was advised to just > > create a text file with this > > name and put it on my classpath. TM4J has never written anything to it, or > > read from it, as far as > > I can tell. > > > > I'm using JDK 1.5.0_02. > > > > Thanks, > > > > Richard. > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > Hi Richard, > > > > > > That's strange - I wonder if there is something in your > > CatalogManager.props > > > file that is causing the code to try and load a JAR or deflate a zip > > file > > > for some reason. Can you post the contents please? Also I'm trying to > > work > > > out why javac is even looking at your catalog manager props file...which > > JDK > > > are you building with? > > > > > > Cheers, > > > > > > Kal > > > > > > > -----Original Message----- > > > > From: Richard Gregory [mailto:ric...@ya...] > > > > Sent: 14 November 2005 09:40 > > > > To: ka...@te...; 'tm4j' > > > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > > > > > Hi Kal, > > > > > > > > Thanks for the prompt reply. My resolver.jar is also 60047 bytes. I > > > > downloaded tm4j-0.9.7 again, > > > > and replaced all the jars in the lib directory, but I still get the > > error. > > > > > > > > Cheers, > > > > > > > > Richard. > > > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > > > > > Hi Richard, > > > > > > > > > > Looks like it might be a corrupt JAR file - maybe the resolver.jar > > in > > > > the > > > > > lib directory if the error occurred when trying to read catalog > > > > properties. > > > > > My local copy shows up as 60047 bytes in length. > > > > > > > > > > Cheers, > > > > > > > > > > Kal > > > > > > > > > > > -----Original Message----- > > > > > > From: tm4...@li... [mailto:tm4j-users- > > > > > > ad...@li...] On Behalf Of Richard Gregory > > > > > > Sent: 14 November 2005 09:05 > > > > > > To: tm4j > > > > > > Subject: [TM4J-users] ant target tm4j-build failing > > > > > > > > > > > > Hi, > > > > > > > > > > > > I've tried to make a few changes to some of the tm4j (0.9.7) > > source > > > > files > > > > > > to get to the bottom of > > > > > > a problem I'm having, but when I try to run the tm4j-build ant > > script > > > > I > > > > > > get the following error. > > > > > > > > > > > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > > > > > > Buildfile: build.xml > > > > > > > > > > > > init: > > > > > > > > > > > > tm4j-net-build: > > > > > > > > > > > > tm4j-prepare: > > > > > > > > > > > > tm4j-build: > > > > > > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > > > > > > 0.9.7/build/classes > > > > > > [javac] error: error reading > > > > /home/richard/CatalogManager.properties; > > > > > > java.util.zip.ZipException: error in opening zip file > > > > > > [javac] 1 error > > > > > > > > > > > > BUILD FAILED > > > > > > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see > > the > > > > > > compiler error output for > > > > > > details. > > > > > > > > > > > > Total time: 3 seconds > > > > > > > > > > > > If anyone has any idea what the problem might be I be grateful. > > > > > > > > > > > > Richard. > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > > To help you stay safe and secure online, we've developed the all > > new > > > > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > SF.Net email is sponsored by: > > > > > > Tame your development challenges with Apache's Geronimo App > > Server. > > > > > > Download > > > > > > it for free - -and be entered to win a 42" plasma tv or your very > > own > > > > > > Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > > > > > _______________________________________________ > > > > > > Tm4j-users mailing list > > > > > > Tm4...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > > > > voicemail http://uk.messenger.yahoo.com > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Tm4j-users mailing list > > > Tm4...@li... > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've developed the all new > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com |
From: Richard G. <ric...@ya...> - 2005-11-14 13:05:47
|
Hi Kal, You were right, it was a jdk 1.5 issue. The tm4j-build target works fine now I've switched back to 1.4.2. I'll have to reinstall my hibernate backend as well and see if this has cured the problems I had there. Thanks for the help. Richard. --- Richard Gregory <ric...@ya...> wrote: > Hi Kal, > > It could be. I have a built tm4j before, and this was quite a while ago, so it probably was with > 1.4. I reinstalled my hibernate backend last week, so I had to run the hibernate ant targets, > and > they all seemed to worked fine with 1.5, although when I tried to store a topic map in it I had > problems (http://sourceforge.net/mailarchive/message.php?msg_id=13815413). > > I'll try and build on 1.4 and let you know how it goes. > > Cheers, > > Richard. > > > --- Kal Ahmed <ka...@te...> wrote: > > > Hi Richard, > > > > Is it possible that this is a JDK 1.5 issue? I can build here on JDK 1.4.2 > > without any problems. Did you build successfully using JDK 1.5 before? I > > don't suppose you have a 1.4 JDK you can try building against? > > > > Cheers, > > > > Kal > > > > > -----Original Message----- > > > From: Richard Gregory [mailto:ric...@ya...] > > > Sent: 14 November 2005 10:12 > > > To: ka...@te...; 'tm4j' > > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > > > Hi Kal, > > > > > > My CatalogManager.properties is just an empty text file. When I first > > > started using tm4j I was > > > getting errors as i didn't have this file, and i was advised to just > > > create a text file with this > > > name and put it on my classpath. TM4J has never written anything to it, or > > > read from it, as far as > > > I can tell. > > > > > > I'm using JDK 1.5.0_02. > > > > > > Thanks, > > > > > > Richard. > > > > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > > > Hi Richard, > > > > > > > > That's strange - I wonder if there is something in your > > > CatalogManager.props > > > > file that is causing the code to try and load a JAR or deflate a zip > > > file > > > > for some reason. Can you post the contents please? Also I'm trying to > > > work > > > > out why javac is even looking at your catalog manager props file...which > > > JDK > > > > are you building with? > > > > > > > > Cheers, > > > > > > > > Kal > > > > > > > > > -----Original Message----- > > > > > From: Richard Gregory [mailto:ric...@ya...] > > > > > Sent: 14 November 2005 09:40 > > > > > To: ka...@te...; 'tm4j' > > > > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > > > > > > > Hi Kal, > > > > > > > > > > Thanks for the prompt reply. My resolver.jar is also 60047 bytes. I > > > > > downloaded tm4j-0.9.7 again, > > > > > and replaced all the jars in the lib directory, but I still get the > > > error. > > > > > > > > > > Cheers, > > > > > > > > > > Richard. > > > > > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > > > > > > > Hi Richard, > > > > > > > > > > > > Looks like it might be a corrupt JAR file - maybe the resolver.jar > > > in > > > > > the > > > > > > lib directory if the error occurred when trying to read catalog > > > > > properties. > > > > > > My local copy shows up as 60047 bytes in length. > > > > > > > > > > > > Cheers, > > > > > > > > > > > > Kal > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: tm4...@li... [mailto:tm4j-users- > > > > > > > ad...@li...] On Behalf Of Richard Gregory > > > > > > > Sent: 14 November 2005 09:05 > > > > > > > To: tm4j > > > > > > > Subject: [TM4J-users] ant target tm4j-build failing > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > I've tried to make a few changes to some of the tm4j (0.9.7) > > > source > > > > > files > > > > > > > to get to the bottom of > > > > > > > a problem I'm having, but when I try to run the tm4j-build ant > > > script > > > > > I > > > > > > > get the following error. > > > > > > > > > > > > > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > > > > > > > Buildfile: build.xml > > > > > > > > > > > > > > init: > > > > > > > > > > > > > > tm4j-net-build: > > > > > > > > > > > > > > tm4j-prepare: > > > > > > > > > > > > > > tm4j-build: > > > > > > > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > > > > > > > 0.9.7/build/classes > > > > > > > [javac] error: error reading > > > > > /home/richard/CatalogManager.properties; > > > > > > > java.util.zip.ZipException: error in opening zip file > > > > > > > [javac] 1 error > > > > > > > > > > > > > > BUILD FAILED > > > > > > > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see > > > the > > > > > > > compiler error output for > > > > > > > details. > > > > > > > > > > > > > > Total time: 3 seconds > > > > > > > > > > > > > > If anyone has any idea what the problem might be I be grateful. > > > > > > > > > > > > > > Richard. > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > > > To help you stay safe and secure online, we've developed the all > > > new > > > > > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > SF.Net email is sponsored by: > > > > > > > Tame your development challenges with Apache's Geronimo App > > > Server. > > > > > > > Download > > > > > > > it for free - -and be entered to win a 42" plasma tv or your very > > > own > > > > > > > Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > > > > > _______________________________________________ > > > > > > > Tm4j-users mailing list > > > > > > > Tm4...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > > > > > voicemail http://uk.messenger.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: > > > > Tame your development challenges with Apache's Geronimo App Server. > > > Download > > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > > _______________________________________________ > > > > Tm4j-users mailing list > > > > Tm4...@li... > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > To help you stay safe and secure online, we've developed the all new > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > > > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. > http://uk.security.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > ___________________________________________________________ Yahoo! Model Search 2005 - Find the next catwalk superstars - http://uk.news.yahoo.com/hot/model-search/ |
From: Richard G. <ric...@ya...> - 2005-11-14 14:07:06
|
Hi Kal, Well switching back to jdk 1.4 didn't solve the hibernate problem I had, so if you have any thoughts on what might be going wrong there I'd be very grateful. Thanks, Richard. --- Richard Gregory <ric...@ya...> wrote: > Hi Kal, > > You were right, it was a jdk 1.5 issue. The tm4j-build target works fine now I've switched back > to > 1.4.2. I'll have to reinstall my hibernate backend as well and see if this has cured the > problems > I had there. > > Thanks for the help. > > Richard. > > > --- Richard Gregory <ric...@ya...> wrote: > > > Hi Kal, > > > > It could be. I have a built tm4j before, and this was quite a while ago, so it probably was > with > > 1.4. I reinstalled my hibernate backend last week, so I had to run the hibernate ant targets, > > and > > they all seemed to worked fine with 1.5, although when I tried to store a topic map in it I > had > > problems (http://sourceforge.net/mailarchive/message.php?msg_id=13815413). > > > > I'll try and build on 1.4 and let you know how it goes. > > > > Cheers, > > > > Richard. > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > Hi Richard, > > > > > > Is it possible that this is a JDK 1.5 issue? I can build here on JDK 1.4.2 > > > without any problems. Did you build successfully using JDK 1.5 before? I > > > don't suppose you have a 1.4 JDK you can try building against? > > > > > > Cheers, > > > > > > Kal > > > > > > > -----Original Message----- > > > > From: Richard Gregory [mailto:ric...@ya...] > > > > Sent: 14 November 2005 10:12 > > > > To: ka...@te...; 'tm4j' > > > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > > > > > Hi Kal, > > > > > > > > My CatalogManager.properties is just an empty text file. When I first > > > > started using tm4j I was > > > > getting errors as i didn't have this file, and i was advised to just > > > > create a text file with this > > > > name and put it on my classpath. TM4J has never written anything to it, or > > > > read from it, as far as > > > > I can tell. > > > > > > > > I'm using JDK 1.5.0_02. > > > > > > > > Thanks, > > > > > > > > Richard. > > > > > > > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > > > > > Hi Richard, > > > > > > > > > > That's strange - I wonder if there is something in your > > > > CatalogManager.props > > > > > file that is causing the code to try and load a JAR or deflate a zip > > > > file > > > > > for some reason. Can you post the contents please? Also I'm trying to > > > > work > > > > > out why javac is even looking at your catalog manager props file...which > > > > JDK > > > > > are you building with? > > > > > > > > > > Cheers, > > > > > > > > > > Kal > > > > > > > > > > > -----Original Message----- > > > > > > From: Richard Gregory [mailto:ric...@ya...] > > > > > > Sent: 14 November 2005 09:40 > > > > > > To: ka...@te...; 'tm4j' > > > > > > Subject: RE: [TM4J-users] ant target tm4j-build failing > > > > > > > > > > > > Hi Kal, > > > > > > > > > > > > Thanks for the prompt reply. My resolver.jar is also 60047 bytes. I > > > > > > downloaded tm4j-0.9.7 again, > > > > > > and replaced all the jars in the lib directory, but I still get the > > > > error. > > > > > > > > > > > > Cheers, > > > > > > > > > > > > Richard. > > > > > > > > > > > > --- Kal Ahmed <ka...@te...> wrote: > > > > > > > > > > > > > Hi Richard, > > > > > > > > > > > > > > Looks like it might be a corrupt JAR file - maybe the resolver.jar > > > > in > > > > > > the > > > > > > > lib directory if the error occurred when trying to read catalog > > > > > > properties. > > > > > > > My local copy shows up as 60047 bytes in length. > > > > > > > > > > > > > > Cheers, > > > > > > > > > > > > > > Kal > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: tm4...@li... [mailto:tm4j-users- > > > > > > > > ad...@li...] On Behalf Of Richard Gregory > > > > > > > > Sent: 14 November 2005 09:05 > > > > > > > > To: tm4j > > > > > > > > Subject: [TM4J-users] ant target tm4j-build failing > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > I've tried to make a few changes to some of the tm4j (0.9.7) > > > > source > > > > > > files > > > > > > > > to get to the bottom of > > > > > > > > a problem I'm having, but when I try to run the tm4j-build ant > > > > script > > > > > > I > > > > > > > > get the following error. > > > > > > > > > > > > > > > > richard@mws13:~/jars/tm4j-0.9.7> ant tm4j-build > > > > > > > > Buildfile: build.xml > > > > > > > > > > > > > > > > init: > > > > > > > > > > > > > > > > tm4j-net-build: > > > > > > > > > > > > > > > > tm4j-prepare: > > > > > > > > > > > > > > > > tm4j-build: > > > > > > > > [javac] Compiling 2 source files to /home/richard/jars/tm4j- > > > > > > > > 0.9.7/build/classes > > > > > > > > [javac] error: error reading > > > > > > /home/richard/CatalogManager.properties; > > > > > > > > java.util.zip.ZipException: error in opening zip file > > > > > > > > [javac] 1 error > > > > > > > > > > > > > > > > BUILD FAILED > > > > > > > > /home/richard/jars/tm4j-0.9.7/build.xml:816: Compile failed; see > > > > the > > > > > > > > compiler error output for > > > > > > > > details. > > > > > > > > > > > > > > > > Total time: 3 seconds > > > > > > > > > > > > > > > > If anyone has any idea what the problem might be I be grateful. > > > > > > > > > > > > > > > > Richard. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > > > > To help you stay safe and secure online, we've developed the all > > > > new > > > > > > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > SF.Net email is sponsored by: > > > > > > > > Tame your development challenges with Apache's Geronimo App > > > > Server. > > > > > > > > Download > > > > > > > > it for free - -and be entered to win a 42" plasma tv or your very > > > > own > > > > > > > > Sony(tm)PSP. Click here to play: > > > > http://sourceforge.net/geronimo.php > > > > > > > > _______________________________________________ > > > > > > > > Tm4j-users mailing list > > > > > > > > Tm4...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > > > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > > > > > > voicemail http://uk.messenger.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is sponsored by: > > > > > Tame your development challenges with Apache's Geronimo App Server. > > > > Download > > > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > > > _______________________________________________ > > > > > Tm4j-users mailing list > > > > > Tm4...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > To help you stay safe and secure online, we've developed the all new > > > > Yahoo! Security Centre. http://uk.security.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. > > http://uk.security.yahoo.com > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > > ___________________________________________________________ > Yahoo! Model Search 2005 - Find the next catwalk superstars - > http://uk.news.yahoo.com/hot/model-search/ > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com |