Re: Unexpected behavior regarding relative paths in - bug?

2008-02-12 Thread Gilles Scokart
Look at IVY-387 [1] and the related issues (and vote for it if you want). [1] https://issues.apache.org/jira/browse/IVY-387 Gilles 2008/2/12, Brown, Carlton <[EMAIL PROTECTED]>: > > I think I may have found a bug, can someone confirm this behavior for > me: > > > > It seems that the functional

AW: Creating a list of entries

2008-02-12 Thread Jan.Materne
My first thought was: My second thought is: what do want to achieve? Can you post an example? Jan > -Ursprüngliche Nachricht- > Von: Z W [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. Februar 2008 07:48 > An: Ant Users List > Betreff: Creating a list of entries > > Hi > > I hav

Creating a list of entries

2008-02-12 Thread Z W
Hi I have a list of properties in a properties file. I like to write these property values into a file to be used as an input to a shell script using sshexec task. I like to know if there's way to achieve this using Ant. Any suggestions ? Thanks

Re: checksum task: how can you use hash in a separate directory

2008-02-12 Thread Martin Ficker
You could backup the directory with the checksums and later use a fileset with different selector to select those hash file that have changed. Example:

Re: Check process on remote host - Can Ant do that ?

2008-02-12 Thread Olivier Gies
Maybe you can implement a condition to be used with Ant's core task... Olivier Original Message Subject: Re: Check process on remote host - Can Ant do that ? From: Z W <[EMAIL PROTECTED]> To: Ant Users List Date: 06/02/2008 15:10 Thanks for responding. But how do I make a

Re: Ant Jstack overflow Question

2008-02-12 Thread Z W
David In each target I have sshexec that runs a shell script to check the presence of a process on a unix box. On Feb 12, 2008 6:52 PM, David Weintraub <[EMAIL PROTECTED]> wrote: > You have Target B call Target A which calls Target B again? > > What are you trying to do? > > On Feb 12, 2008 2:10

Re: Ant Jstack overflow Question

2008-02-12 Thread David Weintraub
You have Target B call Target A which calls Target B again? What are you trying to do? On Feb 12, 2008 2:10 AM, Z W <[EMAIL PROTECTED]> wrote: > Hi > > I have 2 targets namely A, B. > Target A calls target B. Inside target A has an if-then-else condition that > would stop calling target B if cond

Re: how to define task sshexec

2008-02-12 Thread Charbel BITAR
Hi, You don't have to redefine the sshexec task. You only need to add ant-jsch.jar and jsch-0.1.37.jar in your Ant classpath (-lib ...) as Steve said. Cheers -- Charbel On Feb 12, 2008 10:57 AM, Steve Loughran <[EMAIL PROTECTED]> wrote: > serdsch wrote: > > Hi Peter, > > > >> No quite non-exis

RE: Whichresource is URL-encoding spaces

2008-02-12 Thread Mike
Hi Charbel, env.properties.file.url is actually getting defined in my Ant script by the "whichresource" task. After that task completes, env.properties.file.url contains the value "C:\Documents%20and%20Settings\Mike". But I think the "available" task fails because of the "%20" space encoding (whi

Re: Maillogger Mail missing

2008-02-12 Thread Charbel BITAR
Hi, Use ant -diagnostics and ant -debug to check what the problem is... -- Charbel On Feb 12, 2008 8:24 AM, Knuplesch, Juergen <[EMAIL PROTECTED]> wrote: > Hello, > > In our network I use a lot of Ant-Files. I use the Maillogger and the > mail-Task. On one machine the mail task is working fin

Re: Whichresource is URL-encoding spaces

2008-02-12 Thread Charbel BITAR
Hi, Is that what are you trying to do ? HTH -- Charbel On Feb 12, 2008 4:27 AM, Mike <[EMAIL PROTECTED]> wrote: > Hi, I'm relatively new with Ant but have been picking up on it. I trying > to > figure out why this Ant script doesn't complete successfully: > > """ > > >

Re: checksum task: how can you use hash in a separate directory

2008-02-12 Thread Bill Milbratz
hi, a clarification: my subject line doesn't match the question. I originally had wondered about using 'todir' as a destination for the checksum files, but realized I had a more basic question. The body mutated; the subject did not. bill

Unexpected behavior regarding relative paths in - bug?

2008-02-12 Thread Brown, Carlton
I think I may have found a bug, can someone confirm this behavior for me: It seems that the functionality treats relative paths in an unexpected way. In the deliverpattern attribute, it appears that paths are resolved relative to the ${user.dir} system property. This is different from the u

checksum task: how can you use hash in a separate directory

2008-02-12 Thread Bill Milbratz
Hi, Can anyone comment on the best way to solve this problem with the checksum task: I'm looking for a means to do the following: a) take hash-snapshots of shipped files in a directory (e.g. src/jsp) b) later, check the files against the hashes c) ant indicates which files do not match the hash.

Re: Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread jonese
mm ok here's my diagnostic's output see anything which might cause it to not work for me? C:\working\healthinteractions.com>ant -diagnostics --- Ant diagnostics report --- Apache Ant version 1.7.0 compiled on December 13 2006 --- Implementation Ver

Re: Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread Scot P. Floess
This worked for me just fine... Here is my build.xml: Here is my sample file some.sql: USE [dacsdce] /** Object: Default [DF_formEnvironment_adminonly]Script Date: 01/29/2008 20:15:03 **/ IF EXISTS (SELECT * FROM sys.default_constraints WHERE object_id = OBJECT_ID(N'[dbo]

Rexec Task

2008-02-12 Thread Swati Gaikwad
Hello, I am using the rexec task of ant. This is the very useful task I found. I have a doubt: I want to run a shell script remotely using rexec task of ant. This shell script runs another process to the background. When I r

Re: Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread jonese
I used Regex Coach to debug the expression and it shows it working. HOWEVER when run my target using -debug i get the following sql-gen-schema-file: [replaceregexp] Replacing pattern '\[[a-zA-Z0-1]{1,}\]' with '[healthinteractionsbs]' in 'C:\working\healthinteractions.com\DB\MS SQL 2005\boomsocke

Re: Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread Scot P. Floess
Are you sure the reg ex is working? If not, nothing will be changed in the file... Can you send the sql file or some snippet of it? jonese wrote: I have a simple build file and i'm trying to change some text in a .SQL file. in my build file i have the following target I know the regex i

Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread jonese
I have a simple build file and i'm trying to change some text in a .SQL file. in my build file i have the following target I know the regex is good but every time i run it nothing happens to my .SQL file. am i missing something? Running ant 1.7.x on Windows XP Pro eric

Re: published module storage

2008-02-12 Thread Stephen Nesbitt
On Monday 11 February 2008 09:49:29 pm Shawn Castrianni wrote: > We have a debate going on about where to store our published modules. Some > say it should be on a filesystem so that we can delete older builds to > reclaim disk space since we should always be able to repeat a build from > the past

Re: Question about resolution error

2008-02-12 Thread Xavier Hanin
On Feb 12, 2008 5:00 PM, Brown, Carlton <[EMAIL PROTECTED]> wrote: > Seems like a strange place to put that setting... I would have assigned > it as an attribute of a URL resolver since different sites could > potentially use different credientials. Agreed, it's there for legacy reason, feel free

RE: Question about resolution error

2008-02-12 Thread Brown, Carlton
Seems like a strange place to put that setting... I would have assigned it as an attribute of a URL resolver since different sites could potentially use different credientials. But thank you for the advice, it works. -Original Message- From: Xavier Hanin [mailto:[EMAIL PROTECTED] Sent

Re: Question about resolution error

2008-02-12 Thread Xavier Hanin
HTTP Authentication configuration is done in the settings task: http://ant.apache.org/ivy/history/latest-milestone/use/settings.html Xavier On Feb 12, 2008 4:46 PM, Brown, Carlton <[EMAIL PROTECTED]> wrote: > A bit more information... looks like it's a 401 error (authentication). > The repositor

RE: Question about resolution error

2008-02-12 Thread Brown, Carlton
A bit more information... looks like it's a 401 error (authentication). The repository is challenging the client for a username/password. Does the URL resolver have attributes to specify a valid username/password? [ivy:resolve] m2-cached-http: no latest strategy defined: using default [ivy:resolv

Re: Fileset is acting differently URGENT!!!

2008-02-12 Thread Matt Benson
Ah... I did read this issue wrongly. Yes, DD's suggestion would be the only way to do this as builds up a map (whose order is not guaranteed) to do the copies. Using a separate copy operation for each fileset would work. In Ant 1.7, you might add each fileset to a and use that for your copy so

Question about resolution error

2008-02-12 Thread Brown, Carlton
Hi all, I'm getting a url resolver error on a URL that is known to be valid. This URL repository does not have ivy files, but it is a mirror of Maven central repository and therefore has all the Maven metadata.I tested its validity by cutting and pasting the "tried" URL below into a browse

Gilbert Jeiziner/AMBERG ist außer Haus bis / is out of office till 18. February 2008

2008-02-12 Thread gjeiziner
Ich werde ab 11.02.2008 nicht im Büro sein. Ich kehre zurück am 18.02.2008. Ihre Nachrict wird nicht weitergeleitet. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. Bei dringenden Fällen wenden Sie sich bitte an Michael Gassmann ([EMAIL PROTECTED]). Your message will not be forwarded.

RE: Contributing documentation

2008-02-12 Thread Gilles Scokart
It works for me. Try with http instead of https. Gilles > -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > Sent: mardi 12 février 2008 14:58 > To: [EMAIL PROTECTED] > Subject: Contributing documentation > > I tried to begin contributing to documentation by checking

Re: task won't run in cruise control but runs from windows command prompt...

2008-02-12 Thread Antti Luoma
Hi, Have you introduced ${existingExt.dir} in cruise control and passed that to ant correctly? for example: ... ... ... ... ... -- -Antti- 2008/2/5, Christopher Styles <[EMAIL PROTECTED]>: > > Hi, > > I know this isn't a Cruise Control list, b

Contributing documentation

2008-02-12 Thread Brown, Carlton
I tried to begin contributing to documentation by checking out the entire site as recommended: svn co https://svn.apache.org/repos/asf/ant/ivy/site ivy-site however I can't seem to reach svn.apache.org. Is that URL still correct, or am I having a problem with my own corporate firewall?

RE: Anyone used Archiva as repository for Ivy?

2008-02-12 Thread Brown, Carlton
Merci beaucoup! -Original Message- From: Gilles Scokart [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 7:11 AM To: [EMAIL PROTECTED] Subject: Re: Anyone used Archiva as repository for Ivy? I give it a try a few months ago, and it worked. You have to follow the archiva instal

RE: Remove entru from ZIP file using ANT

2008-02-12 Thread Vallon, Justin
Walter, Use a zipfileset as the source in a zip task. You can use includes/excludes to filter the files-to-copy: -Justin office 8-383-6725, 212-272-6725; cell 917-861-6042 -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent:

Re: Anyone used Archiva as repository for Ivy?

2008-02-12 Thread Gilles Scokart
I give it a try a few months ago, and it worked. You have to follow the archiva installation (that's the heavy part), and then configure your ivy settings correctly with something like this : http://my.local_archiva:8080/archiva/repository/internal/"/> Gilles 2008/2/5, Brown, Carlton <[EMAIL PR

RE: Remove entru from ZIP file using ANT

2008-02-12 Thread RADEMAKERS Tanguy
Hello Walter, Don't think there's a one-step way to do this via the update="true" attribute , but you could do it like this: 1. unzip archive into a temp folder 2. delete the archive 3. delete the file(s) you don't want from the temp folder 4. rezip the contents of the temp folder into a new zip.

Re: how to define task sshexec

2008-02-12 Thread Steve Loughran
serdsch wrote: Hi Peter, No quite non-existent: http://ant.apache.org/manual/OptionalTasks/sshexec.html Yeah, OK, there is this little bit of documentation from Ant which only tells you how to use the task from inside Ant. I wouldn't really expect more from Ant, but the documentation of jcraf

Re: Junit report giving out of memory error

2008-02-12 Thread Steve Loughran
Mevitha wrote: Hi, I am using WSAD 5.1 to run an ant script to run junit test cases. Everything is fine except when the junit report starts, I am getting the below error. unitTestReport: [mkdir] Created dir: D:\TempTesting\TestReports [junitreport] Using Xalan version: XSLT4J Java 2.6.5 Thi

Re: how to define task sshexec

2008-02-12 Thread serdsch
Hi Peter, > No quite non-existent: > http://ant.apache.org/manual/OptionalTasks/sshexec.html Yeah, OK, there is this little bit of documentation from Ant which only tells you how to use the task from inside Ant. I wouldn't really expect more from Ant, but the documentation of jcraft is really no

Re: how to define task sshexec

2008-02-12 Thread Peter Reilly
see http://ant.apache.org/faq.html#delegating-classloader for some background. After a lot of code, and some backward compatible problems, this issue has been solved for the optional task in ant 1.7.0 - but not for other optional tasks. For ant 1.7.1, code has been added to allow the optional