Re: Size of zip file

2005-10-18 Thread Gisbert Amm
Bill Rich wrote: Many years ago (when floppies and sneaker net were the tranport method of choice) there were two Unix utilities available to split a zip file into parts and merge the parts back to a single zip file. I don't remember who supplied them or if they are even still available. Do yo

Re: Size of zip file

2005-10-18 Thread Ron Wheeler
Since the file set is fairly stable, why not just make 6 zip files to start with? Make an ant file to get the files and rebuild the setup for testing and mail that to the test teams. If you are downloading the files from ftp, what is the advantage of 6 small files rather than 1 big one? You a

RE: Size of zip file

2005-10-18 Thread pritesh.saharey
Thanks everybody for your inputs, actually I wanted to automate one of our manual work, every week we have to release our product for QA purpose and our QA team is setting in different physical location, till now we used to manually split the 6 zip files each of 700MB into 15MB using a freeware sp

Need Help Extending Copy Task

2005-10-18 Thread Stephen Nesbitt
All: I'm trying to extend the the copy task and am running into a brick wall. What I am trying to do is to extend the task so that it can accept a property which contains a comma separated list of FileSet references. For example: . my:copy would do nothing more than parse filesetlist and call

Re: question about excluding packages

2005-10-18 Thread Dominique Devienne
> >How can I exclude the common package in my source tree and > >then run my javancss. > > > - > + > > I recommend using the longer form , as it's too easy to overlook the trailing slash next to the XML element closing slash. --DD ---

Re: Pure Ant

2005-10-18 Thread Dominique Devienne
On 10/12/05, Alan Gutierrez <[EMAIL PROTECTED]> wrote: >I've spent the past few days configuring Ant, and doing my best >to avoid external dependencies in the build. It is working. > >I don't like seeing 3-5 targets scroll by just to set >properties, though. I'm ready to adopt Ant C

Re: Download set of files under a directory on a HTTP server?

2005-10-18 Thread Dominique Devienne
On 10/18/05, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > HTTP is not a filesystem. Some webservers may be configured to present a > filesystem-like view when a directory is selected, but that behavior is > not part of the spec. > > You may be able to use wget to solve your problem, but in general t

Re: build successfull but apply did nothing

2005-10-18 Thread Dominique Devienne
On 10/18/05, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 10/18/05, Yves Willems <[EMAIL PROTECTED]> wrote: > > I'm trying to get a gcc apply task running but found out that it simply > > doesn't execute the executable I specify. > > > I'd say it's possible you have a foo.o file in your curre

Re: build successfull but apply did nothing

2005-10-18 Thread Dominique Devienne
On 10/18/05, Yves Willems <[EMAIL PROTECTED]> wrote: > I'm trying to get a gcc apply task running but found out that it simply > doesn't execute the executable I specify. > > I can put in rubbish and still it tells me that it ran successfully. This is > the command syntax: is a "smart" task, mean

Re: Download set of files under a directory on a HTTP server?

2005-10-18 Thread Jeffrey E Care
HTTP is not a filesystem. Some webservers may be configured to present a filesystem-like view when a directory is selected, but that behavior is not part of the spec. You may be able to use wget to solve your problem, but in general the concept of "downloading a directory" simply doesn't exist

Download set of files under a directory on a HTTP server?

2005-10-18 Thread Rajesh Rajasekaran
How do I download a set of files under a directory on a HTTP server using a HTTP URL pointing to that directory. ( no authentication required) i tried the task but i was able to download only one file at a time. Thanks Rajesh

Re: Size of zip file

2005-10-18 Thread Rhino
- Original Message - From: "Matt Benson" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, October 18, 2005 2:16 PM Subject: Re: Size of zip file > --- Rhino <[EMAIL PROTECTED]> wrote: > > > Oops, I missed that when I looked in the manual! > > > > Even still, I don't think Ant ha

Re: Size of zip file

2005-10-18 Thread Matt Benson
--- Rhino <[EMAIL PROTECTED]> wrote: > Oops, I missed that when I looked in the manual! > > Even still, I don't think Ant has the ability to > decide which files from the > original zip are to be grouped together into the new > smaller zips. should work even if you pass in s and therefore give

Re: replaceregexp problem

2005-10-18 Thread Gilbert Rebhan
Hi, Jeffrey E Care wrote: > Play around with the @flags & @byline; I think those will be able to solve > your problem. > yup = did it. Thanks !! bye4now, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: replaceregexp problem

