[NAnt-users] (no subject)

2012-06-08 Thread netvampire.tw
http://boomscones.com/wp-content/themes/headway-2013/mylove.php?beat138.bmp--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] How 2 ensure nant task target finish

2011-03-21 Thread netvampire.tw
dears,
    we have some concern about nant task or target finish their task or not. is 
it possible using copy task in the first and then execute move task cause 
failure.
ex. copy a large file from A to B folder and move from B folder to C folder 
become 0 size.
I use nant build my auotomate tasks.I am afraid that task casue some bad files 
because I/O or exception not display.May I make sure task successful by 
property 
output or return code?
Thanks for reply
Best regards,
Edwin


  

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] may I get nant exec task error message?

2011-02-10 Thread netvampire.tw
Dear Bob,
    Thank you for your help.I generated output today,but yesterday.I don't know 
why...I got there was no output file exception when I exec something 
wrong.btw,I 
could use now.Thanks.
Best regards,
Edwin


- 原始信件 
寄件者: Bob Archer 
收件者: netvampire.tw ; 
"nant-users@lists.sourceforge.net" 
寄件日期: 2011/2/11 (五) 1:52:00 AM
主 旨: RE: [NAnt-users] may I get nant exec task error message?

> I want to use  output="log.txt" failonerror="false"> if=${int::parse(errorcode)!=0}/>
> to get errocode if exit 0 or not,if not print out what happened in
> my logfile
> now I use to exec aaa.bat execute fail like there is no aaa.bat
> file, output
> log.txt would not generate
> I couldn't get build result in my email,I should go to server to
> see what
> happened.
> I also use nant contrib trycatch,but the catch exception message is
> from
> custom message
> I wonder to get detail message like parameters error or I use wrong
> batch/execute file just like .net try catch throw exception could
> throw
> exception.message or like console print out
> thanks

I'm trying my best to understand what you are saying. If you exec something and 
it outputs to standard out then it should going into your log.txt. You would 
have to read in log.txt to get that message into a property and/or the NAnt log.

Here is a simple build script:



    
    
    
        
            
        
        
        
    


Here is the bat file:

echo This is sent to standard out!
exit 1

When I run the script I get this output:

Buildfile: file:///C:/Users/rarch/Development/Amsi-v7.0.0/Build/text.build
Target framework: Microsoft .NET Framework 4.0

    [exec] C:\Users\rarch\Development\Amsi-v7.0.0\Build\text.build(4,3):
    [exec] External Program Failed: 
C:\Users\rarch\Development\Amsi-v7.0.0\Build\abc.bat (return code was 1)
    [echo] The stdout was: C:\Users\rarch\Development\Amsi-v7.0.0\Build>echo 
This is sent to standard out! This
to standard out!C:\Users\rarch\Development\Amsi-v7.0.0\Build>exit 1

BUILD FAILED - 1 non-fatal error(s), 0 warning(s)

C:\Users\rarch\Development\Amsi-v7.0.0\Build\text.build(10,4):
C:\Users\rarch\Development\Amsi-v7.0.0\Build>echo This is sent to standard out! 
This is sent to standard out!C:\
rch\Development\Amsi-v7.0.0\Build>exit 1

Total time: 0.1 seconds.

---

Of course, you can use the contents of "errormessage" to build an email or 
whatever. 


Many programs that you exec don't actually output to standard out but they can 
write out a log file. I use this quite a bit to parse the log file and look for 
the error message so I can insert it into the nant log. 


Hth,
BOb


  

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] may I get nant exec task error message?

2011-02-10 Thread netvampire.tw
I want to use 
to get errocode if exit 0 or not,if not print out what happened in my logfile
now I use to exec aaa.bat execute fail like there is no aaa.bat file, output 
log.txt would not generate
I couldn't get build result in my email,I should go to server to see what 
happened.
I also use nant contrib trycatch,but the catch exception message is from 
custom message
I wonder to get detail message like parameters error or I use wrong 
batch/execute file just like .net try catch throw exception could throw 
exception.message or like console print out
thanks



- 原始信件 
寄件者: Bob Archer 
收件者: netvampire.tw ; 
"nant-users@lists.sourceforge.net" 
寄件日期: 2011/2/10 (四) 11:26:50 PM
主 旨: RE: [NAnt-users] may I get nant exec task error message?

> I use nant exec task to auto build script for a while.I can get
> error code but I
> can't get error message in property.I want to record error message
> when it fail
> build.Is that possible without using xmllogger log everything then
> find errors
> Thanks for help

Can you clarify what you want the error from... the whole build task.. or a 
specific EXEC call?

