RE: Changing file permissions in Win32

2002-01-18 Thread Ma, Jian
There's a DOS command "attrib" which does exactly that. usage: attrib -R fileName (make the file writable) attrib +R fileName (make the file readonly) Jian"Chuck" Ma KMV LLC 1620 Montgomery St. Suite 140 San Francisco, CA 94111 415-352-1157(w) -Original Message- From: Erik Hatcher [

RE: Antwort: Re: compile error

2002-01-17 Thread Ma, Jian
why don't you try to compile the class it complains about using command line: javac yourClass.java If it still complains, it means that class has some problem. Most likely it implements an interface without providing implementation for all the declared methods or it extends from a super class b

RE: "Illegal character or entity reference syntax" error

2002-01-04 Thread Ma, Jian
5:03 PM To: 'Ant Users List' Subject: RE: "Illegal character or entity reference syntax" error I don't think the problem is with Ant. I think it's the XML parsing rules. You probably have to change all references to "&" to "&". Don -

RE: "Illegal character or entity reference syntax" error

2002-01-04 Thread Ma, Jian
Actually I just found out that it's the "&" causing the problem. It must be a special charater used internally by ant. How should I deal with it? Thank you. Jian"Chuck" Ma KMV LLC 1620 Montgomery St. Suite 140 San Francisco, CA 94111 415-352-1157(w) -O

"Illegal character or entity reference syntax" error

2002-01-04 Thread Ma, Jian
I'm trying to use task to run windows "net use" command. It worked fine when the password I used for net use is something like 'abcdef'. Once I have special charactors in it, such as '@', '|', '&', ant throws a "Illegal character or entity reference syntax" error. I also got the same error whe

RE: Freeware xml viewer?

2001-12-19 Thread Ma, Jian
There's a free xml editor from bea's web site. It may ask you to register though. Jian"Chuck" Ma KMV LLC 1620 Montgomery St. Suite 140 San Francisco, CA 94111 415-352-1157(w) -Original Message- From: Ribeiro, Glauber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 11:46

RE: How to run a target without ANTCALL?

2001-12-14 Thread Ma, Jian
You can use "if" in your dependents target. So that it won't be executed unless certain property is set. Only define that property when you need to execute that particular target. Here's an example: in build.xml do something here in ctrl.xml In the case of test1, i

RE: copying on files changed

2001-12-07 Thread Ma, Jian
mething. As an aside, are you doing this on a DOS, rather than NTFS file system? - Original Message - From: "Ma, Jian" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Friday, December 07, 2001 6:37 PM Subject: RE: copyin

RE: copying on files changed

2001-12-07 Thread Ma, Jian
my experience with copy is that if the destination file exists already, it doesn't do anything even if you've made changes to the src file(It could be I didn't set some attribute correctly). I used to solve this problem. You can define dependent relationship between src and target files. Whene

RE: Setting envrionment variables from within build.xml

2001-12-06 Thread Ma, Jian
there's a target called which does that. Jian"Chuck" Ma KMV LLC 1620 Montgomery St. Suite 140 San Francisco, CA 94111 415-352-1157(w) -Original Message- From: Ron Coutts [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 4:48 PM To: Ant Users List Subject: RE: Setting envri