Re: classpath and simultaneous builds

2006-02-05 Thread Ivan \"Rambius\" Ivanov
Hello, --- Harshal Chavda <[EMAIL PROTECTED]> wrote: > Hello ant fraternity, > I am a beginner in ant(version > -1.6.3) First, I would suggest that you upgrade to the latest version of Ant which is 1.6.5. > and have > absolutely no knowledge of java(I can only write > very si

Re: problem with sql task

2006-02-05 Thread Ivan \"Rambius\" Ivanov
Hello, --- Andrew Goktepe <[EMAIL PROTECTED]> wrote: > > and do this before running the script so that Ant > can find the driver class: > > set CLASSPATH=%CLASSPATH%;c:\path\to\classes12.jar This is correct, but it is more appropriate to use classpath attribute or nested classpath:

Re: problem with sql task

2006-02-05 Thread Andrew Goktepe
Yes, the problem is related to classes12.jar. You need to specify the driver class name in the task, and you also need the class to be found on your classpath. For example, in your Ant script you might want to use wrote: > > > Hello fellow users, > I have been stuck in a

RE: problem with exec task

2006-02-05 Thread bill/wilandra
To run a .bat file on Windows you need to start the command shell and have it run the .bat. I would assume that the executable would be something like cmd. IIRC there is a thread on this list that talks about the exact same issue. HTH Bill -Original Message- From: Rhino [mailto:[EMAIL PR

Re: problem with exec task

2006-02-05 Thread Rhino
Harshal, "Error=2" from Windows means "file not found". You can find the full set of all of the Windows error codes at http://msdn.microsoft.com/library/?url=/library/en-us/debug/base/system_error_codes.asp?frame=true. You have either misspelled the name of the file or, more likely, you have

RE: classpath and simultaneous builds

2006-02-05 Thread Stephen McConnell
> -Original Message- > From: Harshal Chavda [mailto:[EMAIL PROTECTED] > Sent: Monday, 6 February 2006 5:36 AM > To: user@ant.apache.org > Subject: classpath and simultaneous builds > >   > Hello ant fraternity, > I am a beginner in ant(version -1.6.3) and > have abs

problem with exec task

2006-02-05 Thread Harshal Chavda
  HI to all fellow users, My configuration is jdk(1.3.1),Ant(1.6.3),tomcat(4.1) on a windows XP.I want to start the tomcat server(startup.bat).So I used the "exec" task.BUt I get an error which is follows : pra

classpath and simultaneous builds

2006-02-05 Thread Harshal Chavda
  Hello ant fraternity, I am a beginner in ant(version -1.6.3) and have absolutely no knowledge of java(I can only write very simple java programas in java).Can anyone please tell me "what is classpath and how is it used"? I also wanted to know whether I can have simultaneous

problem with sql task

2006-02-05 Thread Harshal Chavda
  Hello fellow users, I have been stuck in a problem regarding sql task.The problem is that I am unable to connect to the oracle database as whenever I perform the build using the sql task the error message is "Class Not Found: JDBC driver JDBC Thin client-side driver co

Re: Ant task : how to avoid re-executing the same task

2006-02-05 Thread glenn opdycke-hansen
If I understand correctly, I would set a property from the import target and then add an "unless" clause to the target. If the target is executed once, then it would not be executed again. This approach may not work if the script is using "antcall" tasks, though. I would search for "antcall" and