BOb


  

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] may I get nant exec task error message?

2011-02-09 Thread netvampire.tw
I use nant exec task to auto build script for a while.I can get error code but 
I 
can't get error message in property.I want to record error message when it fail 
build.Is that possible without using xmllogger log everything then find errors
Thanks for help


  

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] nant exec robocopy in the same time stop

2011-01-06 Thread netvampire.tw
ignore this.I finally found not nant's problem.it's my fault.



- 原始信件 
寄件者: netvampire.tw 
收件者: nant-users@lists.sourceforge.net
寄件日期: 2011/1/6 (四) 5:26:53 PM
主 旨: nant exec robocopy in the same time stop

I use nant exec to exec robocopy and found it wouldn't process.
I use nant in buildserver to build project.if it can't process in the same time 
that would be a problem when we build more than one project.
Is there any workaround method to avoid this? Thanks


  

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] nant exec robocopy in the same time stop

2011-01-06 Thread netvampire.tw
I use nant exec to exec robocopy and found it wouldn't process.
I use nant in buildserver to build project.if it can't process in the same time 
that would be a problem when we build more than one project.
Is there any workaround method to avoid this? Thanks


  

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] how to use property in echo

2010-12-03 Thread netvampire.tw
I want to dynamic generate a nant file for nant task use. I use echo file to 
generate. But property change to value that I don't want.for example:


Re: [NAnt-users] nant copy sometimes fails

2010-02-04 Thread netvampire.tw
I download source files and compile them from version control system and zip 
them to IntstallShield source folder. that is a task of my auto build 
processes.if I run it again,it works fine then.btw,I had change use nant copy 
to nant exec task and run xcopy now...:(



- 原始信件 
寄件者: Bob Archer 
收件者: netvampire.tw ; 
"nant-users@lists.sourceforge.net" 
寄件日期: 2010/2/4 (四) 11:53:17 PM
主 旨: RE: [NAnt-users] nant copy sometimes fails

Does that Really matter? I can open a zip file on my PC and go home and forget 
to close it. That is the only think I can think of that would cause a copy to 
fail... unless there was some network issue, although it looks like the copy 
source and target is all on the same machine looking at your task.

BOb


> -Original Message-
> From: netvampire.tw [mailto:netvampire...@yahoo.com.tw]
> Sent: Thursday, February 04, 2010 10:46 AM
> To: Bob Archer; nant-users@lists.sourceforge.net
> Subject: Re: [NAnt-users] nant copy sometimes fails
> 
> no.it's an auto batch job in the midnight.
> zip some files and copy to some folders to backup.
> 
> 
> 
> - 原始信件 
> 寄件者: Bob Archer 
> 收件者: netvampire.tw ; "nant-
> us...@lists.sourceforge.net" 
> 寄件日期: 2010/2/4 (四) 10:45:38 PM
> 主 旨: RE: [NAnt-users] nant copy sometimes fails
> 
> > I use nant copy in my build files.There are sometimes copy fails.It
> > happends different time and different files.
> > I can't figure out why it happend and when it happed. each files about
> 200
> > MB and there are 20 files.
> > it always happend afeter some exec task.Is it cause by memory or .net gc
> ?
> >
> >  > overwrite="true">
> > 
> >  
> > 
> >
> >
> > Build Error: NAnt.Core.BuildException
> > Cannot copy 'D\sourcedir\Data14.zip' to 'D:\outpdir\Data14.zip'.
> > in D:\project\Build.xml line: 904 col: 5
> >at NAnt.Core.Tasks.CopyTask.DoFileOperations()
> 
> Is it possible someone has that .zip file opened?
> 
> BOb
> 
> ___
>  您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
>  http://messenger.yahoo.com.tw/ 


___ 
 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
 http://messenger.yahoo.com.tw/

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] nant copy sometimes fails

2010-02-04 Thread netvampire.tw
no.it's an auto batch job in the midnight.
zip some files and copy to some folders to backup.



- 原始信件 
寄件者: Bob Archer 
收件者: netvampire.tw ; 
"nant-users@lists.sourceforge.net" 
寄件日期: 2010/2/4 (四) 10:45:38 PM
主 旨: RE: [NAnt-users] nant copy sometimes fails

>     I use nant copy in my build files.There are sometimes copy fails.It
> happends different time and different files.
> I can't figure out why it happend and when it happed. each files about 200
> MB and there are 20 files.
> it always happend afeter some exec task.Is it cause by memory or .net gc ?
> 
>  overwrite="true">
> 
>  
> 
>    
> 
> Build Error: NAnt.Core.BuildException
> Cannot copy 'D\sourcedir\Data14.zip' to 'D:\outpdir\Data14.zip'.
> in D:\project\Build.xml line: 904 col: 5
>    at NAnt.Core.Tasks.CopyTask.DoFileOperations()

