AW: Ant and rpm_mode

2009-01-22 Thread Jan.Materne
Alternatives: - I would place AntContrib somewhere and use . - Use Ivy's for getting the the jar and setting up the classpath for - integrate using "-lib" option The last option could be done for all projects of a user if the user had a pre-file. Jan http://ant.apache.org/manual/install.ht

AW: worker property

2009-01-22 Thread Jan.Materne
>Are changes to worker property dynamically gets picked up by apache? >Is there a way to dynamically tell apache mod_jk to bring a node out >of service Are you sure this is an Ant related question? Maybe the mailinglists for httpd are better ... Jan -

RE: Gunzip error

2009-01-22 Thread Moore, Kent
Hardcode the gunzip src value as /users/build/main/release/AIX.tgz instead of using properties. If that works, a property value likely has a tab at the end of its definition. That makes the process look for "file " instead of "file" and would explain why ANT doesn't see the file when it is re

Re: AW: Call a target with parameter?

2009-01-22 Thread norken76
sorry, that is under entelope package, but ant-contrib also provide a similar one thanks Scot P. Floess-2 wrote: > > > Sorry just trying to understand the problem...and find a fix :) > > On Thu, 22 Jan 2009, Scot P. Floess wrote: > >> >> Right...gotcha... >> >> But...what library are you

worker property

2009-01-22 Thread Mohit Anchlia
Are changes to worker property dynamically gets picked up by apache? Is there a way to dynamically tell apache mod_jk to bring a node out of service - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands

Re: [ANNOUNCE] Ivy 2.0.0 released

2009-01-22 Thread Les Hazlewood
YAY!!! Congratulations on a fantastic job - and thanks for all the hard work! Cheers, Les On Thu, Jan 22, 2009 at 5:51 PM, Maarten Coene wrote: > The Ivy project is pleased to announce its 2.0.0 release. > This is the first non-beta release of Ivy under Apache. > > Ivy is a tool for managing (

Re: Ant and rpm_mode

2009-01-22 Thread Blaine Simpson
I'm sure that others will have differing opionions. What I say here is just mine. I've never seen a Linux distribution with Ant, Tomcat, etc. packaged in a convenient and scalable way. I install manually (i.e. without the package management software that I use for everything other than third par

Ant and rpm_mode

2009-01-22 Thread David Weintraub
My desktop machine is now a Fedora 10 machine, and I've been having a bit of an issue with installing ant-contrib.jar. Normally, you simply install the ant-contrib.jar inside the $ANT_HOME/lib, and everything is fine. However, that doesn't work on my machine unless I explicitly turn off rpm_mode.

[ANNOUNCE] Ivy 2.0.0 released

2009-01-22 Thread Maarten Coene
The Ivy project is pleased to announce its 2.0.0 release. This is the first non-beta release of Ivy under Apache. Ivy is a tool for managing (recording, tracking, resolving and reporting) project dependencies, characterized by flexibility, configurability, and tight integration with Apache Ant. K

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
Ew...when you ftp'd...did you do a binary transfer? On Thu, 22 Jan 2009, Faded-Maximus wrote: I'll try a smaller file tomorrow. The only difference I have thought of is the way I got the .tgz files on the account. I don't think this should make any difference, but off the account it works on

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
I'll try a smaller file tomorrow. The only difference I have thought of is the way I got the .tgz files on the account. I don't think this should make any difference, but off the account it works on, I believed I ftped the files from a windows machine, and for the build account I just moved a fil

Re: AW: Call a target with parameter?

2009-01-22 Thread Scot P. Floess
Sorry just trying to understand the problem...and find a fix :) On Thu, 22 Jan 2009, Scot P. Floess wrote: Right...gotcha... But...what library are you using for call? If it is available in Ant Contrib...what version? On Thu, 22 Jan 2009, norken76 wrote: I know that it works with and

Re: AW: Call a target with parameter?

2009-01-22 Thread Scot P. Floess
Right...gotcha... But...what library are you using for call? If it is available in Ant Contrib...what version? On Thu, 22 Jan 2009, norken76 wrote: I know that it works with and I mentioned that, but I want to use OR that do not create a new project like thanks Scot P. Floess-2 wr

Re: AW: Call a target with parameter?

2009-01-22 Thread norken76
I know that it works with and I mentioned that, but I want to use OR that do not create a new project like thanks Scot P. Floess-2 wrote: > > > Hold on...I just used your snippet... > > First...are you using antcall??? If not, I dont think ant contrib is > giving you unset nor call..

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
Wow... Try a smaller file...see what happens :) On Thu, 22 Jan 2009, Faded-Maximus wrote: Doesn't seem to like either .tgz or .tar.gz. The filesize is ~300MB. glenn opdycke-hansen wrote: Could there be an issue with the file name, especially the extension? (.tgz vs .tar.gz) Also, I hav

Re: AW: Call a target with parameter?

