Re: ant task output file differs in API from command line usage

2004-10-14 Thread Conor MacNeill
Kelly Davis wrote: Would you be able to offer any detailed instructions on accomplishing this. I have tried to redirect the output streams of a DefaultLogger to a file, but this still doesn't give the compile errors in the subproject. The best place to start is to look at Main.java to see where

Re: AW: build.xml in rhino1_6R1pre.zip

2004-10-14 Thread George Hester
OK thanks Peter and Jan. Actually I have seen that before. I didn't even think of it. -- George Hester __ "Peter Reilly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jan is right, > The rhino build system is a bit silly. > It has a build.xml in s

Re: ant task output file differs in API from command line usage

2004-10-14 Thread Kelly Davis
Would you be able to offer any detailed instructions on accomplishing this. I have tried to redirect the output streams of a DefaultLogger to a file, but this still doesn't give the compile errors in the subproject. Quoting Conor MacNeill <[EMAIL PROTECTED]>: > > > > Why am I not getting the c

Re: ant task output file differs in API from command line usage

2004-10-14 Thread Conor MacNeill
Why am I not getting the compile error in the output file when I run the build script using the API? because you have not redirected System.out and System.err. I have a blog entry with a bit of info on this - http://codefeed.com/blog/archives/68.html Conor --

ant task output file differs in API from command line usage

2004-10-14 Thread Kelly Davis
I have the following code which executes a build file: Project project = new Project(); project.init(); project.setUserProperty( "base.dir", new File( rootDir ).getAbsolutePath() ); project.setUserProperty( "ant.file", new File( new File( rootDir ), buildFile ).getAbsolutePath() ); project.

Re: setErrorPrintStream on DefaultLogger not working

2004-10-14 Thread Pascal_Lafond
This solution may not be what you are looking for but I used a kornshell to capture ant output. The kornshell sets up the logging to a file and sends me an email. This will only work on a Unix/Linux system. I know Ant provides other methods but after consideration I decided on this. Here is samp

Re: Ant build script using sosget

2004-10-14 Thread Laconia Data Systems
Gareth you can install CYGWIN available at http://www.cygwin.com and mount a cygwin drive e.g. cygdrive/c/ Martin- - Original Message - From: "Gareth Kelly" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Thursday, October 14, 2004 12:58 PM Subject: RE: Ant build script

Re: setErrorPrintStream on DefaultLogger not working

2004-10-14 Thread Laconia Data Systems
Kelly I would strongly recommend implementing log4j to enable logging capabilities for your application To quote "The target of the log output can be a file, an OutputStream, a java.io.Writer, a remote log4j server, a remote Unix Syslog daemon, or even a NT Event logger among many other output targ

RE: Ant build script using sosget

2004-10-14 Thread Gareth Kelly
One quick question: this is from the exmplae page: Can vssserverpath be an ip address, path? If this is running on Solaris, how can it find the ini file? Gareth -Original Message- From: Gareth Kelly [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 15:46 To: 'Ant Users List' Subject: R

Re: setErrorPrintStream on DefaultLogger not working

2004-10-14 Thread Kelly Davis
perhaps I should re-state the question a little bit. The problem that I am trying to solve is to be able to get compile errors to a log file. When I run a build script using the ant task, and set output= to a file, and the build script has compile errors, these errors do not show up in the file

RE: Ant build script using sosget

2004-10-14 Thread Gareth Kelly
Thanks for your help. Added it to my PATH on my Windows Environment, and it works (from windows to windows)! Now I presume I need to install the Source Office Client onto Solaris, add soscmd to my Solaris path, and try Solaris to windows. Might be on to you again shortly ;-) Thanks again guys. ---

RE: Ant build script using sosget

2004-10-14 Thread RADEMAKERS Tanguy
Gareth, Just a guess, but it looks like you haven't added soscmd to your PATH. Regs, /t >-Original Message- >From: Gareth Kelly [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 4:30 PM >To: '[EMAIL PROTECTED]' >Subject: Ant build script using sosget > >I am trying to connect

RE: Ant build script using sosget

