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
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
> -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
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
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
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
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'
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
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
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
> -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
>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
># 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
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
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
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
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
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
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]
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]
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:
**
21 matches
Mail list logo