Re: p4 sync task, view with white spoaces

2006-06-12 Thread jacques couzteau
Great! That's quite obvious. Sometimes it's difficult to see the obvious though ;) Thank you jacques Am 13.06.2006 um 01:50 schrieb Antoine Levy-Lambert: Hello Jacques, try this : " is just the XML escape for ". Regards, Antoine jacques couzteau wrote: Hello list, I have a presumeab

Re: getLocation of imported target in Ant 1.6.2

2006-06-12 Thread Stefan Bodewig
On Mon, 12 Jun 2006, Jan Materne <[EMAIL PROTECTED]> wrote: >>I'll look into updating, but that can be a painfully long >>process, as it would require a long certification process. >> >>I don't mind writing a helper utility method that will do the >>needful for me. Can you point me to the source

p4 sync task, view with white spoaces

2006-06-12 Thread Jochen Hagenström
Hello list, I have a presumeably simple problem that I cannot solve right now: I want to sync a p4 view that has white spaces in the path, i.e.: I always get an error that shows that ant tried to sync "//project". How do I work around this problem? thanks Jochen

sharing dbConnection object between 2 custom tasks

2006-06-12 Thread Karl Jay Garcia
I was wondering if you can help me with my question, very much the same as from this thread: http://www.ant-tasks.com/msg/11730.html I wasn't sure how one would create the custom datatype that shares a dbConnection. I have not found any info on the web that describes this fully. For instan

Re: trouble with basedir (I think)

