raju,
it is more a java question than ant question
you could googling on 'using runtime exec ant bat' and 'runtime exec and
parameters'...
supareno
Hi,
i have a file called test.bat within which i have ant command:
test.bat:
-
echo %foo% help
echo %ID% help
ant -f ./build.xml main
On Tue, Mar 25, 2008 at 10:50 PM, Karr, David <[EMAIL PROTECTED]> wrote:
> I have to write a custom Ant task to get some detailed data out of
> Perforce into some properties, and then I need to use those properties
> in following steps of a build. Are there any difficulties in having my
> build
I have to write a custom Ant task to get some detailed data out of
Perforce into some properties, and then I need to use those properties
in following steps of a build. Are there any difficulties in having my
build first compile the Ant task, and then use it in the further steps
of the build? Can
in case of a unix env, URL should be used with forward slashes ('/') instead
of backslashes
and in case any string needs to be used backslashes, they need to accompany
another backslash. this is because backslash acts as a escape sequence
character (remember \n)
so to avoid such a situation,
Chaohua Wang wrote:
I have figured out, I didn't use name instance, instead port number,
works fine now.
excellent!
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2008 10:25 AM
To: Ant Users List
Subject: Re: ant sql doesn't recognize th
I have figured out, I didn't use name instance, instead port number,
works fine now.
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2008 10:25 AM
To: Ant Users List
Subject: Re: ant sql doesn't recognize the database server name with
back slash
Thank you, '10.23.23.2\sql5t9' sql5t9 is a name instance, If I use
forward slash, sql5t9 will be treated as a Database name, instead of
name instance.
In this way, 10.23.23.2 can be recognized, but it is not
'10.23.23.2\sql5t9', so I will get login failed issue.
Do I need to track database? I can u
Chaohua Wang wrote:
Hi Folks,
I am using jdbc driver to connect database. I have 2 database. The url
is like this 10.23.23.1, another one is 10.23.23.2\sql5t9.
I am using jtds drvie to connect: jdbc:jtds:sqlserver://10.23.23.1 it
works fine.
But for 10.23.23.2\sql5t9, is not working. message
Hi Folks,
I am using jdbc driver to connect database. I have 2 database. The url
is like this 10.23.23.1, another one is 10.23.23.2\sql5t9.
I am using jtds drvie to connect: jdbc:jtds:sqlserver://10.23.23.1 it
works fine.
But for 10.23.23.2\sql5t9, is not working. message shows:
java.sql.SQLEx
I'm writing a Custom Ant Task that needs to act on the properties in a
Property File (and just in that property file). So I'm passing my
custom task the name of this Property file. I use a java.io.File and a
java.io.Properties collection to load this file but I've just now
realized that variable
Thank you Stev for the pointers.. Let me create new taks with the code
snippets from depends filesets etc..
Regards,
Nagendra
Steve Loughran wrote:
>
> Raja Nagendra Kumar wrote:
>> We are using lot of opensource library code, which also gets complied
>> from
>> source code. However, my code m
Hello everybody!
I'm using ant in java to launch java application, to compile sources and
to pack the result in jar file.
How can I catch the result of launching java application, for example? I
need to show it on UI.
I have found setError, setOutput methods with the File parameter, but
I'm not s
Hi,
i have a file called test.bat within which i have ant command:
test.bat:
-
echo %foo% help
echo %ID% help
ant -f ./build.xml main
I am trying to invoke ant from a java program:
Process p = Runtime.getRuntime().exec("./test.bat", new
String[]{"foo=bar","ID=38"});
Ant comman
Z W wrote:
Martin
I'm not sure what XQuery does and have no time to look into it to learn to
use it.
Remi
I don't think I have recursion problem.
Folks,
How to I increase the heap size in the Windows Ant bat file ? I cant seem to
find it.
How does one also include the stack size in Windows Ant ?
Raja Nagendra Kumar wrote:
We are using lot of opensource library code, which also gets complied from
source code. However, my code many not use all the sources of opensource
library. This way, me copying all the opensource source always is not
recommended. For this reason only, we wanted to sele
Hello,
you could just use XSLT native functionality for this type of thing; I
would imagine using the document() function.
if u need to procedurally pass in file names, just pass in via
xsl:params (xslt task can be configured to pass in params).
of course I am assuming you are working with xml f
Hi,
Can You show some of the bigger picture? From what I read, the only thing
that comes to my mind is that the xslt task, being a file-based task,
accepts nested fileset elements. In those, You can specify exactly which
files to treat with which xsl stylesheet. Am I even close to understanding
wh
17 matches
Mail list logo