> Jan, Vielen Dank - Thank you very much.
you´re welcome
> List - should I post my solution to the Ant Wiki? Is that
> kind of thing promoted?
you can do - I think that question has been asked a few times in
the last monthts.
Jan
This is how I extract a CVS branch sticky tag. If you use the HEAD branch, there's no
Tag file, the issues a warning (but doesn't fail), and the tag is defaulted
to HEAD by . The are there to convert TTTAG_NAME into
TAG_NAME. The ^D.* variant is when you update/checkout by date instead of tag,
AntFlow is an open source tool for the automation and scheduling of
file based system tasks, including those with complex dependencies and
workflow logic. AntFlow uses ant tasks for it's verbs and adds periodic
and hot folder triggered invocation. Check out
http://antflow.onionnetworks.com if you
Hi,
I don't know much about ant and am trying to fix a problem in our
existing build.xml file.
We have many branches in CVS and our normal procedue is to checkout out
a module which contains a build.xml file then run an ant package in this
directory which creates our software packages etc. As
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Yes, you are correct that I could create the directory at
> runtime, which is needed for downloaded files, but the
> problem is our system is property driven, and if someone
> creates a directory with the wrong property, then we get tmp
> folde
Found the culprit! Don't use the "dir" and "file" attributes simultaneously in the
element.
Change it to:
and all is well in the realm of D Sledge.
Thanks a million for your help!
D Sledge
__
Do you Yahoo!?
Check out the ne
--- D Sledge <[EMAIL PROTECTED]> wrote:
> Wait... so if a target file doesn't exist ("XA" for
> instance), it's considered up to date?
>
No, the example I'm working with is structured a
little differently from yours, but I wanted to go
ahead and get the merge problem out of the way.
> Here's what
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> I created a self-contained buildfile to test this and
> have noticed a problem when I ran ant with debug
> logging. You should be using a merge mapper for this
> example; the glob mapper isn't behaving as you expect
> when you specify from with ONLY "*"
--- D Sledge <[EMAIL PROTECTED]> wrote:
(a bunch of stuff)
I created a self-contained buildfile to test this and
have noticed a problem when I ran ant with debug
logging. You should be using a merge mapper for this
example; the glob mapper isn't behaving as you expect
when you specify from with O
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> --- D Sledge <[EMAIL PROTECTED]> wrote:
> > It might be good to show what I have so far:
> >
> >
> >
> >
> >
> >
> >
> >
>
> Looks pretty good so far. What is the exact error
> message?
Now t
Yes, you are correct that I could create the directory at runtime, which is needed for
downloaded files, but the problem is our system is property driven, and if someone
creates a directory with the wrong property, then we get tmp folders all over the
place and create quite a mess. So by creatin
--- D Sledge <[EMAIL PROTECTED]> wrote:
> It might be good to show what I have so far:
>
>
>
>
>
>
>
>
Looks pretty good so far. What is the exact error
message?
-Matt
__
Do you Yahoo!?
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> --- D Sledge <[EMAIL PROTECTED]> wrote:
> > File A is the source file for files X, Y, and Z.
> > How do I set up my uptodate element so that it
> > checks to see if X, Y, and Z are up to date? I've
> > tried using a composite mapper, but ant keeps
> >
hello,
i'm using a global property file for various ant scripts.
to keep variable names short and concise i use variables
in the delaration of other variables.
like:
workspace=/home/me
classpath=${workspace}/classes
i know that that's nothing unusual, but it doesn't work
for my global property file
Jan, Vielen Dank - Thank you very much.
I'll try it out straight away.
List - should I post my solution to the Ant Wiki? Is that kind of thing promoted?
Thanks...
- Mel
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 8:46 AM
To: [E
--- Matt Benson <[EMAIL PROTECTED]> wrote:
> --- D Sledge <[EMAIL PROTECTED]> wrote:
> > File A is the source file for files X, Y, and Z.
> > How do I set up my uptodate element so that it
> > checks to see if X, Y, and Z are up to date? I've
> > tried using a composite mapper, but ant keeps
> >
Ant itself can´t do that. If you have an external program
(like Winzip) you can call it via .
Jan
> -Ursprüngliche Nachricht-
> Von: Nagendra Singh [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 2. November 2004 14:45
> An: Ant Users List
> Betreff: create exe
>
>
>
> Dear Sir,
Dear Sir,
I have a zip.So I want to create exe.
How to create .exe from .zip file through ant.
Please help me.
Write the sample code.
Nagendra Kumar Singh
Software Engineer
EE/ACES, IIT Kanpur
PH- +91-512-2597841
If you find an appropriate , you have won.
- need to grab the filenames (a mix of *.jpg, *.gif, *.png, etc)
* fileset, nested selectors
* selectors: include
- and get only the newer filenames.
* selectors: (I think there is one, see the manual)
- I need to make a list of these names.
*
Kris and others, Good questions. I'm sorry I did not provide more
detail.
We have a process where by images are copied to a specific location. I
need to grab the filenames (a mix of *.jpg, *.gif, *.png, etc) and get
only the newer filenames. I need to make a list of these names. I
would like i
see http://ant.apache.org/manual/install.html#librarydependencies
Jan
> -Ursprüngliche Nachricht-
> Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 2. November 2004 14:37
> An: Ant Users List
> Betreff: RE: Ant Get FileSize using exec?
>
> you need compatible versio
you need compatible version of bsf to use script.
> -Original Message-
> From: Gareth Kelly [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 02, 2004 8:33 AM
> To: 'Ant Users List'
> Subject: RE: Ant Get FileSize using exec?
>
>
> Using the below example I get this error:
>
> BUILD F
Using the below example I get this error:
BUILD FAILED
/export/home/vssop/sparcs/build.xml:17: Could not create type scriptdef due
to java.lang.NoClassDefFoundError: org/apache/bsf/BSFException
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 November 2004 13
I´ve converted the former
See
http://marc.theaimsgroup.com/?l=ant-user&m=105281957531371&w=2
Jan
> -Ursprüngliche Nachricht-
> Von: Gareth Kelly [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 2. November 2004 13:43
> An: 'Ant Users List'
> Betreff: Ant Get FileSize using exec?
>
> Hello,
> I am trying to di
RELEASE_FILE_SIZE=$(ls -l /path/to/file/filename|(read perms num_hd_links user group
size rest; echo $size) )
here's the bash version that we use on solaris which sets the var on the left to the
size of the file.
> -Original Message-
> From: Gareth Kelly [mailto:[EMAIL PROTECTED]
> Sent
Hello,
I am trying to display the filesize, or set a property to be equak to it.
I tried the exec tag, and can do this:
to get this:
[exec] -rwxr--r-- 1 kellyga develop 4338595 Nov 1 10:51
/export/home/kellyga/sparcs/war/SPARCS.war
But all I need is the filesize.
Can anyone hel
27 matches
Mail list logo