Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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: 67537
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic