RE: Size of zip file

2005-10-19 Thread pritesh.saharey
I splitted one 501MB tar.gz file on linux using split command like this: split -b 10m iall.tar.gz CASH which was broken into 51 files in format CASHaa, CASHab - CASHaz than CASHba - CASHby, than I used cat command to rejoin them like this: cat CASHa[a-z] CASHb[a-z] > iall.tar.gz after rejoing

Re: Conditionally create a path reference id

2005-10-19 Thread Juergen Hermann
This starts to sound like you need to either use macrodef (to use different refid names for different projects, i.e. @{project}.classpath.runtime), or . And btw, macrodef doesn't work in maven (here, at least). --Original Message Text--- From: sporty Date: Wed, 19 Oct 2005 16:07:10 -0600 Lemme

Re: Conditionally create a path reference id

2005-10-19 Thread Juergen Hermann
On Wed, 19 Oct 2005 15:34:48 -0600, sporty wrote: ^> > > >That's when I ran into this error: >C:\development\eclipse 3.0\workspace\hibernate-3\common.xml:7: Reference ID >project.classpath.runtime already exists How is project.dependency.runtime set? You should do it via a condition, and then

Re: set property values using my own task

2005-10-19 Thread Juergen Hermann
On Tue, 18 Oct 2005 12:49:48 +0200, Mikael Petterson (KI/EAB) wrote: >The purose of my task is to set the values for properties arch, product_number and product_revision. Hmmm, why do you need a custom task for this?

Conditionally create a path reference id

2005-10-19 Thread sporty
Hi, I'm trying to dynamically build 5 different path reference ids. I need them since you can't refer to a non existant reference id and rather not go through all the combinations of using them and not. I'd have n! combinations. So for each reference, I assign the set appropriate for it, or create

Re: indirect property evaluation

2005-10-19 Thread Juergen Hermann
On Wed, 19 Oct 2005 12:59:47 -0700 (PDT), Matt Benson wrote: >This should "just work," in a properties file, >according the the manual page. If not you >should file a bug report. Nothing in the docs indicates that evaluation happens as long as no futher replacement is possible, and that nested

Re: indirect property evaluation

2005-10-19 Thread Juergen Hermann
On Wed, 19 Oct 2005 12:31:18 -0700, Alexey N. Solofnenko wrote: >A simple can do that. Builtins can do it, too: [echo] testfw.db.system = Solid >>> build.properties: db.system=solid # --- for Solid testfw.solid.system=Solid testfw.db.system=${testfw.${db

RE: make properites of data in file

2005-10-19 Thread Juergen Hermann
On Mon, 17 Oct 2005 14:15:59 +0200, Mikael Petterson (KI/EAB) wrote: >Since it is it is too much work to try the javascript installation I will go for >writing my own task. loadfile and antfile:propertyregex wil do what you want. and concat plus a tokenfilter will do it using only ant core, b

Re: indirect property evaluation

2005-10-19 Thread Matt Benson
--- "Lasher, James L" <[EMAIL PROTECTED]> wrote: [SNIP] > I have the following property file that I want to > load in my project: > > db.system=solid > > # --- for Solid > testfw.solid.system=Solid > > testfw.dbvar.system=testfw.${db.system}.system > testfw.db.sy

Build failed error

2005-10-19 Thread Yalamanchili, Ravi
Hi everybody, I am getting errors when compiled using ant, OS is 2003, I checked all the config and system variables, every thing looks fine . This is the error I m getting when trying to build Buildfile: build.xml BUILD FAILED C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml:13: The follow

RE: indirect property evaluation

2005-10-19 Thread Shatzer, Larry
Or from ant-contrib. http://ant-contrib.sourceforge.net/tasks/tasks/propertycopy.html > -Original Message- > From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 19, 2005 12:31 PM > To: Ant Users List > Subject: Re: indirect property evaluation > > > A simp

Re: indirect property evaluation

2005-10-19 Thread Alexey N. Solofnenko
A simple can do that. - Alexey. Lasher, James L wrote: Hello all, I have the following property file that I want to load in my project: db.system=solid # --- for Solid testfw.solid.system=Solid testfw.dbvar.system=testfw.${db.system}.system testfw.db.system

Connection refused error

