Creating a manifest for a jar file

2008-12-16 Thread Chuck Holzwarth
tains: Manifest-Version: 1.0 Bundle-ClassPath: process_checkin.processCheckin.jar The jar section of the build is: Thank you, Chuck Holzwarth

Re: Depends="init" problem

2008-06-16 Thread Chuck Holzwarth
Try what I use: ... Thank you, Chuck Holzwarth (804) 403-3478 (home) (804) 305-4040 (cell) - Original Message From: Peter Reilly <[EMAIL PROTECTED]> To: Ant Users List Sent: Monday, June 16, 2008 7:49:42 AM Subject: Re: Depends="init" problem each creat

Re: How to assign a result of sqltask to variable

2008-05-07 Thread Chuck Holzwarth
pend=true. This generates a file with contents similar to "=value". I then use loadproperties to load the resulting file. Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Original Message From: Jeremy Weber <[EMAIL PROTECTED]> To: Ant Users Lis

Re: ANT and SQLPlus

2008-04-23 Thread Chuck Holzwarth
, depending on the program exec'd. I have had to use antforms to prompt for values for variables, create a bat file that includes the variables, execute the bat file and delete the bat file when I didn't want the information available as an artifact. Thank you, Chuck Holzwarth (804) 403-

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Chuck Holzwarth
Maybe I am missing something, but the simplest fix may be just to set an environment variable named COMPUTERNAME during login on the Unix/Linux system and it will be available to env. Sometimes things get more complicated than is necessary... Chuck Holzwarth - Original Message

Re: Creating a list of entries

2008-02-19 Thread Chuck Holzwarth
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 Thank you, Chuck Holzwarth (804) 403-3478

Re: Ant and Subversion

2008-01-31 Thread Chuck Holzwarth
le.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Be a better friend, newshoun

Re: nohup and Ant question

2008-01-25 Thread Chuck Holzwarth
nning the shell script directly on a unix shell, it works just fine, giving output # zach_starttest 88770099 Sending output to nohup.out Waiting for iMDM server to come up...sleep for 100 secs Sending output to nohup.out I like to know if there's a way in Ant to detect "Sending output t

Re: Overwrite Property at runtime

2008-01-24 Thread Chuck Holzwarth
MAIL PROTECTED] Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Looking for last minute shopping deals? Find them fast with Yahoo! Search.

Re: SSHExec Target

2008-01-24 Thread Chuck Holzwarth
d from solaris command prompt. but when executed from the build.xml, it doesn't call the command to connect through SSH. Please tell me what's going on and how can I correct it. Thanks Rishi Thank you, Chuck Holzwarth (804) 403-3478 (home) (540

Re: sshexec and outputproperty

2008-01-24 Thread Chuck Holzwarth
${a_dir} || mkdir -m 777 ${a_dir}; cd ${a_dir}; exit $?; " outputproperty="rc" trust="true"/> But I get [sshexec] Connecting to host1:22 Setting project property: rc -> [echo] inside /rt/sm/pacs sshexec_rc = Any help is appreciated on such an example or a workaround exampl

Re: Rexec task for bash command in ant script

2008-01-24 Thread Chuck Holzwarth
;/> Can I have a solution for this? Please let me know is it possible to run bash using rexec task of ant to remote machine. Thanks and Regards, Swati Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Never miss a thing. Make Yahoo your homepage.

Re: Halt Ant script question

2008-01-24 Thread Chuck Holzwarth
m to get my scrip to write the overall success/fail to a file. How would I do that because I have the script failing on the first task and I can't seem to get it to spitout a file because nothing runs after it fails. Chuck Holzwarth wrote: > > One issue is that you are running the

Re: Syncing very large directories

2008-01-24 Thread Chuck Holzwarth
d be faster because it wouldn't have to scan source dir at all.. -Antti- Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Never miss a thing. Make Yahoo your homepage.

Re: Halt Ant script question

2008-01-21 Thread Chuck Holzwarth
file based semaphore is often the best way to get status results since it is generally portable among operating systems. This can give you more granular information than just that an error has occurred. Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Original Message Fr

Re: Running a target under a different working dir

2008-01-11 Thread Chuck Holzwarth
Use the antcontrib var task to override the property temporarily. Remember to use it in a target where you use antcall to invoke it so it disappears after use. Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Original Message From: "Hannum, Daniel&quo

Re: inline property expansion not working as advertised

2008-01-11 Thread Chuck Holzwarth
You have to import the property file or declare the properties in the build file. Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Original Message From: Michael Pelz Sherman <[EMAIL PROTECTED]> To: Ant Users List Sent: Thursday, January 10, 2008 5:52

Re: an input for ant arg.

2008-01-10 Thread Chuck Holzwarth
: Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Original Message From: Chun Ji <[EMAIL PROTECTED]> To: Ant Users List Sent: Wednesday, January 9, 2008 5:00:06 PM Subject: an input for ant arg. Hi all, I

Re: How to capture [exec]

2008-01-09 Thread Chuck Holzwarth
] success [exec] Pinging host2 ... [exec] error: 11010 occurred [exec] LastExitCode: 0 [exec] error.count: 0 [exec] *Result: 1* How to I capture the 1 with Ant ? In Ant, I have failonerror="false" resultproperty="build_main.debug"> Thanks ** T

