Re: SCP Task & umask

2007-08-30 Thread Atsuhiko Yamanaka
Hi, 2007/8/31, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]>: > The default umask is determined by the ssh server. I think it is set at > compile time. Same with $PATH. Your .bashrc is not read when you use > scp. You should see the same results when using scp on the command line. I have not t

Re: javac/javadoc with a common fileset for source files

2007-08-30 Thread Bruce Atherton
It is difficult to tell what you are trying to accomplish here. Are you trying to switch only directories, or do you also want file-level filtering? For directories, there is a slight impedance mismatch you need to deal with between the javac and the javadoc tasks. You can reuse sets of direct

Re: Problem with subant and genericantfile

2007-08-30 Thread Dominique Devienne
On 8/30/07, Colin Fleming <[EMAIL PROTECTED]> wrote: > Well, actually Ivy is creating a list of files that currently exist since > I'm currently following your second suggestion, having tiny build files in > each module that include the common one. I'd rather get rid of that since > people are show

Re: Problem with subant and genericantfile

2007-08-30 Thread Colin Fleming
Hi Dominique, Thanks for the prompt reply! Dominique Devienne-2 wrote: > > I'm surprised Ivy would build a file list of non-existent files, which > I surmise from you wanting to use genericantfile. > Dominique Devienne-2 wrote: > > Personally I prefer to have a tiny build file in all sub-p

Re: Problem with subant and genericantfile

2007-08-30 Thread Dominique Devienne
On 8/30/07, Colin Fleming <[EMAIL PROTECTED]> wrote: > I'm in the process of rewriting our build using Ivy, and I'm having a > problem with Subant. Ivy is usually used by calling the ivy:buildlist task > which returns a filelist of files sorted in dependency order. These are > normally build files,

Problem with subant and genericantfile

2007-08-30 Thread Colin Fleming
Hi all, I'm in the process of rewriting our build using Ivy, and I'm having a problem with Subant. Ivy is usually used by calling the ivy:buildlist task which returns a filelist of files sorted in dependency order. These are normally build files, so the idea is that you then use subant to call th

RE: SCP Task & umask

2007-08-30 Thread Anderson, Rob (Global Trade)
The default umask is determined by the ssh server. I think it is set at compile time. Same with $PATH. Your .bashrc is not read when you use scp. You should see the same results when using scp on the command line. -Rob Anderson > -Original Message- > From: Eric Jain [mailto:[EMAIL PROTECT

RE: copyng and renaming files

2007-08-30 Thread Anderson, Rob (Global Trade)
1) You have a binary version of ant-contrib that is compiled for a different version of java than you are using. 2) Send the relevant portion of your build file and the output. Explain what is happening, and what you expect to be happening. -Rob A > -Original Message- > From: Pomè Elis

Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype

2007-08-30 Thread Krzysztof Kucybała
Hi, I encountered this problem when trying to look at the log produced by ant during a continuous build (cc): Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype: http://myserver.net:8081/dashboard/build/download/artifacts/SPP_CPP_1_0/log20070830171818.xml/ant/log.xsl

SCP Task & umask

2007-08-30 Thread Eric Jain
According to http://ant.apache.org/manual/OptionalTasks/scp.html, "File permissions are not retained when files are copied; they end up with the default UMASK permissions instead". That would suite me just fine: I'm copying files from a Windows machine to a Linux machine, where I have `umask 00

R: R: global variables

