Maybe something like
Jan
>-Ursprüngliche Nachricht-
>Von: Mario Madunic [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 31. Juli 2007 16:00
>An: Ant Users List
>Betreff: multiple regexs against a single doc
>
>Right now I'm doing the following with each r
Never tried instantiating conditions from javascript ...
But basically these are java classes.
So instantiate and set configure it
myhttp = new Http();
myhttp.setUrl("a url adress");
Maybe we could set a project instance or something like that.
Let's have a look at the sources [1,2] - yes.
Hi Simon,
I always found it better to call CVS via ANT using commandline and argument
rather than command.
So maybe you want to try sth. Similar to this:
Hope this helps...
--
Jürgen Knupleschwww.i
Thanks for the information Jan. I am using both 'http' condition and 'get' task
in my problem. I really want to know how can I create an 'http' condition in
the javascript code below?
>>myhttp = project.createTask("http");
>>myhttp.setUrl("a url address");
In the code above createTask is not ap
Right now I'm doing the following with each regex that I require to replace some
string or char
etc...(x100)
This is a slow process as each file is "opened" and "closed" for each regex.
What I'd like to do is open a file and parse with multiple regexs before going
to the next regex. Is t
You list a depends="jar" which tells ant to find a target named "jar"
and run it before it runs the target named "run"
I suspect that you do not have a target named "jar" defined.
The java task accepts nested arg elements.
Here's a working example:
thanks,
I'll give it a try.
Mario
Quoting Bevan Arps <[EMAIL PROTECTED]>:
> Mario Madunic wrote:
> > has anybody used BCP (bulk copy program) with ANT. I need to insert data
> into a
> > SQL Server and would like to do this within ANT.
> >
> > Any hints on how to do this will be appreciated.
>
On 7/31/07, Miroslav Šulc <[EMAIL PROTECTED]> wrote:
> What would this do? Replace with the s? If
> so, that would be great :-)
Yep, that is the idea.
Peter
>
> --
> Miroslav Šulc
>
>
> Peter Reilly napsal(a):
> > I am "working" (in the to-do queue) on a enhanced version of
> > allows nearly a
Hi,
I've tried the following:
after:
I write:
but this returns:
BUILD FAILED
C:\myProjects\runway_core\guitools\sims\build.xml:153: Problem: failed to
create
task or type target
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types
What would this do? Replace with the s? If
so, that would be great :-)
--
Miroslav Šulc
Peter Reilly napsal(a):
I am "working" (in the to-do queue) on a enhanced version of
allows nearly arbitrary fragments of xml to be marcodef'ed.
see:
http://issues.apache.org/bugzilla/show_bug.cgi?id=40
and yes.. add a manifest to jar (Main class where the main() is there )
-Original Message-
From: triona28 [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 1:43 PM
To: user@ant.apache.org
Subject: new ant user - trying to run java cmd
Hi,
I'm trying to run a class from
I am "working" (in the to-do queue) on a enhanced version of
allows nearly arbitrary fragments of xml to be marcodef'ed.
see:
http://issues.apache.org/bugzilla/show_bug.cgi?id=40678
This should address your use case:
P
* dont write a inside the
* when specifying a main-class, use '.' as package-delimiters, not '/'
* when starting
- you could use the jar-attribute (as you have a main-class defined) or
- provide the full qualified classname 'com.tech.simulators.Main'
* but dont expect that nested JARs are on
Hi,
I'm trying to run a class from built jar using ant but my script doesn't
pick up even my echos around it - what am I doing wrong?
this is the bit that's already in my script & works:
I think does not support Network Re-startable mode ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 1:04 PM
To: user@ant.apache.org
Subject: AW: windows command
Why dont you use ?
Jan
>-Ursprüngliche Nachricht-
>Von: Sharma,
Do not go to , this is what I have mentioned below in my mail, you
can adapt the command line arguments as your windows system commnad accepts.
-Original Message-
From: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 1:07 PM
To: Ant Users List
Subject: RE: wi
what is the meaning of
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 1:04 PM
To: user@ant.apache.org
Subject: AW: windows command
Why dont you use ?
Jan
>-Ursprüngliche Nachricht-
>Von: Sharma, Jaikumar [mailto:[EMAIL PRO
No???
http://ant.apache.org/manual/CoreTasks/buildnumber.html
... then set the property build.number to the value that was read in (or to 0,
if no such value).
Jan
>-Ursprüngliche Nachricht-
>Von: Alex Egg [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 31. Juli 2007 05:15
>An: Ant
Why dont you use ?
Jan
>-Ursprüngliche Nachricht-
>Von: Sharma, Jaikumar [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 31. Juli 2007 09:25
>An: Ant Users List
>Betreff: RE: windows command
>
>You can use the windows system command in the following way.
>
>
>
>
>
A condition is a different thing than a task
- a condition checks something
- a task does something.
Of course an implementing class maybe can do both ( ).
For HTTP there are two different implementations:
- condition
- task
(- http AntLib http://ant.apache.org/antlibs/sandbox.html )
Jan
>--
These are two different kinds of datatypes.
is a new resource collection.
(ok is also one) is an "old" datatype.
The handling (iterating over) these is completely different.
You could compare handling and in
http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html
* http://ant.apa
You could try a to get rid off the BOMs when enating the
files.
Jan
>-Ursprüngliche Nachricht-
>Von: Alex Egg [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 30. Juli 2007 22:33
>An: Ant Users List
>Betreff: concat task on group of utf 8 files w/ BOM
>
>Hi,
>I'm using the concat task wit
You can use the windows system command in the following way.
example note :
In the above target I have used xcopy.exe Windows program to copy
file from c:\temp to d:\temp. You can pass arguments to command using
Oh, instead of modifying Ant you could also put checkstyle into your project
( ${basedir}/checkstyle ) and work from inside Ant:
As a further step, you could let Ivy download cs and define the path ...
see http://svn.apache.org/viewvc/
Hi All,
I need to execute windows system command in Ant's build.xml. I got one
sample in manual but need to know what is the exact meaning of every
line with every attribute.
Can somebody please help
Regards
Irfan.
25 matches
Mail list logo