Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to build successfully due to not finding $(sunspot).home/build.xml

807601Mar 8 2008 — edited Mar 17 2008
Hello all,

I am new to java and having problems. I am trying to use java sunspot emulator on my pc at home on vista business (64bit) so that I do not have to use it at my university. I have set up the environment variables properly, I have installed java correctly.

When I open PFE32 editor, I open the build properties file in the task folder, then go back to file > change to file directory. After doing this, I click on the MS DOS button and type ant jar-app, I receive this message..
_________________________________________________________________________

C:\Users\George\Documents\Exercise1\FirstExercise>ant jar-app
Buildfile: build.xml

BUILD FAILED
C:\Users\George\Documents\Exercise1\FirstExercise\build.xml:42: Cannot find ${su
nspot.home}/build.xml imported from C:\Users\George\Documents\Exercise1\FirstExe
rcise\build.xml
_________________________________________________________________________

the variables are set as this..

ANT_HOME - C:\apache-ant-1.6.5
JAVA_HOME - C:\Program Files (x86)\Java\jdk1.6.0_05
PATH - C:\apache-ant-1.6.5\bin;C:\Program Files (x86)\Java\jdk1.6.0_03;%path%


sunSPOT is located C:\SunSpot

I had to copy two files to documents and settings, these were .sunspot.properties and .spotworld.properties

.sunspot.properties contains..

sunspot.home=C:/SunSPOT/sdk
sunspot.lib=${sunspot.home}/lib
spot.library.name=transducerlib

I am assuming its to do with the path that this is set to but not sure how to correct the problem. Can anyone help?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2008
Added on Mar 8 2008
2 comments
143 views