• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

compilation failed "classpathref"

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im a beginner with Java. My os is Mac OS x. I installed Xcode 1.5. Hello world is working but as soon as i involve a class for example "Sin" I get compilation failure and i think its a path problem in build.xml.

<target name="compile" description="Compile code"> <mkdir dir="${bin}"/> <mkdir dir="${lib}"/> <javac srcdir="${src}" destdir="${bin}" source="1.3" target="1.3" includeAntRuntime="no"
classpathref="lib.path" debug="${compile.debug}">
</javac> </target>

the debugger is pointing at classpathref. If anyone recognize this problem please help me. Best regards Peter
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is lib.path defined elsewhere in the Ant file?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic