AW: Attempting to split the same package into two jars

2005-02-02 Thread Jan . Materne
> Currently I am building a project which has the following elements: > > com.foo.sbo.* > com.foo.tbo.* > com.foo.* > > I want to create two jar files one which has com.foo.sbo and > com.foo.tbo in > the same file and another which has the rest of com.foo* > excluding the sbo > and tbo. > > Be

cc-task: how to fix /F /Y flags of msdev .net compiler options in ant

2005-02-02 Thread Nemana, Satya V
I am trying to port current windows builds into ANT, by copying the MSDEV .NET solution file (.sln) contents into ANT's build.xml file, using ant-utils and cc-task packages, as downloaded from sourceforge.net I could fix some trivial flags like /D but I could not fix flags like /F /Y Following /D

Re: A dirset,path,fileset...anything that returns ${myPath}/**/ejb

2005-02-02 Thread Nat Gross
Matt Benson wrote: --- Nat Gross <[EMAIL PROTECTED]> wrote: I have tried various methods to achieve this simple task, to no avail. In different projects I have various number of dirs, but all have one branch with the last dir = 'ejb'. I might have ${srcRoot}/a/b/c/ejb or ${srcRoot}/a/ejb, etc,

Attempting to split the same package into two jars

2005-02-02 Thread damian . kelly
Hi, I am having a problem packaging up my JARs using ant. Currently I am building a project which has the following elements: com.foo.sbo.* com.foo.tbo.* com.foo.* I want to create two jar files one which has com.foo.sbo and com.foo.tbo in the same file and another which has the rest of com.foo*

Re: A dirset,path,fileset...anything that returns ${myPath}/**/ejb

2005-02-02 Thread Matt Benson
--- Nat Gross <[EMAIL PROTECTED]> wrote: > I have tried various methods to achieve this simple > task, to no avail. > In different projects I have various number of dirs, > but all have one > branch with the last dir = 'ejb'. > I might have ${srcRoot}/a/b/c/ejb or > ${srcRoot}/a/ejb, etc, > I wan

A dirset,path,fileset...anything that returns ${myPath}/**/ejb

2005-02-02 Thread Nat Gross
I have tried various methods to achieve this simple task, to no avail. In different projects I have various number of dirs, but all have one branch with the last dir = 'ejb'. I might have ${srcRoot}/a/b/c/ejb or ${srcRoot}/a/ejb, etc, I want a refid that returns that complete path to stuff into a

Re: Ant: pathelement relative?

2005-02-02 Thread Douglas Kramer
> Figured it out from the code. You must use the > location attribute rather than the path attribute with > absolute paths. > > -Matt Sorry, I'm so clumsy. I actually have been using location all along, but typed it wrong in the emails (trying to save a copy-and-paste step). I've been using:

Re: Ant: pathelement relative?

2005-02-02 Thread Douglas Kramer
Thanks, Matt. It does exists: % ls -l /Users/programs/jdk1.5.0/lib/tools.jar -rw-r--r-- 1 dkramer nomad6772816 Dec 18 17:26 /Users/programs/jdk1.5.0/lib/tools.jar Three other things - I'm running this ant script from within NetBeans (as a freeform script). I don't know if NetBeans wou

Re: Ant task scp or sftp

2005-02-02 Thread Nicolas Vervelle
From: "Stefan Bodewig" <[EMAIL PROTECTED]> > On Sun, 30 Jan 2005, Nicolas Vervelle <[EMAIL PROTECTED]> > wrote: > > > Is there a way to upload only newer files ? > > Use a selector. Thanks, works great :) - To unsubscribe, e

Re: Ant: pathelement relative?

2005-02-02 Thread Matt Benson
--- Douglas Kramer <[EMAIL PROTECTED]> wrote: > SunOS (Solaris 9 on SPARC) > >% uname -a >SunOS dooghome 5.9 Generic_112233-12 sun4u sparc > SUNW,Sun-Blade-100 > > Follow-up question -- how do I provide an absolute > path Figured it out from the code. You must use the location attribu

Re: Ant: pathelement relative?

2005-02-02 Thread Douglas Kramer
SunOS (Solaris 9 on SPARC) % uname -a SunOS dooghome 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Blade-100 Follow-up question -- how do I provide an absolute path -Doug Matt Benson wrote: what OS are you running on? -Matt --- Douglas Kramer <[EMAIL PROTECTED]> wrote: Does pathelement take only