2009-01-22 Thread Scot P. Floess
Hold on...I just used your snippet... First...are you using antcall??? If not, I dont think ant contrib is giving you unset nor call...at least not the version I am using Anyway, it seems to have worked for me... Here is my output: [echo] current package : /home/sfloess/development/k

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
Doesn't seem to like either .tgz or .tar.gz. The filesize is ~300MB. glenn opdycke-hansen wrote: > > Could there be an issue with the file name, especially the extension? > (.tgz > vs .tar.gz) > > Also, I have noted that there is a problem with large archive files. > > --glenn > > On Thu, J

Re: Gunzip error

2009-01-22 Thread glenn opdycke-hansen
Could there be an issue with the file name, especially the extension? (.tgz vs .tar.gz) Also, I have noted that there is a problem with large archive files. --glenn On Thu, Jan 22, 2009 at 1:49 PM, Faded-Maximus wrote: > > After adding the ls -la command: > > tidy.ASE: > [echo] Cleaning the

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
No it doesn't reside on a network drive. Blaine Simpson wrote: > > Does /users/build/main/release reside on a network drive? If so, what > type of network drive? > > Faded-Maximus wrote: >> I really appreciate the help! >> >> Added the few lines you requested, it appears the GZ_EXISTS variabl

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
After adding the ls -la command: tidy.ASE: [echo] Cleaning the ASE folders... [echo] The ASE folders have been cleaned. unzip.ASE: [echo] Unzipping the ASE bundles... [echo] DEBUG (location of the .tgz) : /users/build/main/release/AIX.tgz [exec] -rw-rw-r-- 1 build build

Re: AW: Call a target with parameter?

2009-01-22 Thread norken76
NO. that doesn't work either, thanks Scot P. Floess-2 wrote: > > > Sorry type-o on my end... > > I am unfamiliar with - that's from ant contrib > > That is strange...the unset I mean not working... > > How about trying > > > > On Thu, 22 Jan 2009, norken76 wrote: > >> >> >> does

Re: Gunzip error

2009-01-22 Thread Blaine Simpson
Does /users/build/main/release reside on a network drive? If so, what type of network drive? Faded-Maximus wrote: > I really appreciate the help! > > Added the few lines you requested, it appears the GZ_EXISTS variable isn't > set, so apparently the gzipped file isn't "available." > > But I don't

Re: AW: Call a target with parameter?

2009-01-22 Thread Scot P. Floess
Sorry type-o on my end... I am unfamiliar with - that's from ant contrib That is strange...the unset I mean not working... How about trying On Thu, 22 Jan 2009, norken76 wrote: does not support 'unset' attribute, unset itself is to unset a variable. I have even tried : but still

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
That's wierd... What about before the gunzip call do this: I really appreciate the help! Added the few lines you requested, it appears the GZ_EXISTS variable isn't set, so apparently the gzipped file isn't "available." But I don't know why it's not available, it phys

Re: AW: Call a target with parameter?

2009-01-22 Thread norken76
does not support 'unset' attribute, unset itself is to unset a variable. I have even tried : but still no luck. it looks like the variable get's stuck somewhere only for the called target :) thanks Scot P. Floess-2 wrote: > > > How about, > > > > > > On Thu, 22 Jan 2009, norken76 wr

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
I really appreciate the help! Added the few lines you requested, it appears the GZ_EXISTS variable isn't set, so apparently the gzipped file isn't "available." But I don't know why it's not available, it physically is and the permissions seem to be okay.. Scot P. Floess-2 wrote: > > > OK...s

Re: AW: Call a target with parameter?

2009-01-22 Thread Scot P. Floess
How about, On Thu, 22 Jan 2009, norken76 wrote: sure here it is :

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
OK...so permissions not a problem - next ;) Hmm...interesting... What about prior to the gunzip call do this On Thu, 22 Jan 2009, Faded-Maximus wrote: doing ls -la on the gzip file, I have -rw-rw-r-- All the parent directors show the following permissions: drwxrwxr-x Sc

Re: AW: Call a target with parameter?

2009-01-22 Thread norken76
sure here it is :

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
doing ls -la on the gzip file, I have -rw-rw-r-- All the parent directors show the following permissions: drwxrwxr-x Scot P. Floess-2 wrote: > > > What about permissions on the parent dir where the tgz is located? > Meaning write permissions for the build user? > > "If dest is omitted, the p

Re: AW: Call a target with parameter?

2009-01-22 Thread Scot P. Floess
Can we see an example of your code? On Thu, 22 Jan 2009, norken76 wrote: yes, but as I mentioned, I need to use the ant-contrib 'calltarget' because I do not want to create a new project as is the case with 'antcall'. the reason is because I run the project remotly, so the file and the path a

Re: AW: Call a target with parameter?