2005-10-18 Thread Jeffrey E Care
Play around with the @flags & @byline; I think those will be able to solve your problem. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Gilbert Rebhan <[EMAIL PROTECTED]> wrote on 10/18/2005 01:41:02 PM: > Hi, > > i want to

replaceregexp problem

2005-10-18 Thread Gilbert Rebhan
Hi, i want to change one line in a txtfile. 1. if txtfile is like = foo=bar bla=bla works as it should, gives me = foo=bar bla=bla:123456 2. but if txtfile is like = foo=bar bla=bla foobar=foobar means the line to be altered is not the last line my snippet above gives me = fo

RE: build successfull but apply did nothing

2005-10-18 Thread S I
What does simply typing gcc at the command prompt do? Will the application execute? Do you perhaps need the full path for gcc provided in your apply task? Original Message Follows From: "Yves Willems" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Subject: build successfull but a

Re: Size of zip file

2005-10-18 Thread Rhino
Oops, I missed that when I looked in the manual! Even still, I don't think Ant has the ability to decide which files from the original zip are to be grouped together into the new smaller zips. (I'm assuming that a large zip containing many files needs to be split into smaller zips that are less th

Re: Size of zip file

2005-10-18 Thread Rhino
I don't see anything in the Ant manual that would help you much with what you want to do. Ant's Zip task doesn't seem to have any way to determine the size of a Zip file and I don't see anything that will *directly* help you split a single Zip file into several smaller ones. Somehow or another, I

RE: Size of zip file

2005-10-18 Thread Bill Rich
Many years ago (when floppies and sneaker net were the tranport method of choice) there were two Unix utilities available to split a zip file into parts and merge the parts back to a single zip file. I don't remember who supplied them or if they are even still available. Perhaps google will reveal

build successfull but apply did nothing

2005-10-18 Thread Yves Willems
Hi all, I'm trying to get a gcc apply task running but found out that it simply doesn't execute the executable I specify. I can put in rubbish and still it tells me that it ran successfully. This is the command syntax:

Re: Size of zip file

2005-10-18 Thread Matt Benson
Ant >= 1.6.3 includes the task which can get file sizes for you. You could probably (a) write something or (b) find something to do the split for you. -Matt --- [EMAIL PROTECTED] wrote: > > Dear All, > I would like to know that if is possible > that I can take a > size of zip file,

Size of zip file

2005-10-18 Thread pritesh.saharey
Dear All, I would like to know that if is possible that I can take a size of zip file, is there any such task in ANT by using which I can know the size of a zip file or folder. And also want to know that is I can split any zip file into desirable equal size? Any help will be highly appre

AW: set property values using my own task

2005-10-18 Thread Jan.Materne
${user.dir} All java system properties are available as Ant properties. Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 18. Oktober 2005 16:10 >An: Ant Users List >Betreff: RE: set property values using my own task > >Hi, >

RE: set property values using my own task

2005-10-18 Thread Mikael Petterson (KI/EAB)
Hi, How can I get the current directory in ant ( like unix pwd)? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: set property values using my own task

2005-10-18 Thread Jan.Materne
mytask.getProject.setNewProperty) So a $ ant should give you the values from the file and a $ ant -Dprod.product_number=DEV-20051018 should override that (dont forget your prefix!) Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 18. Oktober 2

RE: set property values using my own task

2005-10-18 Thread Mikael Petterson (KI/EAB)
Hi, That works but I need to set the property values ( as you can do on the command line with -D) for so the default values will be overridden( read from product.attributes file). Then I will use the properties in target called prepare-product-info. Was I more clear this time? cheers, //

AW: set property values using my own task

2005-10-18 Thread Jan.Materne
Where is the problem? in that order should work. Jan >-Ursprüngliche Nachricht- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 18. Oktober 2005 12:50 >An: user@ant.apache.org >Betreff: set property values using my own tas

set property values using my own task

2005-10-18 Thread Mikael Petterson (KI/EAB)
Hi, The purose of my task is to set the values for properties arch, product_number and product_revision. The information is stored in a file called 'product.attributes'. I need to assign the properties the values ( line two) in the product.attributes file and then use the property values in targ

FYI: leafcutter - An API which allows you to execute Ant tasks from Java code

2005-10-18 Thread Jan.Materne
Haven´t worked with that - just found the page while visiting some blogs. Sayed Hashimi started a discussion [1] about build tools (primarily Ant+Maven). Suggestions in comments were combining Ant+Groovy. But also leafcutter [2] was listed. >From leafcutter´s homepage: ---8-<---8-<---8-<