Re: error while using project helper

2006-04-19 Thread shree vinayakh
hi, Im able to view the generated ANT file. Also that im able to execute the ant file using eclipse or from command line. but executing it from my java program is the only problem. contents of the xml ant file regards, shreevinayakh On 4/20/06, Stephen McConnell <[EMAIL PROTEC

Re: error while using project helper

2006-04-19 Thread Antoine Levy-Lambert
shree vinayakh wrote: > hi, > > im using a java standalone app to write another java source file and ant > build file when i try to execute the ant build file from the same > standalone java app i get error > "Content is not allowed in prolog." > > Hello Shree, this means that your build fi

RE: error while using project helper

2006-04-19 Thread Stephen McConnell
> -Original Message- > From: shree vinayakh [mailto:[EMAIL PROTECTED] > Sent: Thursday, 20 April 2006 2:43 PM > To: user@ant.apache.org > Subject: error while using project helper > > hi, > > im using a java standalone app to write another java source > file and ant build file wh

error while using project helper

2006-04-19 Thread shree vinayakh
hi, im using a java standalone app to write another java source file and ant build file when i try to execute the ant build file from the same standalone java app i get error "Content is not allowed in prolog." stack trace: E:\SOAPApp\OrderBO.java:1: Content is not allowed in prolog. at

RE: Create a file that contains files in directory

2006-04-19 Thread Ivan \"Rambius\" Ivanov
Hello, --- "Guttula, Mohan" <[EMAIL PROTECTED]> wrote: > The issue was with relative path in the base > directory. i.e., > > > Issue is resolved by using IVAN suggestion which is > as follows: > - > > - Defining location of files and dirs with location attribute comes vary handy when

RE: Create a file that contains files in directory

2006-04-19 Thread Guttula, Mohan
The issue was with relative path in the base directory. i.e., Issue is resolved by using IVAN suggestion which is as follows: - - Ivan - do you know if I can append "@" to the beginning of each line in the target directory. i.e., Target file (master.sql) * @temp/temp.tab @tem

RE: Create a file that contains files in directory

2006-04-19 Thread Ivan \"Rambius\" Ivanov
Hello, Your code seems ok. Ypu may want to start ant with -verbose option to see what is going wrong. Also can you try defining master_base property not with value but with location attribute: Regards Ivan --- "Guttula, Mohan" <[EMAIL PROTECTED]> wrote: > More info: > > If I don't use , I'

RE: Create a file that contains files in directory

2006-04-19 Thread Guttula, Mohan
More info: If I don't use , I'm getting the complete path of the files inside my target file. If I use the , the target file is empty. A snippet of my build.xml

RE: Create a file that contains files in directory

2006-04-19 Thread Guttula, Mohan
Hello, didn't resolve the absolute path issue? Do I need to use some other mapper? Regards, Mohan -Original Message- From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 4:58 PM To: Ant Users List Subject: Re: Create a file that contains files in directory

Re: checking property values

2006-04-19 Thread Heikki Qvist
If you need to use conditional or plural (i.e.loops) execution, you might have a wrong tool. Antoine Levy-Lambert kirjoitti: Hello Leo, yes you can. you have 3 possibilities : - use a combination of Ant and Groovy, so that you script around ant tasks and datatypes, but with the possibilit

RE: Printing out patternsets and/or filesets

2006-04-19 Thread Brown, Carlton
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 19, 2006 1:36 AM > To: user@ant.apache.org > Subject: AW: Printing out patternsets and/or filesets > > > > patternset: ${ps.value}"/> > > > Jan > > > >With pathconvert you can convert the

AW: Extend lib-path

2006-04-19 Thread Jan.Materne
>I have a task that depend on a .jar. Is there a way to point >the ant to the .jar in question from within build file? I.e. >kind of set -lib from the script? Providing that inside the classpath of ? Jan - To unsubscribe, e

AW: Convertion from shell to ant target

2006-04-19 Thread Jan.Materne
># 12 : Check errors at build.msg and the logs > >echo "Check there any errors " >cd $IMF/build >rm -rf /usr/local/error.txt >#grep " Error" *.log *.msg > /usr/local/error.txt grep " Failed" *.log *.msg >> /usr/local/error.txt some kind of May

Extend lib-path

2006-04-19 Thread Roman Gavrilov
I have a task that depend on a .jar. Is there a way to point the ant to the .jar in question from within build file? I.e. kind of set -lib from the script? Regards, Roman

Convertion from shell to ant target

2006-04-19 Thread pritesh.saharey
Hi, Can anyone help me in converting this piece of code from shell script to an ant target? // # 12 : Check errors at build.msg and the logs echo "Check there any errors " cd $IMF/build rm -rf /usr/local/error.txt #grep " Error" *.log *.msg > /usr

Re: junit tests in single jvm

2006-04-19 Thread Steve Loughran
P.S.Lokesh wrote: Hi Steve, Thanks for the reply. My doubt was like, if we call two java tasks inside parallel task will it be started in same jvm, where we started ant, or each task will be started in separate jvm. If the jvm forks then its two separate JVMs. If it is not forked, then it

junit tests in single jvm

2006-04-19 Thread P.S.Lokesh
Hi Steve, Thanks for the reply. My doubt was like, if we call two java tasks inside parallel task will it be started in same jvm, where we started ant, or each task will be started in separate jvm. Lokesh. P.S.Lokesh wrote: hi, I have been looking through the docs to run my junit tests i

RE: checking property values

2006-04-19 Thread Varadarajan, Srivathsan
Sure. Have a look at the condition. http://ant.apache.org/manual/CoreTasks/conditions.html -- Srivathsan -Original Message- From: Leo [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 5:30 PM To: user@ant.apache.org Subject: checking property values Hi, Iam tryi

SystemClassLoader fails to load inside my own ant task

2006-04-19 Thread Marcel Ruff
Hi, i'm using ANT 1.6.5 on Linux (same for JDK 1.4 or 1.5). I have written an own task, inside this i use java.util.logging. When i want to load my own logging handler it fails: [xmlBlasterScript] java.lang.ClassNotFoundException: org.xmlBlaster.util.log.XbNotifyHandler [xmlBlasterScript]

SystemClassLoader fails to load inside my own ant task

2006-04-19 Thread Marcel Ruff
Hi, i'm using ANT 1.6.5 on Linux (same for JDK 1.4 or 1.5). I have written an own task, inside this i use java.util.logging. When i want to load my own logging handler it fails: [xmlBlasterScript] java.lang.ClassNotFoundException: org.xmlBlaster.util.log.XbNotifyHandler [xmlBlasterScript]

Re: junit tests in single jvm

2006-04-19 Thread Steve Loughran
P.S.Lokesh wrote: hi, I have been looking through the docs to run my junit tests in the same jvm where server is started, but i could not achieve it through parallel task, No, you cant, it doesnt make sense. shown below is the sample code: **