AW: Re-installed Eclipse, now Ant won't run

2008-12-02 Thread Jan.Materne
>I just re-installed Eclipse 3.4 (Win XP) with Ant 1.7. >Something is wrong with my environment (I'm thinking) because >I'm not able to run even a simple build script, like the below. > > > > Hello all > > > >When I run this through the Ant perspective, the co

Re: replaceregexp

2008-12-02 Thread Stefan Bodewig
On 2008-12-02, Garrett Smith <[EMAIL PROTECTED]> wrote: > I want to use task replaceregexp to strip whitespace from selected jsp's. > The problem is that I want a FileList but replaceregexp only takes a FileSet. > Why does replaceregexp designed to not take a FileList? It is the other way aroun

Re: Zip files: elegant way of remapping directories while extracting?

2008-12-02 Thread Stefan Bodewig
On 2008-12-02, Brown, Carlton <[EMAIL PROTECTED]> wrote: >> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] >> On 2008-11-26, Brown, Carlton <[EMAIL PROTECTED]> wrote: >>> Here is my fantasy code that would accomplish the >> as elegantly >>> as the can be peformed in actuality: >>> >>> >>

Re: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Stefan Bodewig
On 2008-12-02, Francis Galiegue <[EMAIL PROTECTED]> wrote: > We use ant 1.6.5. > 1. ant-contrib > I find myself using ant-contrib extensively throughout the project for the > following tags: > Are there plans to include ant-contrib in ant itself? No. Please note that the ant-contrib project i

replaceregexp

2008-12-02 Thread Garrett Smith
I want to use task replaceregexp to strip whitespace from selected jsp's. The problem is that I want a FileList but replaceregexp only takes a FileSet. Why does replaceregexp designed to not take a FileList? Is there another element that does? Garrett ---

EasyAnt 0.4 beta 1 Release

2008-12-02 Thread Jean-Louis BOUDART
The EasyAnt project is pleased to announce its 0.4-beta-1 version. Easyant is a toolbox focusing on easing project build processes. It's based on Apache Ant and Apache Ivy, and allows for maximum flexibily, improved integration in existing build systems and provides conventions and guidelines. Th

Is this error due to a versioning issue?

2008-12-02 Thread dave.alvarado
Hi, I'm running Eclipse 3.4 (WinXP), Ant 1.7, JDK 1.5. When I run my build script, I get this error: Buildfile: C:\Temp\CedarPoint_Service\build-junit-test.xml check-junit: build-tests: [javac] Compiling 9 source files to C:\Temp\CedarPoint_Service\classes [copy] Copying 2 files to C:\

Re: ANT failing from command line

2008-12-02 Thread Patrick Waugh
I think he's on Windows, so no "which" command. Basically, your computer doesn't lie. You have a prior version of Ant in your path somewhere. What I would do is first change to the directory where you think you have installed the latest version of Ant. There, confirm when you do: c:\ >ant -ver

RE: ANT failing from command line

2008-12-02 Thread Barry Pape
If you run the command 'which ant' does it return the location of the 1.6.2 version that is being picked up? -Original Message- From: Ammar Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 8:44 AM To: Ant Users List Subject: RE: ANT failing from command line Thanks Mike f

Re: AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Francis Galiegue
Le mardi 02 décembre 2008, Knuplesch, Juergen a écrit : > > Hello, > [...] > > 2.You want ordered filesets not unordered filsets, but it should be the user > who defines the order! I sometimes had the same problem. The problem is, > that filsets do not guarantee any order. Well, I figured ou

AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Knuplesch, Juergen
Hello, 1.I use antcontrib also a lot! I agree, that it would be nice to add this to ANT. 2.You want ordered filesets not unordered filsets, but it should be the user who defines the order! I sometimes had the same problem. The problem is, that filsets do not guarantee any order. I think file

Re-installed Eclipse, now Ant won't run

2008-12-02 Thread dave.alvarado
I just re-installed Eclipse 3.4 (Win XP) with Ant 1.7. Something is wrong with my environment (I'm thinking) because I'm not able to run even a simple build script, like the below. Hello all When I run this through the Ant perspective, the console in

RE: Refactoring code in dependent projects

2008-12-02 Thread paul . newport
"What I did to solve the problem is: Setting the Eclipse Project dependencies (as without ivy) B -> A. Now you have the 'problem' that the projects are added twice (Ivy Managed Dependencies and Eclipse Project dependencies), but on the project Build Path you can adjust the order so that the wo

RE: Refactoring code in dependent projects

2008-12-02 Thread Andreas Schläpfer
What I did to solve the problem is: Setting the Eclipse Project dependencies (as without ivy) B -> A. Now you have the 'problem' that the projects are added twice (Ivy Managed Dependencies and Eclipse Project dependencies), but on the project Build Path you can adjust the order so that the works

Refactoring code in dependent projects

2008-12-02 Thread paul . newport
I have this scenario. Project A depends on Project B Before using Ivy I would have Project A and B in my Eclipse workspace, and A would have B as a project on the Build Path. This meant that if I refactored something in B (e.g. rename a service) it would update references to it in A. Now I a

Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-02 Thread Francis Galiegue
Hello list, I've been working with ant for three years now, and have implemented from scratch a build system that works fine. We use ant 1.6.5. However, I have found myself using "external" utilities more than once because of some limitations/unexpected behaviors, so I'd like to know what's coo

RE: Zip files: elegant way of remapping directories while extracting?

2008-12-02 Thread Brown, Carlton
> -Original Message- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2008 11:26 AM > To: user@ant.apache.org > Subject: Re: Zip files: elegant way of remapping directories > while extracting? > > On 2008-11-26, Brown, Carlton <[EMAIL PROTECTED]> wrote: >

Re: How to create remote directory without using ftp?

2008-12-02 Thread Raffaele
Unfortunately it doesn't work... I ddidn't used keyfile param because I don't knoww how using it and how generating keys... I tried with trust = true but nothing... I'm angry because scp works fine, and so I don't understand why sshexec should'nt work... Finally in my server I created a shared f

Ivy Errors on Retrieve

2008-12-02 Thread Tyler Kocheran
I'm kind of new to using Ivy, and I have been having problems doing somewhat simple tasks in Ivy. I'm trying to download Apache Mina from the default repository. My ivy.xml file looks as so: If I change the dependency to something else such as the "commons-lang" library,