2009-01-22 Thread norken76
yes, but as I mentioned, I need to use the ant-contrib 'calltarget' because I do not want to create a new project as is the case with 'antcall'. the reason is because I run the project remotly, so the file and the path are not available to create a new project. I've tried may things. no success.

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
What about permissions on the parent dir where the tgz is located? Meaning write permissions for the build user? "If dest is omitted, the parent dir of src is taken." Can you do an "ls -la" on both the gzip file? It does feel like read permissions are not allowed... Just wanting to make ex

Re: AW: Call a target with parameter?

2009-01-22 Thread Blaine Simpson
You don't need ant-contrib for this. Just use antcall with nested param elements. norken76 wrote: > Hi there, > Has anyone tried to pass in params to a called target via 'calltarget' of > antcontrib (without creating new project) OR maybe a different way to > achieve this goal (pass param to a ca

Re: AW: Call a target with parameter?

2009-01-22 Thread norken76
Hi there, Has anyone tried to pass in params to a called target via 'calltarget' of antcontrib (without creating new project) OR maybe a different way to achieve this goal (pass param to a called target without creating new project) I've tried using (set and unset after the target is called) but

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
It's not silly, sometimes things like that are indeed the problem. As for an answer, yes I am able to manually unzip it via the command line. Scot P. Floess-2 wrote: > > > OK - my silly question... > > From the command line can you manually gunzip it? > > On Thu, 22 Jan 2009, Faded-Maximus w

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
OK - my silly question... From the command line can you manually gunzip it? On Thu, 22 Jan 2009, Faded-Maximus wrote: Thanks for the reply. Yes, it has read and write permissions, so it's not a permissions mistake. Dale Anson wrote: Does you build user have permission to read the file?

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
Thanks for the reply. Yes, it has read and write permissions, so it's not a permissions mistake. Dale Anson wrote: > > Does you build user have permission to read the file? > > > On Thu, Jan 22, 2009 at 9:51 AM, Faded-Maximus > wrote: > >> >> I have been trying to figure this out for the las

Re: Gunzip error

2009-01-22 Thread Dale Anson
Does you build user have permission to read the file? On Thu, Jan 22, 2009 at 9:51 AM, Faded-Maximus wrote: > > I have been trying to figure this out for the last few hours to no avail. > > The code works fine on my one linux account and after editing a few > variables and using it on the build

Gunzip error

2009-01-22 Thread Faded-Maximus
I have been trying to figure this out for the last few hours to no avail. The code works fine on my one linux account and after editing a few variables and using it on the build account, I am receiving an error message. [install]$ ant build.ASE Buildfile: build.xml tidy.ASE: [echo] Cleanin

RE: Error in org.apache.ivy plugin MANIFEST?

2009-01-22 Thread Daffin, Miles (IDEAS PRACTICE AREAS)
Nicolas, I did not try renaming the file (which would also necessitate updating references in feature and plugin metadata). This I am sure would work. Like I said, I understand your reasons for using the timestamp, you just need to use the timestamp everywhere, consistently: in all file names;

Re: IvyDE doesn't pick up ivy.xml changes made outside of Eclipse

2009-01-22 Thread Kirby Files
CalvinJ wrote on 01/21/2009 08:13 PM: I'm guessing I've configured something wrong but when using Ivy 2.0.0rc2 and IvyDE 2.0.0beta1 in Eclipse 3.3, it works the first time you set it up on a project. But when you change any dependencies in ivy.xml outside of Eclipse, it never picks up the change.

Re: IvyDE doesn't pick up ivy.xml changes made outside of Eclipse

2009-01-22 Thread Nicolas Lalevée
On jeudi 22 janvier 2009 02:13:36 CalvinJ wrote: > I'm guessing I've configured something wrong but when using Ivy 2.0.0rc2 > and IvyDE 2.0.0beta1 > in Eclipse 3.3, it works the first time you set it up on a project. But > when you change any > dependencies in ivy.xml outside of Eclipse, it never p

Re: Error in org.apache.ivy plugin MANIFEST?

2009-01-22 Thread Nicolas Lalevée
On jeudi 22 janvier 2009 12:08:54 Daffin, Miles (IDEAS PRACTICE AREAS) wrote: > Nicolas, > > When I install Apache IvyDE and Apache Ivy features into eclipse 3.3 with > the old update manager I see a red X on the Apache Ivy feature in the > Product Configuration manager dialog (Help > Software Upda

Ant task to unzip to a dynamic folder

2009-01-22 Thread suresh inavolu
Hi, I have some zip files in a directory like A/test1.zip, A/test2.zip and so on. And I want to extract the contents into another folder B with subfolder same as the zip file name. So, for input A + - test1.zip + - test10.zip Output should be: B + - test1 + - - + - test2 + - - However this

Re: Using new Junit 4.1 with ANT

2009-01-22 Thread Steve Loughran
Shawn Castrianni wrote: How can I use the new JUnit 4.1 with ANT 1.7.X? If I put the new junit.jar on the classpath, everything seems to work until the very end when the unit test report is created. ANT tries to use the XSL stylesheets from ant-junit.jar which apparently is not compatible wi