AW: Calling Maven in Ant

2008-10-23 Thread Jan.Materne
The Maven tasks in Maven should make Ant to do some Maven stuff, so the way inverse. If the way works you could define a Makro for invoking with that signature. You could also use in that makro instead of . Jan >-Ursprüngliche Nachricht- >Von: David Weintraub [mailto:[EMAIL PROTECTE

Calling Maven in Ant

2008-10-23 Thread David Weintraub
Okay, without using the task, how do I call a Maven task from Ant? I have a pom.xml, so all I want to do is say something like: I looked over the Maven Ant tasks that are in Maven, and they look overly complex for what I want. They look like they define the whole dependency relationship that's

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread David Weintraub
Download http://www.apache.org/dist/ant/binaries/apache-ant-1.7.1-bin.tar.gz and try that. Your URL is to the Ant download page. This is an actual Ant download, and it contains the "ant" shell command. -- David Weintraub [EMAIL PROTECTED] On Thu, Oct 23, 2008 at 3:05 PM, don rhummy <[EMAIL PRO

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread Scot P. Floess
That's a great question - one I cannot explain. Which file did you download? On Thu, 23 Oct 2008, don rhummy wrote: I did and there were no shell files. Even when i ran the find command like you did. I just sent the screenshot so you could see that. This is nuts! What could possibly be doin

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread don rhummy
I did and there were no shell files. Even when i ran the find command like you did. I just sent the screenshot so you could see that. This is nuts! What could possibly be doing this? --- On Thu, 10/23/08, Scot P. Floess <[EMAIL PROTECTED]> wrote: > From: Scot P. Floess <[EMAIL PROTECTED]> > Su

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread Scot P. Floess
I can't explain what you are seeing via the screenshot. Can you download and manually unpack? On Thu, 23 Oct 2008, don rhummy wrote: Argh! I get none of those files. See the screenshot I attached! --- On Thu, 10/23/08, Scot P. Floess <[EMAIL PROTECTED]> wrote: From: Scot P. Floess <[EMAIL

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread don rhummy
Argh! I get none of those files. See the screenshot I attached! --- On Thu, 10/23/08, Scot P. Floess <[EMAIL PROTECTED]> wrote: > From: Scot P. Floess <[EMAIL PROTECTED]> > Subject: Re: Help! No Shell scripts for Linux in ant 1.7.1 Install! > To: "Ant Users List" , [EMAIL PROTECTED] > Date: Thur

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread Scot P. Floess
I just downloaded all the archives: zip, tar.bz and tar.gz The script ant is definitely there in all (note zip file unpacked in zip dir, tar.bz2 in bz dir and tar.gz in gz dir): find . -name ant | grep bin ./bz/apache-ant-1.7.1/bin/ant ./gz/apache-ant-1.7.1/bin/ant ./zip/apache-ant-1.7.1/bin

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread Matt Benson
Which archive did you download? I just downloaded the tar.gz and it contains the 'ant' file as expected. Did you verify the release as directed on the download page? It is possible that the copy of the file at the mirror from which you downloaded has been compromised in some way. -Matt --- don

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread don rhummy
The only files present in ANT_HOME/bin are: ant.bat ant.cmd antenv.cmd antRun.bat envset.cmd lcp.bat runrc.cmd That's it! I downloaded the file from: http://ant.apache.org/bindownload.cgi --- On Thu, 10/23/08, Matt Benson <[EMAIL PROTECTED]> wrote: > From: Matt Benson <[EMAIL PROTECTED]> > Sub

Re: Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread Matt Benson
Ron, The *nix shell script is simply called 'ant'; is that file not present in ANT_HOME/bin? -Matt --- don rhummy <[EMAIL PROTECTED]> wrote: > I'm trying to use ant 1.7.1 on Linux (OpenSUSE) but > when I extracted the bin.tar file, there were only > ".bat" and ".cmd" files. Where are the linux

Help! No Shell scripts for Linux in ant 1.7.1 Install!

2008-10-23 Thread don rhummy
I'm trying to use ant 1.7.1 on Linux (OpenSUSE) but when I extracted the bin.tar file, there were only ".bat" and ".cmd" files. Where are the linux shell scripts? How do I get this working with linux? - To unsubscribe,

New to Ivy question

2008-10-23 Thread rfkrocktk
I'm new to Ivy, as you've already gathered, and I'm very interested in how it can help me resolve my project's dependencies. I'm running a Spring + Hibernate setup on a J2EE server, and I need to know which libraries I'll need to get the whole thing going. I've already got an existing Hibernate se

Re: Is there a way to make the get task timezone aware?

2008-10-23 Thread Mark Salter
EJ Ciramella wrote: > If it's last time modified versus local time, depending on where you > are, couldn't local time be ahead of modified time? Indeed it could, especially using two different clocks that probably are not exactly synchronised. > > Is get sophisticated enough to know the differen

RE: Use cases of resolver force mode

2008-10-23 Thread Shawn Castrianni
I think I ran into this as well and I think that this suggestion would work nicely. --- Shawn Castrianni -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 10:46 AM To: [EMAIL PROTECTED] Subject: Use cases of resolver force mode I have a

Use cases of resolver force mode

2008-10-23 Thread Brown, Carlton
I have a filesystem resolver which should be forced in some chains, but not in others. If I understand correctly, the current design as of RC1 would require me to define a duplicate resolver and change the force attribute in order to accomplish this. Isn't it correct that force behavior is meani

Re: Is there a way to make the get task timezone aware?

2008-10-23 Thread Steve Loughran
Settle, William wrote: Thanks for the responses guys. Looks like I have some debugging to do. Neither one of you said it explicitly, but your responses imply that the task IS timezone aware if it is communicating with a server that supplies the information it needs in the response header. I

RE: Is there a way to make the get task timezone aware?

2008-10-23 Thread EJ Ciramella
If it's last time modified versus local time, depending on where you are, couldn't local time be ahead of modified time? Is get sophisticated enough to know the differences between timezones? Why not use rsync and rely on checksums versus timestamps? Rsync has the added bonus that if the file

RE: Is there a way to make the get task timezone aware?

2008-10-23 Thread Settle, William
Thanks for the responses guys. Looks like I have some debugging to do. Neither one of you said it explicitly, but your responses imply that the task IS timezone aware if it is communicating with a server that supplies the information it needs in the response header. If that's the case, then

Re: Is there a way to make the get task timezone aware?

2008-10-23 Thread Steve Loughran
Mark Salter wrote: Settle, William wrote: Is this an issue with the task, the apache server on the other side or something I have not configured on the client or server side? I did read in my google search that Apache does/did not return last modified information by default, but this might no

RE: create property value that has metacharacter by escaping meta characters.

2008-10-23 Thread Brian Agnew
Hi Lucas, You can do this using XMLTask e.g. load the property from a file and insert it. http://www.oopsconsultancy.com/software/xmltask Brian On Thu, October 23, 2008 13:41, Scot P. Floess wrote: > > You will need to use escape characters - for example: > - greater than character

RE: create property value that has metacharacter by escaping meta characters.

2008-10-23 Thread Scot P. Floess
You will need to use escape characters - for example: - greater than character = > - ampersand = & - quote = "e; So, something like http://cvsweb/cgi-bin/cvs/cvshistorycvsroot=blah&dsearch=rnt&dsearchsub=on&limit=1&; and so on... Basically, this is an XML document so you need to adhere to the

Re: Is there a way to make the get task timezone aware?

2008-10-23 Thread Mark Salter
Settle, William wrote: > Is this an issue with the task, the apache server on the other > side or something I have not configured on the client or server side? I did read in my google search that Apache does/did not return last modified information by default, but this might not be the case for y

Re: Can I rename a file when jarring it?

2008-10-23 Thread Hendrik Maryns
supareno schreef: > Hendrik , > > check out this: > http://ant.apache.org/manual/CoreTypes/mapper.html#identity-mapper > and this: > http://ant.apache.org/manual/CoreTasks/copy.html > "[...] > > *Copy a set of files to a directory, appending |.bak| to the file name > on the fly* > > > >