Is it possible someone has that .zip file opened?

BOb

___ 
 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
 http://messenger.yahoo.com.tw/

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] nant copy sometimes fails

2010-02-03 Thread netvampire.tw
dears
    I use nant copy in my build files.There are sometimes copy fails.It 
happends different time and different files.
I can't figure out why it happend and when it happed. each files about 200 MB 
and there are 20 files.
it always happend afeter some exec task.Is it cause by memory or .net gc ?
   


 

   

Build Error: NAnt.Core.BuildException
Cannot copy 'D\sourcedir\Data14.zip' to 'D:\outpdir\Data14.zip'.
in D:\project\Build.xml line: 904 col: 5
   at NAnt.Core.Tasks.CopyTask.DoFileOperations()
   at NAnt.Core.Tasks.CopyTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.TaskContainer.ExecuteChildTasks()
   at NAnt.Core.Tasks.IfTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
Build Error: NAnt.Core.BuildException
Nested build failed. Refer to build log for exact reason.
   at NAnt.Core.Tasks.NAntTask.RunBuild(FileInfo buildFile)
   at NAnt.Core.Tasks.NAntTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.TaskContainer.ExecuteChildTasks()
   at NAnt.Core.Tasks.IfTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

___ 
 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
 http://messenger.yahoo.com.tw/

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] fileset Function only work when file exists ?

2009-03-26 Thread netvampire.tw
finally I wrote C# script to verify fileset..thanks for help..





寄件者: "william_mar...@avon-insurance.co.uk" 
收件者: netvampire...@yahoo.com.tw; sures...@infinite.com
副 本: nant-users@lists.sourceforge.net
寄件日期: 2009/3/26(星期四) 下午4:16:48
主 旨: RE: [NAnt-users] fileset Function only work when file exists ?


There is a file::exist() function in NAnt that you could use.  May not be that 
elegant, but you could just create a target that calls this function on all the 
files you need to validate.  You could either hard code the file names to test 
for, or if they are already available (i.e. as the output of compile tasks) you 
may have the values in properties already.  Depending on the structure of your 
build script, you may be able to automatically enumerate the files to check, 
but given that at the moment I’m guessing you are hard coding the list into a 
FileSet, I presume you can just replace that with the list of file::exist calls.
 
Cheers,
 
Bill
 



From:netvampire.tw [mailto:netvampire...@yahoo.com.tw] 
Sent: 26 March 2009 02:35
To: Suresh D.
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] fileset Function only work when file exists ?
 
>As a foot note, why would you want to include files in a FileSet that don't 
>exist?
I  want use fileset to make sure my files define in fileset are all exists in 
my physical location before I packed them.
In the past weeks,I fail to packed all files to installshield because I lost 
some files.
I think I could check my files in fileset,isn't it?or is there any other way I 
can do that?
Best regards,
Edwin
 
  
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! - 馬上體驗! 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


IMPORTANT 
The information contained in this e-mail and any attachments is intended for 
the addressee only
and may contain legally privileged or confidential information. If you are not 
the intended
recipient you must not use, disclose, copy, distribute, alter, or take any 
action in reliance
on the information and Avon Insurance plc will not accept liability for any 
loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or 
representation as to its
accuracy or reliability. If you are not the addressee, please notify us 
immediately on 01789 202121*
and delete the material from your computer and destroy any copies.

Avon Insurance plc reserves the right to monitor and record incoming and 
outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system and 
ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a result 
of any virus being passed on.

Avon Insurance plc (No. 209606).
Registered in England.
Registered Office: Tiddington Road, Stratford-upon-Avon, Warwickshire CV37 7BJ.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of British 
Insurers.
For security and training purposes telephone calls may be recorded and 
monitored.


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing--
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] fileset Function only work when file exists ?

2009-03-25 Thread netvampire.tw
>As a foot note, why would you want to include files in a FileSet that don't 
>exist?
I  want use fileset to make sure my files define in fileset are all exists in 
my physical location before I packed them..
In the past weeks,I fail to packed all files to installshield because I lost 
some files.
I think I could check my files in fileset,isn't it?or is there any other way I 
can do that?
Best regards,
Edwin



  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing--
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] fileset Function only work when file exists ?

2009-03-25 Thread netvampire.tw

