AW: Write to a new file

2008-10-15 Thread Jan.Materne
Have you tried it out? I think that should work. Not with writing the literals \n\r, but having the line breaks. I am not sure, but may setting would help. But if you want to create an ini file (as other configuration files) there is a better way: use templates and fill in the value while copyi

AW: copy directory

2008-10-15 Thread Jan.Materne
** is a deep copy. All nested directories are copied too. * copies all files in that directory. After a trailing slash is automatically a ** added. my/dir/*.txt --> copies my/dir/a.txt, my/dir/b.txt, ... my/**/*.txt --> copies all text files somewhere under 'my' my/** --> copies all fi

Re: svn tagging using Ant

2008-10-15 Thread Nan Null
The document for svn ant will tell you exactly how to do that. Give it a shot, and ask question later, specific exactly what problem you encounter. On Wed, Oct 15, 2008 at 12:55 AM, siba prasad <[EMAIL PROTECTED]> wrote: > > Hi , > > The requirement is as follows.I want to tag the code base.For w

Re: Strange behaviour of

2008-10-15 Thread Dominique Devienne
On Wed, Oct 15, 2008 at 1:47 PM, Dominique Devienne <[EMAIL PROTECTED]> wrote: > As Stephan mentions [...] Stefan, not Stephan. (sorry Stefan.) Time for coffee... > Although your paths are "usual" I meant "unusual" here of course. --DD ---

Re: Strange behaviour of

2008-10-15 Thread Dominique Devienne
On Tue, Oct 14, 2008 at 3:46 PM, andbin <[EMAIL PROTECTED]> wrote: > > > > > > FYI: use either file="${basedir}/..." or location="...", but using both, while OK, doesn't make much sense to me. The purpose of all location attributes is to resolve a relative path from ${basedir}, so

copy directory

2008-10-15 Thread Mohit Anchlia
Does below copy the files along with directory? What's the difference between ** and just *? Would first one copy along with directory and the second one only individual files? - To unsubscribe,

Publishing poms to an enterprise Ivy repo?

2008-10-15 Thread Partridge, Michael
I'm researching the possibility of using a single enterprise repo for Maven and Ivy dependencies. I've generated a pom for my module using the makepom task, but the publish task doesn't want to send it to my Ivy repo. Here is my publish task:

Common practices for lifecycle and promotion in Ivy

2008-10-15 Thread Brown, Carlton
I'm curious if anyone has any good practices for implementing a full module lifecycle in Ivy, including promoting an artifact from release candidate status to final status, and sharing artifacts across projects. I've read Mathias's document already and I'm wondering if anyone else has anything to a

Re: Write to a new file

2008-10-15 Thread Mohit Anchlia
This is like 'ini' file that's needed to configure one of our monitoring tool. Does escape sequences like \n \r work too? On Wed, Oct 15, 2008 at 8:34 AM, <[EMAIL PROTECTED]> wrote: > > > > > But the basic question is: what kind of file do you want to have? > > > Jan > >>-Ursprüngliche Nac

AW: Write to a new file

2008-10-15 Thread Jan.Materne
But the basic question is: what kind of file do you want to have? Jan >-Ursprüngliche Nachricht- >Von: Mohit Anchlia [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 15. Oktober 2008 17:31 >An: Ant Users List >Betreff: Write to a new file > >Is there a way in ant to create a new file

Write to a new file

2008-10-15 Thread Mohit Anchlia
Is there a way in ant to create a new file or write to existing file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
Actually in my pom file from where the ant script is called the following code is included: ant-contrib ant-contrib 20020829 Miro. Miroslav Nachev wrote: I put this but without success: Miro. Mirosl

Re: How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
I put this but without success: Miro. Miroslav Nachev wrote: How and where to put this taskdef? Why to use that? Miro. Gilles Scokart wrote: Try to add a taskdef. 2008/10/15 Miroslav Nachev <[EMAIL PROTECTED]>: Hi, I have one ant build file which is called from maven. In that

AW: Ivy classpath creation

2008-10-15 Thread Burkhardt Stefan (CI/TMP)
Hi, The ivy:cachepath points also to the cache and not to the lib directory. The option useOrigin makes no difference. I tried it with beta-2 and RC-1. I need something like "lib/commons-logging-1.0.4.jar:lib/spring-2.5.5.jar:lib/spring-test-2.5.5.jar" Am I missing something. Stefan

Re: How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
How and where to put this taskdef? Why to use that? Miro. Gilles Scokart wrote: Try to add a taskdef. 2008/10/15 Miroslav Nachev <[EMAIL PROTECTED]>: Hi, I have one ant build file which is called from maven. In that ant file I would like to do something only if some condition is false.

Re: How to create if condition task from maven

2008-10-15 Thread Gilles Scokart
Try to add a taskdef. 2008/10/15 Miroslav Nachev <[EMAIL PROTECTED]>: > Hi, > > I have one ant build file which is called from maven. In that ant file I > would like to do something only if some condition is false. In my current > case the condition is: > > > > > >

How to create if condition task from maven

2008-10-15 Thread Miroslav Nachev
Hi, I have one ant build file which is called from maven. In that ant file I would like to do something only if some condition is false. In my current case the condition is: dest="${ant.base.dir}"/> The problem is whe

Re: Ivy latest.integration

2008-10-15 Thread Adrian Woodhead
Using "latest.integration" will retrieve whatever Ivy decides is the latest version of an artifact. You can set this to be any specific version you have published if you so desire. For example, if you published version 1.1 of module "x" and then later published version 1.2, using "latest.integr

RE: Ivy latest.integration

2008-10-15 Thread msmith39
Can anyone help me out with my question below? Thanks in advance. -Michael _ From: Smith Michael (FVY9DST) Sent: Tuesday, October 14, 2008 11:43 AM To: [EMAIL PROTECTED] Subject: Ivy latest.integration Hello, I'm new to Ivy Publisher and it's current

Re: Clarification on buildnumber task

2008-10-15 Thread Gilles Scokart
It is not a post resolve task. The resolver used is the default one, or the one that should be used to find the asked module. 2008/10/14 Brown, Carlton <[EMAIL PROTECTED]>: > Hi all, > > We're looking at the ivy:buildnumber task to manage build numbers in the > local workspace. It is not clear f

Re: newbie: Instructions on hosting enterprise repository

2008-10-15 Thread Adrian Woodhead
Garry Smith wrote: That is good to hear. We currently have jars in our SVN that are organised in the same way you mention (by organisation/module/version). To move to the Ivy way of resolving dependencies it sounds like we just have to include the appropriate ivy metatdata for each existing

Re: AW: Ivy classpath creation

2008-10-15 Thread Adrian Woodhead
Like Maarten said, this looks like it was fixed in Ivy 2.0.0-RC1 so if you upgrade to that version and try again it should work. Burkhardt Stefan (CI/TMP) wrote: Hi Maartin, I am currently using apache-ivy-2.0.0-beta2. Stefan -Ursprüngliche Nachricht- Von: Maarten Coene [mailto:[EM

Re: newbie: Instructions on hosting enterprise repository

2008-10-15 Thread Garry Smith
Hi Adrian, Adrian Woodhead wrote: Garry Smith wrote: I want to set up an enterprise repository that the developers on my project can submit to using the publish ivy task, from their development machines. The 'repository machine' has apache 2 and also Subversion (behind apache 2) The in

Re: Ant 1.7.1 - concat function no longer returns an 'empty' file if no source resources are found...

2008-10-15 Thread Mark Salter
Stefan Bodewig wrote: > I forgot to add: please file a bugzilla issue for it. https://issues.apache.org/bugzilla/show_bug.cgi?id=46010 -- Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL