RE: exec on devenv.exe does not output anything

2009-04-13 Thread Lucas Albers
Enable the devenv log output: http://msdn.microsoft.com/en-us/library/ms241272(VS.80).aspx Devenv.exe /log "C:\My Files\MyLog.txt" -Original Message- From: Benjamin Calvot [mailto:benjamin.cal...@cr2.com] Sent: Friday, March 27, 2009 5:39 AM To: user@ant.apache.org Subject: exec on deve

RE: fail task if subdirectories do not exist.

2009-04-12 Thread Lucas Albers
herwise, you can use: Regards, Matt --- On Fri, 4/10/09, Lucas Albers wrote: > From: Lucas Albers > Subject: RE: fail task if subdirectories do not exist. > To: "'Ant Users List'" > Date: Friday, April 10, 2009, 5:39 PM > This error occurs: > /tmp/build2.xm

RE: fail task if subdirectories do not exist.

2009-04-10 Thread Lucas Albers
f I do say so myself: Wrap that macrodef up and take it wherever you like! HTH, Matt --- On Thu, 4/9/09, Lucas Albers wrote: > From: Lucas Albers > Subject: fail task if subdirectories do not exist. > To: "'Ant Users List'" > Date: Thursday,

RE: fail task if subdirectories do not exist.

2009-04-10 Thread Lucas Albers
f I do say so myself: Wrap that macrodef up and take it wherever you like! HTH, Matt --- On Thu, 4/9/09, Lucas Albers wrote: > From: Lucas Albers > Subject: fail task if subdirectories do not exist. > To: "'Ant Users List'" > Date: Thursday,

fail task if subdirectories do not exist.

2009-04-09 Thread Lucas Albers
How can I a fail task for a directory resource count? I can see the syntax for failing if a file does not exists as part of a resource. I do not know the syntax to fail if a directory that is part of a resource does not exist: See sample code: Item 1:

RE: Catch compile error with trycatch

2009-02-10 Thread Lucas Albers
I use antelope. -Original Message- From: Furingstad [mailto:k...@furingst

RE: Simple solutions to sshexec nohup Ant?

2009-02-09 Thread Lucas Albers
I use plink via the exec task. Easy to setup; reliable. Works grand. -Original Message- From: Jan Lund [mailto:janne_l...@yahoo.com] Sent: Wednesday, February 04, 2009 5:33 AM To: user@ant.apache.org Subject: Simple solutions to sshexec nohup Ant? Hi all, I've Googled some for a soluti

RE: Can't find tools.jar when invoking ant programatically

2009-01-09 Thread Lucas Albers
You need to set your java variables, see if setting these variables solves your problems.. IF EXIST "C:\apache-ant-1.7.0" set ANT_HOME=C:\apache-ant-1.7.0 IF EXIST "C:\apache-ant-1.7.1" set ANT_HOME=C:\apache-ant-1.7.1 IF EXIST "c:\Program Files\Java\jdk1.6.0

RE: any way to do this with Ant?

2008-11-17 Thread Lucas Albers
Catch try task for ant: -

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

2008-10-22 Thread Lucas Albers
e that has metacharacter by escaping meta characters. Do you mean escape the meta-characters? Or do you want the actual characters to be contained in the property itself? On Wed, 22 Oct 2008, Lucas Albers wrote: > I would like to refer to a url link that has meta-characters in it. > &

create property value that has metacharacter by escaping meta characters.

2008-10-22 Thread Lucas Albers
I would like to refer to a url link that has meta-characters in it. How would I use CDATA or similar to comment out the meta-characters? This is an example of the property value I wish to use. What is the sample syntax to do this? I cannot find any sample syntax's to comment out meta

RE: Ant project on network

2008-10-21 Thread Lucas Albers
Copy to local disk before running with Robocopy /mir Or copy /y /z /z is the network restartable option. Or use the anty directory copy task. So you are still grabbing your source from the network share. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tues

RE: If else

2008-10-14 Thread Lucas Albers
I really like the ant-contrib tasks for this: os:${os.name} os.arch:${os.arch} os.version:${os.version} "windows_compile_dir:${windows_compile_dir}" "linux_compile_dir:${linux_compile_dir}" "checking for existence of directory

how to convert linefeeds using fixcrlf.

2008-09-18 Thread Lucas Albers
How do I convert line feeds to from unix to windows or windows to unix? 1.) This shows some example crlf http://jira.codehaus.org/browse/MPDIST-9 2.) Are these constants? What would they be? 3.) The first one converts from linux to windows or converts to linux?

verifying build success via target return codes or parsing build output logs.

2008-02-28 Thread Lucas Albers
1.)What return codes generate a build failure? a.) Assumption: Calling an execution target that return a non-zero result will fail the owning project? b.) Target call's that returned a error (2) and did not appear to fail the project. 2.) When compiling I have been validated the r