RE: environment attribute

2008-01-07 Thread Chuck Holzwarth
ol/projects/webnew-dec2007/netsoft/webnew $ uname -rsv SunOS 5.10 Generic_125100-10 [EMAIL PROTECTED] ~/cruisecontrol/projects/webnew-dec2007/netsoft/webnew $ echo $OSTYPE solaris2.10 Thanks, Barry -Original Message- From: Chuck Holzwarth [mailto:[EMAIL PROTECTED] Sent: Friday, January 04

Re: environment attribute

2008-01-04 Thread Chuck Holzwarth
erify that using echo $HOSTNAME in the same shell you run Ant from. Available env. vars varies by OS and shell usually. --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Tha

Re: target unable to find buildfile

2007-12-28 Thread Chuck Holzwarth
t, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: CVS task failure: cannot rename

2007-12-27 Thread Chuck Holzwarth
al commands, e-mail: [EMAIL PROTECTED] ----- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Looking for last minute shopping deals? Find them fast with Yahoo! Search.

Re: Duplicate target execution

2007-12-20 Thread Chuck Holzwarth
L PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Never miss a thing. Make Yahoo your homepage.

Re: AW: extended parallelism

2007-12-19 Thread Chuck Holzwarth
can be executed in parallel? As I mentioned earlier the only road-block at the moment to a totally transparent mechanism for supporting parallel execution is the dubious implicit dependencies that the documentation for the "depends" attribute makes reference to. (and the great many build

Re: AW: extended parallelism

2007-12-19 Thread Chuck Holzwarth
using a logger per thread Logger log = Logger.getLogger( targetName + "." + threadNumber ); Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: extended parallelism

2007-12-19 Thread Chuck Holzwarth
output (Unix equivalent of stdout) the user would not see the form. Klaus Malorny <[EMAIL PROTECTED]> wrote: Chuck Holzwarth wrote: > Perhaps the facility that spawns the targets could manage the screen/buffer > output. This would mean that some facility would have to exist similar to &

Re: extended parallelism

2007-12-18 Thread Chuck Holzwarth
outputs are allowed. How would antform be handled? Klaus Malorny <[EMAIL PROTECTED]> wrote: Chuck Holzwarth wrote: > [...] > > How do you propose to handle potential fatal/non fatal errors? If target a > exits due to an error, should there be an option to kill a or allow it to &

Re: extended parallelism

2007-12-18 Thread Chuck Holzwarth
occur in the dependent targets, e.g. if c depends on a, they can't be executed in parallel. Just an idea, feel free to ignore it ;-) Klaus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Svn add command with force

2007-12-14 Thread Chuck Holzwarth
compile. Thank you, Chuck Holzwarth - Original Message From: "Ghodgaonkar, Parag" <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Friday, December 14, 2007 4:19:11 PM Subject: Svn add command with force Hello everyone, I am relatively new to Ant and am trying to do an

Re: newbie question: variable scope

2007-12-11 Thread Chuck Holzwarth
same project. > > > > Peter > > > --------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Re: Ant task for auto gen. release.txt form src-files!

2007-12-07 Thread Chuck Holzwarth
Look at the concat task with the options. Thank you, Chuck Holzwarth - Original Message From: donus <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Friday, December 7, 2007 2:05:23 AM Subject: Ant task for auto gen. release.txt form src-files! Hi All, I've one ques

Re: Variables and zip file comments

2007-12-04 Thread Chuck Holzwarth
have the comment variable retain the carriage returns? Thank you, Chuck Holzwarth Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/

Re: Variables and zip file comments

2007-11-28 Thread Chuck Holzwarth
easier way to do this, but I have something workable. Thank you, Chuck Holzwarth (804) 403-3478 (home) (540) 335-3171 (cell) - Original Message From: David Weintraub <[EMAIL PROTECTED]> To: Ant Users List Sent: Tuesday, November 27, 2007 8:00:02 PM Subject: Re: Variables and zi

Variables and zip file comments

2007-11-27 Thread Chuck Holzwarth
provide an example of using the zip target to add the contents of a file to the zip file as a comment? Thank you, Chuck Holzwarth Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try