2007-08-30 Thread Pomè Elisabetta
I had the suspect that I was trying to use ant out of the purpose. But I wrote a very big script without problem. Now I was trying to improve the script (for example if I jar the content of a directory the first time I enter in a foreach loop, maybe I would like not to jar the same directory, say,

Re: R: global variables

2007-08-30 Thread Dominique Devienne
On 8/30/07, Pomè Elisabetta <[EMAIL PROTECTED]> wrote: > Thank you, but I'm not sure I have understood. > If I have 3 target (target A with an antcall to target B and an antcall to > another target C) and I define a property in target B I can't see its value > in target C. So I thought that propert

R: global variables

2007-08-30 Thread Pomè Elisabetta
Thank you, but I'm not sure I have understood. If I have 3 target (target A with an antcall to target B and an antcall to another target C) and I define a property in target B I can't see its value in target C. So I thought that properties have the scope of the target in which they're defined. Am I

AW: global variables

2007-08-30 Thread Jan.Materne
Each property is global and immutable. ... unless you have a custom built Ant from HEAD (since Peters support for local variables) Jan >-Ursprüngliche Nachricht- >Von: Pomè Elisabetta [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 30. August 2007 15:58 >An: [EMAIL PROTECTED] Apach

global variables

2007-08-30 Thread Pomè Elisabetta
Hi all, is it possible in ant to have global variables? I need to set a variable inside a target (ant)called by a foreach cycle, in order to test wether the cycle have to end or not. How can I reach this purpose? Axioma S.p.A. www.axioma.it via De Vizzi 35/39 - 20092 Cinisello B.mo (MI) Tel. +39 0

javac/javadoc with a common fileset for source files

2007-08-30 Thread Rick Moynihan
Hi all, I'm just wondering if it's possible to have the javac & javadoc tasks share a common fileset. I have a series of builds with more than one source directory. I would ideally like a mechanism to specify the directories/files for both of these once and reuse that definition in both the

Accessing build script's prefix-to-namespace uri mappings from a task.

2007-08-30 Thread CJ
Hi, Hopefully someone can help me or point me in the right direction here. I have a custom Ant task which I want to use to invoke another command which isn't known at compilation time. It uses an approach very similar to Ant itself, in that it builds the command from RuntimeConfigurables/ Unknown

RE: refid still not behaving as expected in 1.7.0

2007-08-30 Thread George Czernuszka
Thanks Peter I'll try some code like this at some stage. > -Original Message- > From: Peter Reilly [mailto:[EMAIL PROTECTED] > Sent: 30 August 2007 11:43 > To: Ant Users List > Subject: Re: refid still not behaving as expected in 1.7.0 > > You can write your own isreference implement

RE: refid still not behaving as expected in 1.7.0

2007-08-30 Thread George Czernuszka
Does this mean that bug 36955 should be re-opened, or a new bug created? > -Original Message- > From: Peter Reilly [mailto:[EMAIL PROTECTED] > Sent: 30 August 2007 10:35 > To: Ant Users List > Subject: Re: refid still not behaving as expected in 1.7.0 > > The behavior as described in t

RE: Question about war file and excluding folder

2007-08-30 Thread Alec Fernandez
This might be obvious but you are missing the $ in {webroot}, unless that is a transcription error when drafting this mail, that could be your problem. -Alec -Original Message- From: Kalsi, Ramnish [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 5:16 AM To: Ant Users List; Ashi

Re: refid still not behaving as expected in 1.7.0

2007-08-30 Thread Peter Reilly
You can write your own isreference implementation - import org.apache.tools.ant.*; import org.apache.tools.ant.taskdefs.condition.Condition; public class IsItAReference extends ProjectComponent implements Condition { private String r; public void setRefId(

RE: refid still not behaving as expected in 1.7.0

2007-08-30 Thread George Czernuszka
Thanks, Peter. It's a shame 1.7.0 doesn't do what it is described as doing, as that sounds just what I need. Is there any way to do what I DO want to do, which is to check whether an id has been set? George > -Original Message- > From: Peter Reilly [mailto:[EMAIL PROTECTED] > Sent: 3

Re: refid still not behaving as expected in 1.7.0

2007-08-30 Thread Peter Reilly
The behavior as described in the WHATSNEW is what was initially was done. However this broke too many builds - with references to out-of-band ids. So the code was modified to store all the out-of-band ids and if the reference could not be found, to look up that and if found to use that reference an

RE: Question about war file and excluding folder

2007-08-30 Thread Kalsi, Ramnish
Try excludes="**/*.class, **/web.xml, **/Test*/*, **/Test*" Thanks -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: 29 August 2007 19:34 To: user@ant.apache.org Subject: Question about war file and excluding folder Hi I have a file strutcure as below WEB-INF-

Re: How to compile C++

2007-08-30 Thread Krzysztof Kucybała
I'll see about that. Thanks a lot. Best regards, Krzysztof Kevin Jackson wrote: Hi, http://ant-contrib.sourceforge.net/cc.html Does this help - it supports gcc so should be able to compile c++ Kev - To unsubscribe, e-mail:

Re: How to compile C++

2007-08-30 Thread Kevin Jackson
Hi, http://ant-contrib.sourceforge.net/cc.html Does this help - it supports gcc so should be able to compile c++ Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to compile C++

2007-08-30 Thread Krzysztof Kucybała
Hi, Just wanted to ask if anyone knows other way to compile c++ using ant, then by using task to invoke cc or any other compiler, or makefile. I didn't find any c++ specific tasks in ant or ant-contrib docs. I'll welcome any help. Best regards, Krzysztof ---