Skip to main content
gamedev.net
🔒 Locked

[java] Set the Classpath

Started by homka 1 reply 850+ views
Original Post
homka
homka
Hello,

I have an application which read xsd file, and [font=sans-serif][size=2] XSD file is supposed to be stored somewhere on CLASSPATH. Do you have any idea?[/font]
[font=sans-serif][size=2]Thx a lot.[/font]blink.gif
rip-off
rip-off
I don't understand your question. What are you having trouble with:

  • Getting the file into the class path?
  • Reading any file from the class path?
  • Finding the given XSD file on the class path?
  • Setting the class path when running your program?
  • Something else?

    Can you show us any code?
homka
homka

I don't understand your question. What are you having trouble with:
  • Getting the file into the class path?
  • Reading any file from the class path?
  • Finding the given XSD file on the class path?
  • Setting the class path when running your program?
  • Something else?
    Can you show us any code?


well, I'm pretty new in java.
Actually i have an xsd file, then I use ant -> build.xml and generate jaxb. then i use those generated *.java classes and compile the project. But I dont know how set the classpath to xsd file .... make my app find the xsd file by classpath.... Hope you understand what do I want..

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.