2005-10-19 Thread Yalamanchili, Ravi
Hi everybody, I am using ant to compile, I am getting connection refused error:connect, please le me know if I am missing some thing from the ant config it self or how should I resolve this problem Buildfile: build.xml BUILD FAILED C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml:13: The fo

indirect property evaluation

2005-10-19 Thread Lasher, James L
Hello all, I have the following property file that I want to load in my project: db.system=solid # --- for Solid testfw.solid.system=Solid testfw.dbvar.system=testfw.${db.system}.system testfw.db.system=${testfw.dbvar.system} In my build.xml file, after loadin

Re: Problem converting path to property when a fileset's dir does not exist

2005-10-19 Thread Scot P. Floess
Matt: Thanks for the quick and prompt reply :) I considered using targets but was hoping that was not necessary (mostly because I dint want to see the extra target(s) listed and printed - just being anal). I'm not sure why the source behind Path.java is coded to raise and exception if the d

Re: Problem converting path to property when a fileset's dir does not exist

2005-10-19 Thread Matt Benson
--- "Scot P. Floess" <[EMAIL PROTECTED]> wrote: > I was wondering if anyone can please help me? I am > having trouble > converting a path to a property when a fileset's dir > does not exist. [SNIP] You will have to check for the directory's existence before adding the offending fileset to the

Re: Size of zip file

2005-10-19 Thread Rhino
- Original Message - From: "Matt Benson" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Wednesday, October 19, 2005 1:05 PM Subject: RE: Size of zip file > --- Ed Moon <[EMAIL PROTECTED]> wrote: > > > Here's how to use cat to put a file back together > > again: > > cat part1 part2 part

Problem converting path to property when a fileset's dir does not exist

2005-10-19 Thread Scot P. Floess
I was wondering if anyone can please help me? I am having trouble converting a path to a property when a fileset's dir does not exist. The error I received from ant is: "XXX not found." where XXX is the value of LIB_HOME as listed below: I

RE: Size of zip file

2005-10-19 Thread Matt Benson
--- Ed Moon <[EMAIL PROTECTED]> wrote: > Here's how to use cat to put a file back together > again: > cat part1 part2 part3 part4 > wholefile > > Or > cat part1 > wholefile > cat part2 >> wholefile > cat part3 >> wholefile > cat part4 >> wholefile or, when they are

RE: Size of zip file

2005-10-19 Thread Ed Moon
Here's how to use cat to put a file back together again: cat part1 part2 part3 part4 > wholefile Or cat part1 > wholefile cat part2 >> wholefile cat part3 >> wholefile cat part4 >> wholefile cat outputs to standard out. You need to use '>' or '>>' to redire

Re: Size of zip file

2005-10-19 Thread Ron Wheeler
Probably split and cat. Ron Rhino wrote: I don't use Linux a lot but I was curious about this issue and found some online man pages that described 'split' and it definitely looks like the command to use to slice and dice a file into smaller pieces. Unfortunately, they don't identify the comm

Re: Size of zip file

2005-10-19 Thread Rhino
I don't use Linux a lot but I was curious about this issue and found some online man pages that described 'split' and it definitely looks like the command to use to slice and dice a file into smaller pieces. Unfortunately, they don't identify the command that merges the smaller files together agai

Re: Need Help Extending Copy Task

2005-10-19 Thread Stephen Nesbitt
On Wednesday 19 October 2005 01:01, Steve Loughran wrote: > question: where does this newCopy get its project to log to? > > Because I dont see you passing it down, and I would centainly expect > project.log() to NPE when it is null -which is exactly what appears to > be happening. > > newCopy.setP

RE: Size of zip file

2005-10-19 Thread Bill Rich
No "cat" was not one of the utils I remember for this job. All they did was divide a zip file into parts as close to the specified max as possible and put them back together. IIRC the individual parts were not usable on their own. It was merely a way to package the file so it would fit on removeabl

Re: Need Help Extending Copy Task

2005-10-19 Thread Steve Loughran
Stephen Nesbitt wrote: 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 pa

RE: build successfull but apply did nothing

2005-10-19 Thread Yves Willems
Thanks for the quick response. The command executes OK when I run on command line. When using the -v option I get the following: Apache Ant version 1.6.5 compiled on June 2 2005 Buildfile: build.xml Detected Java version: 1.4 in: /usr/java/j2sdk1.4.2_09/jre Detected OS: Linux parsing buildfile