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 [
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
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
-
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
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
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
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
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
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
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
10 matches
Mail list logo