JavaRanch » Java Forums »
Java »
Java in General
| Author |
error: not a valid directory
|
sahar sa
Ranch Hand
Joined: Jul 06, 2009
Posts: 102
|
|
Dear friends
I had my project in one computer and know that i copy it to my laptop it throws me this error:
do you know what may cause this error? an how can i solve it?
thank you in advance,
sahar
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
I don't know if this might be the cause, but try to move your project to a directory without spaces in it.
|
[My Blog]
All roads lead to JavaRanch
|
 |
sahar sa
Ranch Hand
Joined: Jul 06, 2009
Posts: 102
|
|
Dear friend
Still the error is there, I wonder why it prints out the address of the directory which was on my previouse pc ? (previousley my program was on C:\Documents and Settings\student\Desktop\project incomplete\1-work On\BookTrading\BookTrading )
because the program is already in :C:\testTrading\BookTrading\BookTrading\
any suggestion?
thank you
sahar
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
The path must be hard-coded in build-impl.xml. Try to change it.
|
 |
sahar sa
Ranch Hand
Joined: Jul 06, 2009
Posts: 102
|
|
Dear
im sorry if it's a silly question but Im really new in this one.
the mentioned path address is not exist in build.xml file so I couldn't find where should I change! can you tell me which line I should change?
here is the content of built.xml
thank you so much!
sahar
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
The top line says "GENERATED FROM project.xml". Did you try to regenerate the files on your machine ?
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
Also, it seems that it gets a bunch of properties from external properties files : nbproject/project.properties, nbproject/private/private.properties. Check them.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
|
|
|
Not "beginning" question. Moving thread.
|
 |
 |
|
|
subject: error: not a valid directory
|
|
|
|