Re: Ant: pathelement relative?

2005-02-02 Thread Matt Benson
--- Douglas Kramer <[EMAIL PROTECTED]> wrote: > SunOS (Solaris 9 on SPARC) > >% uname -a >SunOS dooghome 5.9 Generic_112233-12 sun4u sparc > SUNW,Sun-Blade-100 > > Follow-up question -- how do I provide an absolute > path Assuming that /Users/programs/jdk1.5.0/lib/tools.jar exists, you

Re: RFE: Ability to specify compression level for task

2005-02-02 Thread Matt Benson
--- Gili <[EMAIL PROTECTED]> wrote: > > The user gets to specify a compression level from 0 > to 9 and > this maps to JarOutputStream.setLevel() which also > takes input from 0 > to 9. Currently there is no way to modify the > compression level. There is already an open RFE: http://issues

Re: Ant: pathelement relative?

2005-02-02 Thread Matt Benson
what OS are you running on? -Matt --- Douglas Kramer <[EMAIL PROTECTED]> wrote: > Does pathelement take only a relative path? > > This page: > http://ant.apache.org/manual/using.html#projects > says: > > > > > > >The location attribute specifies a single file

Ant: pathelement relative?

2005-02-02 Thread Douglas Kramer
Does pathelement take only a relative path? This page: http://ant.apache.org/manual/using.html#projects says: The location attribute specifies a single file or directory relative to the project's base directory (or an absolute filename), I assume "absolute filename" me

RFE: Ability to specify compression level for task

2005-02-02 Thread Gili
The user gets to specify a compression level from 0 to 9 and this maps to JarOutputStream.setLevel() which also takes input from 0 to 9. Currently there is no way to modify the compression level. Gili - To unsubscribe,

Re: mail with priority high ?

2005-02-02 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Wed, 2 Feb 2005, Gilbert Rebhan > <[EMAIL PROTECTED]> > wrote: > > > is there a way to send a mail with high priority > > (the red flag in outlook) via task ? > > This works by setting an additional Header on the > mail. Unfortunately > doesn

Re: manipulating property strings

2005-02-02 Thread Matt Benson
--- michael sorens <[EMAIL PROTECTED]> wrote: > With the pointer to the , I was able to > rewrite the task to avoid a temp file. However, that > introduced a different problem. [SNIP] Instead of you can use (since Ant 1.6.2): HTH, Matt

Re: How to unzip files and set read-only mode ?

2005-02-02 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: [SNIP] > > The best thing you can do is something like > (os checks and so on)... In the case of chmod and attrib, either should do nothing if executed on the wrong platform, so you could just include them one after the other, perhaps with a comment

Re: Problems with Properties env (XP-SP2, ntvdm, ant 1.62)

2005-02-02 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > I get an error when I have the following line in my > build.xml: > > > > The error is a popup dialog with the message: > > C:\WINDOWS\system32\ntvdm.exe > Error while setting up environment for the > application. Choose 'Close' to terminate the > application. >

[ANN] Antigen - Ant Installer Generator 0.1-SNAPSHOT released

2005-02-02 Thread jdt
The antigen team is pleased to announce the Antigen - Ant Installer Generator 0.1-SNAPSHOT release! http://antigen.sourceforge.net Antigen is a tool and a java library for wrapping up Ant scripts in a GUI. You are, no doubt, familiar with the power of Ant for writing build scripts, deployment

Re: manipulating property strings

2005-02-02 Thread michael sorens
With the pointer to the , I was able to rewrite the task to avoid a temp file. However, that introduced a different problem. When I do this sequence (i.e. *with* a temp file): CASE 1: ... ... and there are NO errors (i.e. the filterchain that greps for error messages left errors.p

Re: How to unzip files and set read-only mode ?

2005-02-02 Thread Stefan Bodewig
On Wed, 02 Feb 2005, Yves Martin <[EMAIL PROTECTED]> wrote: > Of course, I would like that mechanism to be platform independant > (UNIX, Win32, ...) - so the chmod does not suit my needs. No way, sorry. The best thing you can do is something like > Does unzip

How to unzip files and set read-only mode ?

2005-02-02 Thread Yves Martin
Hello, I would like to be sure that the content of a zip cannot be changed after it has been unpacked. I would like to prevent some mistakes like: existing file modification, new file or new directory creation. Of course, I would like that mechanism to be platform independant (UNIX, Wi