Re: BUILD FAILED "Perhaps JAVA_HOME does not point to the JDK" ...

2011-10-25 Thread glenn opdycke-hansen
The java -version will indicate that a JRE is present. Try javac -version This will test if a JDK is available glennop@uphen:~$ java -version java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre10-0ubuntu5) OpenJDK Server VM (build 20.0-b11, mixed mode) glennop@uphen:

Re: SQL task and rowcountproperty

2011-10-25 Thread Andy Stevens
On 4 August 2011 09:20, Miras Bastien wrote: > I'm trying to use the rowcountproperty parameter in the sql task. > > My ant code looks like: >                             driver="oracle.jdbc.driver.OracleDriver" >                             url=" jdbc:oracle:thin:@localhost:11522:TINSTA" >      

Re: ProjectHelper2 fails to close input source after parsing imported document?

2011-10-25 Thread Steele, Richard
Though similar--and a bit scary--I think this particular issue is different. Thanks, Rich On Tue, Oct 25, 2011 at 12:17 PM, Vimil Saju wrote: > Could this be due to the urlclassloader bug in Java 6 that keeps jar files > open on windows. I heard that this bug has been fixed in Java 7. > > http:

Re: ProjectHelper2 fails to close input source after parsing imported document?

2011-10-25 Thread Steele, Richard
On Tue, Oct 25, 2011 at 11:58 AM, Stefan Bodewig wrote: > On 2011-10-25, Steele, Richard wrote: > > > I'm chasing a defect with one of my custom Ant tasks. To summarize, the > > task uses ImportTask under the hood to import build scripts. These > scripts > > can come from jar files downloaded v

Re: ProjectHelper2 fails to close input source after parsing imported document?

2011-10-25 Thread Vimil Saju
Could this be due to the urlclassloader bug in Java 6 that keeps jar files open on windows. I heard that this bug has been fixed in Java 7. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5041014 From: Stefan Bodewig To: user@ant.apache.org Sent: Tuesday, O

Re: ProjectHelper2 fails to close input source after parsing imported document?

2011-10-25 Thread Stefan Bodewig
On 2011-10-25, Steele, Richard wrote: > I'm chasing a defect with one of my custom Ant tasks. To summarize, the > task uses ImportTask under the hood to import build scripts. These scripts > can come from jar files downloaded via Ivy. The problem I'm running into is > that, at least on Windows,

ProjectHelper2 fails to close input source after parsing imported document?

2011-10-25 Thread Steele, Richard
I'm chasing a defect with one of my custom Ant tasks. To summarize, the task uses ImportTask under the hood to import build scripts. These scripts can come from jar files downloaded via Ivy. The problem I'm running into is that, at least on Windows, I'm unable to clean the project because Ant ha

Re: problem using "" when using with DIRECTORY location

2011-10-25 Thread Scot P. Floess
Sorry no trailing 'D': replace="TEST_DIR=C:homedir2" byline="true" /> On Tue, 25 Oct 2011, Scot P. Floess wrote: Try this: replace="TEST_DIR=C:homedir2" byline="true" />D On Tue, 25 Oct 2011, himanshu wrote: hi, i am having trouble in doing this.. there is 1 batch

Re: problem using "" when using with DIRECTORY location

2011-10-25 Thread Scot P. Floess
Try this: replace="TEST_DIR=C:homedir2" byline="true" />D On Tue, 25 Oct 2011, himanshu wrote: hi, i am having trouble in doing this.. there is 1 batch file(MY_FILE) with this line in it.. *set TEST_DIR=C:\temp\dir1* i just want to set some new value to *TEST_DIR* but when

Having trouble using replaceregexp with DIR locations as string to replace

2011-10-25 Thread himanshu
hi, i am having trouble in doing this.. there is 1 batch file(MY_FILE) with this line in it.. *set TEST_DIR=C:\temp\dir1* i just want to set some new value to *TEST_DIR* but when i use in my ant script..it escapes forward slashes.. and gives this result *set TEST_DIR=C:homedir2* but correct

problem using "" when using with DIRECTORY location

2011-10-25 Thread himanshu
hi, i am having trouble in doing this.. there is 1 batch file(MY_FILE) with this line in it.. *set TEST_DIR=C:\temp\dir1* i just want to set some new value to *TEST_DIR* but when i use in my ant script..it escapes forward slashes.. and gives this result *set TEST_DIR=C:homedir2* but correct