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
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
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 dir=thisDir
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 removeable
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.
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
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
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 redirect to
a
--- 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 in order:
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:
path id = JAVA_CLASS_PATH_REF_ID
pathelement
- Original Message -
From: Matt Benson [EMAIL PROTECTED]
To: Ant Users List user@ant.apache.org
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
--- 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 path.
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
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
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
A simple scriptdef 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
Or propertycopy/ 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
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
--- 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
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,
On Wed, 19 Oct 2005 12:31:18 -0700, Alexey N. Solofnenko wrote:
A simple scriptdef can do that.
Builtins can do it, too:
[echo] testfw.db.system = Solid
build.properties:
db.system=solid
# --- for Solid
testfw.solid.system=Solid
On Wed, 19 Oct 2005 12:59:47 -0700 (PDT), Matt Benson wrote:
This should just work, in a properties file,
according the the property 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
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
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?
loadproperties srcFile=product.attributes
filterchain
On Wed, 19 Oct 2005 15:34:48 -0600, sporty wrote:
^target name=dependencyRunTimeFalse unless=project.dependency.runtime
path id=project.classpath.runtime/
/target
That's when I ran into this error:
C:\development\eclipse 3.0\workspace\hibernate-3\common.xml:7: Reference ID
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
ant inheritall=false.
And btw, macrodef doesn't work in maven (here, at least).
--Original Message Text---
From: sporty
Date: Wed, 19 Oct 2005
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
27 matches
Mail list logo