2006-06-12 Thread Ninju Bohra
Hey Christofer, I came across the same thing...my main build file (compile,test, jar) worked okay by itself but when it ran from the CC wrapper script (from a seperate directory), the java.home was not correct. Finally figured it out that the does not spawn a new JVM and so the java.home (a

Re: trouble with basedir (I think)

2006-06-12 Thread Christofer Jennings
Follow up; Looking further, I found that the foo/dto package does have a dependency to foo/util/Bar.java ... So that part does make sense too. But I still don't see the difference between running directly and using the wrapper. Still confused, boz On 6/12/06, Christofer Jennings <[EMAIL PROTEC

trouble with basedir (I think)

2006-06-12 Thread Christofer Jennings
I'm having trouble with basedir (I think). It all started with me trying to run a build.xml script from cruisecontrol (CC). CC uses wrapper scripts to run project builds. I've run the wrapper without CC and got the same results, so it's not CC. The wrapper build file looks like this...

Re: p4 sync task, view with white spoaces

2006-06-12 Thread Antoine Levy-Lambert
Hello Jacques, try this : " is just the XML escape for ". Regards, Antoine jacques couzteau wrote: > Hello list, > > I have a presumeably simple problem that I cannot solve right now: I > want to sync a p4 view that has white spaces in the path, i.e.: > > > I always get an error that shows

p4 sync task, view with white spoaces

2006-06-12 Thread jacques couzteau
Hello list, I have a presumeably simple problem that I cannot solve right now: I want to sync a p4 view that has white spaces in the path, i.e.: I always get an error that shows that ant tried to sync "//project". How do I work around this problem? thanks Jacques

Re: Re: Maven vs. Ant?

2006-06-12 Thread Antoine Levy-Lambert
Hi, I am interested by this thread, as the project I am working for might need a tool able to manage inter-project dependencies and a repository. Has anyone compared maven and ivy ? And what about dpml ? Regards, Antoine Original-Nachricht Datum: Mon, 12 Jun 2006 17:39:01 +0

Re: Maven vs. Ant?

2006-06-12 Thread Steve Loughran
EJ Ciramella wrote: Maven (2) works REALLY well with transitive dependencies (something ant doesn't). Agreed. Ivy and the maven2 tasks do this, though not so tightly integrated. So much is available right out of the box (keeping build files simple and easily maintained. Why would you want

RE: Maven vs. Ant?

2006-06-12 Thread EJ Ciramella
Maven (2) works REALLY well with transitive dependencies (something ant doesn't). So much is available right out of the box (keeping build files simple and easily maintained. Why would you want an additional archive server? Why store things in your scm tool that won't be versioned? Since all th

Re: AW: getLocation of imported target in Ant 1.6.2

2006-06-12 Thread Vishal Vishnoi
I just want to write a Ant utility method, which given a target will figure its location correctly. No change will be made to the ant implementation. --Vishal Steve Loughran wrote: Vishal Vishnoi wrote: I'll look into updating, but that can be a painfully long process, as it would require

Re: UNSUBSCRIBE ME PLEASE

2006-06-12 Thread Simon Chappell
I found on another mailing list the other day that when dealing with auto-mailers, that it was very important to ensure that my email was in text format. My email client was using HTML by default and that was confusing the mailer. Once I changed my email format to text, everything went smoothly.

Re: AW: getLocation of imported target in Ant 1.6.2

2006-06-12 Thread Steve Loughran
Vishal Vishnoi wrote: I'll look into updating, but that can be a painfully long process, as it would require a long certification process. So lets get this right. You dont want to requalify your build process so you just want to patch in the specific changes you want. But doesnt that force a

Re: Building a fileset from an arbitrary list (task)

2006-06-12 Thread Steve Loughran
Sommers, Elizabeth wrote: We are not using the maven2 tasks. The ultimate goal is to build 2 seperate paths, one which is scoped for testing and one which is scoped for the build. The build path will then be used to help build a war. Ok. I use the m2 tasks which are a bit clunky (ant suppor

RE: Building a fileset from an arbitrary list (task)

2006-06-12 Thread Sommers, Elizabeth
We are not using the maven2 tasks. The ultimate goal is to build 2 seperate paths, one which is scoped for testing and one which is scoped for the build. The build path will then be used to help build a war. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday,

AW: AW: getLocation of imported target in Ant 1.6.2

2006-06-12 Thread Jan.Materne
>I'll look into updating, but that can be a painfully long >process, as it would require a long certification process. > >I don't mind writing a helper utility method that will do the >needful for me. Can you point me to the source code where the >fix was made in 1.6.5 Where is the difference?

AW: AW: Why don't macrodef's have a description attribute?

2006-06-12 Thread Jan.Materne
Yes, not each possibility is described in an example But I have seen, that the description attribute is not mentioned in the manual [1]. Maybe forgotten, because each task has description [2] (we really need the automatically generation of the manual) Jan [1] http://svn.apache.org/re

Re: AW: getLocation of imported target in Ant 1.6.2

2006-06-12 Thread Vishal Vishnoi
I'll look into updating, but that can be a painfully long process, as it would require a long certification process. I don't mind writing a helper utility method that will do the needful for me. Can you point me to the source code where the fix was made in 1.6.5 I'm thing of one workaround, w

RE: [SPAM] - Re: Maven vs. Ant? - Email has different SMTP TO: and MIME TO: fields in the email addresses

2006-06-12 Thread Jeff A. Drost
Thanks - I am in the same boat. I think Maven could be useful, I played with Maven some, but I do not clearly see any advantages to using Maven. I am afraid it is my own ignorance or Ant bias - so I'm hoping someone can point out why Maven is good in X & Y areas. Hopefully comparing Ant versus M

Re: AW: Why don't macrodef's have a description attribute?

2006-06-12 Thread Scot P. Floess
Jan: Yes it does me too... I didn't try it before posting...I swear its getting easier to put my foot in my mouth each day ;) I was looking at the online docs and didn't see an example there that had description... I guess I ought to test before posting ;) [EMAIL PROTECTED] wrote: works f

AW: Why don't macrodef's have a description attribute?

2006-06-12 Thread Jan.Materne
works for me Jan >-Ursprüngliche Nachricht- >Von: Scot P. Floess [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 12. Juni 2006 13:57 >An: Ant Users List >Betreff: Re: Why don't macrodef's have a description attribute? > >Apparently, I am able to put a description on . So,

Re: Maven vs. Ant?

2006-06-12 Thread Scot P. Floess
Jeff: I don't know a whole lot about maven other than what people have told me. I've heard that whole argument regarding standard environment (directories, etc). However, to me that seems like a pointless argument... I am working on a build environment for my open source project...to allow

Maven vs. Ant?

2006-06-12 Thread Jeff A. Drost
For anyone who's used Maven, do you prefer Ant to Maven? Why or why not? What advantages does Maven have over Ant? Anyone use Maven in conjunction with Ant? I read that Maven has the advantage of standard build commands versus proprietary build commands (targets) created in Ant. Couldn't this

Re: Why don't macrodef's have a description attribute?

2006-06-12 Thread Scot P. Floess
Apparently, I am able to put a description on . So, this is no big deal now :) Scot P. Floess wrote: Just curious, but does anyone know why macrodef's do not have a description attribute? Targets certainly do, as do attribute/elements for macrodefs... -- Scot P. Floess 27 Lake Royale L

Why don't macrodef's have a description attribute?

2006-06-12 Thread Scot P. Floess
Just curious, but does anyone know why macrodef's do not have a description attribute? Targets certainly do, as do attribute/elements for macrodefs... -- Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/

Re: How to share a database connection between Tasks in ANT?

2006-06-12 Thread Steve Loughran
ashish shrivastava wrote: Can you elaborate have your tasks set the connection by setting a resource getProject().setResource("my.task.-secret-jdbc-resource",jdbcConnection); then let them fetch it later JDBCConnection conn=(JDBCConnection) getProject().getResource("my.task.-secret-jdbc-re

Re: UNSUBSCRIBE ME PLEASE

2006-06-12 Thread Steve Loughran
jason suplizio wrote: Yes, about 6 times now. From: Keith Hall <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: UNSUBSCRIBE ME PLEASE Date: Fri, 09 Jun 2006 16:21:01 +0100 jason suplizio wrote: have you tried To remove your address from the list, send a messag

Re: Building a fileset from an arbitrary list (task)

2006-06-12 Thread Steve Loughran
Sommers, Elizabeth wrote: Because we have a huge repository of jars and subversion info. Scanning it can take upwards of a minute or more. Instead we are building paths from a maven2 pom (a perfectly reasonable way of describing artifacts, even if we don't use maven). 1. Are you using the mav

Re: How to share a database connection between Tasks in ANT?

2006-06-12 Thread ashish shrivastava
Can you elaborate On 6/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Only some thoughts - datatypes support id/refid and are registered on the project http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/types/ http://svn.apache.org/repos/asf/ant/core/trunk/

AW: How to share a database connection between Tasks in ANT?

2006-06-12 Thread Jan.Materne
Only some thoughts - datatypes support id/refid and are registered on the project http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/types/ http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java Jan >-Ursprünglic

How to share a database connection between Tasks in ANT?

2006-06-12 Thread ashish shrivastava
I have a set of Tasks all requiring access to the very same class instance (a db connection in practice). How can I implement that with ANT? So far, I have tried to implement this behaviour via a TaskContainer but I can't get back the TaskContainer instance from a Task, and hence the reference to