2004-10-14 Thread Mark Lybarger
my guess is that soscmd is not in the path. > -Original Message- > From: Gareth Kelly [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 14, 2004 10:30 AM > To: '[EMAIL PROTECTED]' > Subject: Ant build script using sosget > > > I am trying to connect to VSS from Solaris. I have installe

Ant build script using sosget

2004-10-14 Thread Gareth Kelly
I am trying to connect to VSS from Solaris. I have installed Sourcegears Source Offsite server, listening on a tcp port. Apparently I should be able to use the SOS optional tasks: http://ant.apache.org/manual/OptionalTasks/sos.html but am g

AW: parsing ant build scripts from unusual sources

2004-10-14 Thread Jan . Materne
> The problem lies in the fact that so much revolves around the build > file's > basedir, which can only be a File in Ant as of today. Even importing a > build file from a URL or resources didn't reach consensus, > for the same > reasons. It seems that Ant is pretty much strictly file based > for

RE: parsing ant build scripts from unusual sources

2004-10-14 Thread Dominique Devienne
> From: Robert Dockins [mailto:[EMAIL PROTECTED] > > I'm interested in using Ant as part of a larger application, mostly to > do file transformations and various kinds of validation. What I'd like > to do is store ant build files in a database, retrieve and parse them > and then run the resulting

parsing ant build scripts from unusual sources

2004-10-14 Thread Robert Dockins
I'm interested in using Ant as part of a larger application, mostly to do file transformations and various kinds of validation. What I'd like to do is store ant build files in a database, retrieve and parse them and then run the resulting project to do the actions. I've been able to start Ant f

Re: Zip task doesn't create empty directories on Mac OSX

2004-10-14 Thread Kelly Davis
Antoine Yeah, your right. I am using 1.6.2 on the mac and 1.6.1 on linux. I should have included the versions in the post. thanks for the info. Kelly Antoine Levy-Lambert wrote: Hello, In ant 1.6.2, there is a bug [1] preventing empty directories from being zipped. This bug is fixed in CVS on the

RE: [Cruisecontrol-user] Preserving case

2004-10-14 Thread Barnes, Michael
Thanks for the reply. Your diagnosis turned out to be correct. And yes, I am doing the build on a Windows machine (unfortunately :( ) After removing the offending file manually, the new file was picked up and everything now works fine. Again thanks for everyones help Mike -Original Message--

Re: CopyStreamException on FTP task

2004-10-14 Thread Laconia Data Systems
Rob Can you mkdir (create s directory) with those apps with that same username/password? Best, Martin- - Original Message - From: "Robert Koberg" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 14, 2004 6:01 AM Subject: Re: CopyStreamException on FTP tas

RE: CopyStreamException on FTP task

2004-10-14 Thread Vinay Vijayan
Hi Robert, If possible, can you try same thing i,e transfer files to a another server(machine with ftp service enable) . That way it would confirm whether the problem is with ant FTP task or the machine u r trying to connect. Vinay -Original Message- From: Ivan Ivanov [mailto:[EMAIL PR

Re: CopyStreamException on FTP task

2004-10-14 Thread Ivan Ivanov
Hello, Robert I did a quick google for "CopyStreamException" and I found the following topic. http://java2.5341.com/msg/42499.html One of the answers (I do not know whether it has been the real reason) was: the exception was thrown because the target machine was out of disk space. HTH Ivan --- R

Re: CopyStreamException on FTP task

2004-10-14 Thread Robert Koberg
Vinay Vijayan wrote: Hi Robert, Try pinging the machine continuously and see whether there is any problem in connectivity. ping -t Just ping'd a couple hundred times and no problem with connectivity. Average time was around 83 ms. thanks, -Rob -Vinay -Original Message- From: Robert Kobe

RE: CopyStreamException on FTP task

2004-10-14 Thread Vinay Vijayan
Hi Robert, Try pinging the machine continuously and see whether there is any problem in connectivity. ping -t -Vinay -Original Message- From: Robert Koberg [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 3:31 PM To: Ant Users List Subject: Re: CopyStreamException on FTP ta

Re: CopyStreamException on FTP task

2004-10-14 Thread Robert Koberg
Laconia Data Systems wrote: Robert Looks like a file access permission problem It appears that the FPT user does *not* have mkdir or *create* capability Can you change the FTP user's access capabilities to create any/all files and folders? Hi and thanks, The only thing that would make me believe (F

Status of implementation

2004-10-14 Thread Johan Vromans CPWR
Hi all, Is there any progress on the proposal/patch? (E.g., http://www.mail-archive.com/[EMAIL PROTECTED]/msg14426.html) -- Johan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: MatchingTask (derivative) doesn't support nested fileset.

2004-10-14 Thread Jan . Materne
See http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/docs/manual/tutorial-tasks- filesets-properties.html?content-type=text%2Fplain#filesets Jan > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 14. Oktober 2004 09:40 > An: Ant Users List

Re: MatchingTask (derivative) doesn't support nested fileset.

2004-10-14 Thread Ivan Ivanov
Hi Donald, AFAIK, Matching task supports nested tag, not , so you should use your task like this: >type="junit" > appserver="${appserver}" > dbms="${dbms}" > opsys="${opsys}" > testtype="${testtype}" > relea

Re: MatchingTask (derivative) doesn't support nested fileset.

2004-10-14 Thread Stefan Bodewig
On Thu, 14 Oct 2004, Donald Strong <[EMAIL PROTECTED]> wrote: > I am writing a task that will include a fileset. > I extended MatchingTask thinking I would get FileSet > suport for free but Ant is barfing. MatchingTask predates FileSet and really is not the recommended way to write new tasks. Ma

MatchingTask (derivative) doesn't support nested fileset.

2004-10-14 Thread Donald Strong
I am writing a task that will include a fileset. I extended MatchingTask thinking I would get FileSet suport for free but Ant is barfing. I have also had trouble finding any examples of what to do to process the FileSet. Am I doing the right thing below? Any help appreciated. Regards Donald. --