Re: problem with sql task

2005-09-21 Thread Dave Brosius
probably driver -> oracle.jdbc.driver.OracleDriver url -> jdbc:oracle:thin:@myhost:1521:orcl - Original Message - From: "Harshal Chavda" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 21, 2005 10:43 PM Subject: problem with sql task Hello fellow users, I am having problems

problem with sql task

2005-09-21 Thread Harshal Chavda
Hello fellow users, > I am having problems with the sql task.I have Windows > XP and Oracle 9i.I want to connect to SQL database. > I dont know where to find the class name for the > "driver"attribute in sql task.I searched all class > files in the directory where i have installed the oracle and us

Re: ANT build script from NetBeans is failing

2005-09-21 Thread Daniel Blaukopf
You can run "ant -v", and around line 3 of the output will tell you what JDK you are running with. The output will also show if your compilation targets invoke a non-default compiler (unlikely, as you are using autogenerated ant scripts) Michael Stumpf wrote: > I'm not sure that this is the proble

Re: ANT build script from NetBeans is failing

2005-09-21 Thread Michael Stumpf
I'm not sure that this is the problem, though I have to admit it certainly looks like it (I am new to Java). One of the boxes in question had no version of Java at all save the one I installed (1.5.0_04), and when I run "ant --execdebug": exec "/opt/jdk1.5.0_04/bin/java" -classpath "/opt/apa

Re: ANT build script from NetBeans is failing

2005-09-21 Thread Daniel Blaukopf
You're using Java 5 APIs and language features, but on your Linux boxes you only have JDK 1.4 installed. You need to install JDK 1.5 on all machines you're building on. Daniel Michael Stumpf wrote: > I'm using NetBeans to manage a few Java projects. Recently I found a > need to build manually wi

RE: FW: problem with using fork in windows xp

2005-09-21 Thread Bill Rich
Gayan, you can redirect the console output to a file using something like this: ant ... -v >log.txt In the log.txt file will be the console output from running the command. Open it with a text editor and you will see the whole command as requested. HTH Bill -Original Message- From: Stev

Re: FW: problem with using fork in windows xp

2005-09-21 Thread Steve Loughran
Gayan Asanka wrote: Hi Steve, I can't observe all the output with this codes. Because it consumes hell a lot of classpaths. Only the final part I can read via my command prompt window. So I will try a small program that doesn't use any big jars, and simulate the error in small scale. Then I will

RE: FW: problem with using fork in windows xp

2005-09-21 Thread Gayan Asanka
Hi Steve, I can't observe all the output with this codes. Because it consumes hell a lot of classpaths. Only the final part I can read via my command prompt window. So I will try a small program that doesn't use any big jars, and simulate the error in small scale. Then I will be able to give you s

Re: FW: problem with using fork in windows xp

2005-09-21 Thread Steve Loughran
Gayan Asanka wrote: Hi Steve, I observed it with ant -v (after adding that path refid part), This is the final part of that output. After displaying lot of classpaths, it shows this:- [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner' [junit] 'test.WMRound3Compoun

RE: FW: problem with using fork in windows xp

2005-09-21 Thread Gayan Asanka
Hi Steve, I observed it with ant -v (after adding that path refid part), This is the final part of that output. After displaying lot of classpaths, it shows this:- [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner' [junit] 'test.WMRound3Compound1InteropTest' [jun

Re: FW: problem with using fork in windows xp

2005-09-21 Thread Steve Loughran
Gayan Asanka wrote: Hi Steve, I solved the problem. It was a classpath problem anyway. It seems that I can't use to define the calsspath inside junit if I use fork. That is why it shows me the help (I think). Basicaly I redefined my path inside junit and it worked. wierd. I know classpathre

RE: FW: problem with using fork in windows xp

2005-09-21 Thread Gayan Asanka
Hi Steve, I solved the problem. It was a classpath problem anyway. It seems that I can't use to define the calsspath inside junit if I use fork. That is why it shows me the help (I think). Basicaly I redefined my path inside junit and it worked. this is what I can't use

Re: FW: problem with using fork in windows xp

2005-09-21 Thread Steve Loughran
Gayan Asanka wrote: Hi Steve, For your convenience I hoped attach my build.xml to this mail. If you don't mind I can send my other resources too as you can regenerate this error (if you can find a win xp os). This is the output I see. E:\SVN2\modules\integration>ant Buildfile: build.xml no, y