Dear all:
        I have problem use fileset::get-file-count Function.I had lots of 
fileset to verify if file exists.
I use below example to echo message.It only list that file exists...
and if I use fileset::get-file-count Function it counts only if physical disk 
exists file.
how could I list fileset exists but physical disk not exists?

   
    
    
   
   
   
    
 
    
 
 
    
   
    
.
Thanks a lot


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] copy task error handle

2009-03-18 Thread netvampire.tw

Dear 
        I have many copy tasks in my build file,it always success even when the 
file or directory not exists..
Is there anyway to handle fileset or directory when it not exists?
I know there are functions about file::exists and directory::exists, but how to 
vaildate in fileset?
if I copy all files in a directory use ** ,I can't validate it. I would like to 
handle is there any  file copy fail when task execute and report all copy task 
history.
Thank you ever so much
Best regards,
Edwin


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] how to reduce build file

2009-03-11 Thread netvampire.tw

Dear
   I have a lot of different copy tasks.many files include in fileset make 
my build file become large and not easy to maintain.May I include fileset file 
into my buildfile or separate task into other file?
best regards,
EdwinTai



  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] problem with property assignment

2008-12-14 Thread netvampire.tw
Hi.I had problems with property assignment.
1.I use 
to get version,but I need to use if condition to use default value "0.0.0" or 
not.
if I write 
it always report errors.property cannot be overwritten.
I have no idea how to assign default value to my property...
2.I would like to separate tasks into many build file and initial read 
configuration to properties in first build file then use that in other build 
file.is that possible? 
thanks for your help.


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] echo message encoding and string:contains problems

2008-12-04 Thread netvampire.tw
string:contains it works.Thanks~Gert~
is there any way to handle ascii file(which include Chinese) except to convert 
that first?


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] echo message encoding and string:contains problems

2008-12-04 Thread netvampire.tw
Dears:
        I had problems using echo message when my message is non unicode. and 
when I use string compare function.here is my snippet.

    
        
    

1.I can't get boolean is true even my source contains 'failed' if I get it from 
a file.
2.if I response echo message in console,I can't figure out my message when it 
is not English.
I found a way to display normally,just need to convert my test.txt to utf-8.
need your suggestions,thanks help.



  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] xmlpeek - Multiple nodes found with the XPath expression

2008-11-18 Thread netvampire.tw
Hi~I had wrote a script my buildfile and solved my problem.take a look at my 
solution and feedback to me.thanks~
please link to 
http://groups.google.com.tw/group/SCM_OnLine/web/nant-loop-xmlpeek-using-script


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] xmlpeek multinode and script parameters

2008-11-18 Thread netvampire.tw
Hi~I had wrote a script my buildfile and solved my problem.take a look at my 
solution and feedback to me.thanks~
please link to 
http://groups.google.com.tw/group/SCM_OnLine/web/nant-loop-xmlpeek-using-script


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] xmlpeek multinode and script parameters

2008-11-18 Thread netvampire.tw
Dear Mike:
        I had try to use xmllist,but I still have problems here.my xml as below.
when I use xmllist //list/dirset/revision,I got 2,3
when I use xmllist //list/dirset/basedir,I got 
d:\workspace\Edwin2\,d:\workspace\Edwin3\
then I want to use exec task and three properties




I only can use foreach once a property,isn't it?how can I combind three 
property together
and loop ? thanks for help.
 


 
   2
   d:\workspace\Edwin2\
   D:\release2
 
 
  3
   d:\workspace\Edwin3\
   D:\release3
 



  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] xmlpeek multinode and script parameter?

2008-11-15 Thread netvampire.tw
I have a XML see blow,I want to read the revision recuresively.I had read 
Archives history.I can use nodeindex and foreach to read.but in the history it 
must already know how many nodeindex are there in xml file.I write a script to 
count nodeindex.
I have problems
1.may I use dynamic xmlpeek recursively?
2.how can I use method parameter in the script? I need use scirpt with 
parameters with input filename and xpath
I don't know how to reply mail by subject.Thanks for help here.:)
xml


 
   2
   d:\workspace\Edwin2\
   D:\release2
 
 
  3
   d:\workspace\Edwin3\
   D:\release3
 

nant task using xmlpeek

 
  
   
   
  
 

nant task script

 
  
   

   
   

   
   

   
  
  
 



  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] Fw: copy task using file list?

2008-11-09 Thread netvampire.tw
I want to use a text file which include file list for copy job.Is there any way 
to use nant copy task read from a text file list and copy exclude using script 
task?



 
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! - 馬上體驗! 


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users