Re: Problem with startAnt()

2007-01-09 Thread trad-ex
Hi, Sungho org.apache.tools.ant.Main#startAnt calls System.exit(0) internally. So, the Java process was terminated, IMHO. You should use org.apache.tools.ant.Project#executeTarget( String ), or org.apache.tools.ant.Project#executeTargets( Vector ) Best Regards, trad-ex >Dear Ant User Gr

Re: Problem with script task and properties

2006-05-28 Thread trad-ex
ork,,, I try to do MSG_DEBUG, MSG_ERR, MSG_INFO, MSG_VERBOSE ... The output of console did display the same result.. Best Regards, trad-ex >trad-ex wrote: >> Hi Scot, >> Hi folks, >> >> Sorry for my late response & poor English. >> >> I try to organize the d

Re: Problem with script task and properties

2006-05-26 Thread trad-ex
be the Ant scripts using Script Task as much as possible (;_;) I hope you will have much free time this weekend, and you will have some interest on this ! :-) Best Regards, trad-ex >I've never used the task...so I really don't have an answer for >you... > >I do have a ques

Re: Problem with script task and properties

2006-05-26 Thread trad-ex
doc of Ant, I found that org.apache.tools.ant. Project#setProperty can overwrite the given property! My questions are: 1. Why couldn't the first script overwrite the value of property ? It's not because of immutability, IMHO. 2. What's wrong with my ( second ) script ? 3. Without us

Re: Problem with script task and properties

2006-05-18 Thread trad-ex
Hi Scot, Thanks a lot for your reply. Yes, I've already known that behavior of "Variable" Task. What I would like to know is the proper coding in Script Task by using Javascript. I wonder my conding doesn't make sense ? Best Regards, trad-ex >I think the idea here is t

Re: Problem with script task and properties

2006-05-18 Thread trad-ex
UCCESSFUL Total time: 0 seconds c:\> Why ? What's wrong with my description about "Variable" task ? Any comments will be very appreciated. Best Regards, trad-ex >Dick, Brian E. wrote: >> I have just a day to get this working. These are production machines, so >&

Re: "Variable" Macros Properties

2006-04-13 Thread trad-ex
Hi Fletcher, I recommend to use Ant-Contrib. See Variable Task, and If-Then task Regards, trad-ex >I would like to be able to take a macro parameter such as "devel" and >use this information to compute the actual path where the data is stored >(ex \\pca001\mypath). Unfortu

Re: AW: How to set the CR and/or LF code at property

2006-04-11 Thread trad-ex
Hi Jan Thanks a lot for your quick response ! ${line.separator} does work ! Best Regards, trad-ex >${line.separator} > >Jan > >>-Ursprüngliche Nachricht----- >>Von: trad-ex [mailto:[EMAIL PROTECTED] >>Gesendet: Mittwoch, 12. April 2006 08:04 >>An: user@

How to set the CR and/or LF code at property

2006-04-11 Thread trad-ex
Hi all, I'd like to set strings like below in one property: abc def ghi but my example doesn't work: \n also doesn't work. Do you know the proper grammer ? or please point the reference out ! Best regards, trad-ex -