problem with ZipOutputStream and windows-1252 Encoding

2006-05-30 Thread Dima Rogozin
Hi, Hi, We have recently switched to use ANT Zip classes (ANT 1.6.5) instead of Sun classes. This worked quite successful till I have found one problem with interoperability between Ant Zip package and WinZip utility. I hope somebody can help me explain what is going on. It looks like windows-12

Re: Problems Compiling Using Ant

2006-05-30 Thread Travis West
The Bibliography class is just a normal bean inside of the Classes package, which is where I put all of my beans for this project. I can compile it just fine using javac at the command line, but the ant build, which should just be using javac, fails. I've tried just commenting out the ${classpath

Re: Problems Compiling Using Ant

2006-05-30 Thread Scot P. Floess
Travis: The only potential oddity I see is your compile.classpath has a ${classpath} pathelement that isn't defined in your build.xml. Which may be nothing...and not important. What about this Bibliography class...does this exist in your src dir or is it in a jar? If its in a jar...you cou

Re: Problems Compiling Using Ant

2006-05-30 Thread Travis West
I thought it might be something like a jar is unavailble, and there were two that were not. However, even when I added those jars, the same error still resulted. The bibliography class is just a simple java bean that does not import any classes outside of log4j. I'm copying over my build.xml just

Re: Beep sound as a ant task

2006-05-30 Thread Scot P. Floess
I tried a few things...like echo'ing \0007 but it didn't work... Looks like there a java call out there: java.awt.Toolkit.beep () Maybe you could do an ant your own task that calls that? Sorry I can't be more help Konstantinos Karadamoglou wrote: ok sorry about my misunderstanding... I j

Re: Beep sound as a ant task

2006-05-30 Thread Konstantinos Karadamoglou
ok sorry about my misunderstanding... I just don't want to use the task a simple beep is enough. If I can play a beep sound then I am fine. On 30/05/06, Scot P. Floess <[EMAIL PROTECTED]> wrote: What do you mean by "add a library?" is in the optional tasks that I got when downloaded ant...th

Re: Beep sound as a ant task

2006-05-30 Thread Scot P. Floess
What do you mean by "add a library?" is in the optional tasks that I got when downloaded ant...there wasn't anything adding I had to do... Konstantinos Karadamoglou wrote: Hi, can I do that from echo target? I used "^G" but it does not work. (I guess I have to use an Alt combination). I do

Re: Beep sound as a ant task

2006-05-30 Thread Konstantinos Karadamoglou
Hi, can I do that from echo target? I used "^G" but it does not work. (I guess I have to use an Alt combination). I don't want to use the sound target because I don't want to add a library. Thank you in advance, kostas On 30/05/06, Ron Ohmer <[EMAIL PROTECTED]> wrote: print control-g or ^G t

Re: Problems Compiling Using Ant

2006-05-30 Thread Scot P. Floess
Something else to check...make sure your src and/or classpath are not hard coded in such a away that on your new computer your source and/or classes are in a different directory - so that your build now fails. For instance, look in your build.xml and see if you hard coded those locations but a

Re: Problems Compiling Using Ant

2006-05-30 Thread Scot P. Floess
Is it possible some of your compilation errors are due to a jar or something no longer available in your classpath? For instance your Bibliography compile error...is that class found on your new computer? If so, is the location the same as on your old computer? Travis West wrote: When I run

Re: Problems Compiling Using Ant

2006-05-30 Thread Travis West
When I run ant project, this is the result. Although there are errors compiling, this project previously compiled on my old computer. There have been no changes in the source, so the problem is probably not there. Buildfile: build.xml clean: [delete] Deleting directory /usr/local/tomcat/webapp

Re: Beep sound as a ant task

2006-05-30 Thread Emmanouil Batsis
Geia sou wre Kosta, Konstantinos Karadamoglou wrote: Do you know any task that can play the beep sound from the system's speaker? You might also want to check "Fun with Ant: Sound task". See http://mail-archives.apache.org/mod_mbox/ant-user/200512.mbox/[EMAIL PROTECTED] Manos --

Re: Beep sound as a ant task

2006-05-30 Thread Petar Tahchiev
On 30/05/06, Konstantinos Karadamoglou <[EMAIL PROTECTED]> wrote: Hello all, Do you know any task that can play the beep sound from the system's speaker? Thank you in advance, Kostas Have a look at the sound task http://ant.apache.org/manual/OptionalTasks/sound.html -- Regards, Petar! Karl

RE: Beep sound as a ant task

2006-05-30 Thread Ron Ohmer
print control-g or ^G to stdout From: Konstantinos Karadamoglou [mailto:[EMAIL PROTECTED] Sent: Tue 5/30/2006 9:49 AM To: user@ant.apache.org Subject: Beep sound as a ant task Hello all, Do you know any task that can play the beep sound from the system's speak

Beep sound as a ant task

2006-05-30 Thread Konstantinos Karadamoglou
Hello all, Do you know any task that can play the beep sound from the system's speaker? Thank you in advance, Kostas

Re: subant and memory problems

2006-05-30 Thread Dominique Devienne
It's quite possible Ant or SubAnt itself hold on to too many references. There have been fixes in Ant's ComponentHelper in the past. But maybe Tom's compiler could be at fault as well, no? This would need to be investigated using a JProbe-like tool. --DD On 5/29/06, Antoine Reilles <[EMAIL PROTE

Re: Insert a file into another at given point (not necessary at the end)

2006-05-30 Thread Dominique Devienne
See recent thread titled "F1- file content copy using ant", for a very clever technique to solve a similar request. The "insertion" point with a regex might need a special FilterReader though. --DD On 5/29/06, David <[EMAIL PROTECTED]> wrote: Dear members, I know there is a task concat for ins

RE: rmic problem when using ant

2006-05-30 Thread Barak Yaish
Exactly. When running ant twice with the same build.xml, first run fails with the error I mentioned below, running it again, and... no failures... Can you direct me what I'm doing wrong? Why the second run doesn't fail? Thanks, Barak. -Original Message- From: Scot P. Floess [mailto:[EM

Re: rmic problem when using ant

2006-05-30 Thread Scot P. Floess
Barak: Sounds like a CLASSPATH problem... Or sourcepath? So, if you run your build twice it works? Barak Yaish wrote: Hi all, I'm facing strange problem when I'm using the RMIC task. First, let me describe the relevant classes: Class A extends UnicastRemoteObject implements AInterface In