Search:

Type: Posts; User: beruska

Search: Search took 0.09 seconds.

  1. [SOLVED] Re: the application runs inside Eclipse, but dont run as a jar from cmd

    Well, The problem is in getResourceAsStream. When I change the path from xsd/schema.xsd to ../schema.xsd it works when I compile it Ctrl+F11, but it doesnt work when I use Ant, is it possible because...
  2. [SOLVED] Re: the application runs inside Eclipse, but dont run as a jar from cmd

    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    factory.setNamespaceAware(true);
    factory.setAttribute(SCHEMA_LANGUAGE_ATTRIBUTE,...
  3. [SOLVED] Re: the application runs inside Eclipse, but dont run as a jar from cmd

    Yup I know, so when I unpack my jar i have the folder xsd/schema.xsd, thus the schema is inside my of my jar. I use ant for others things, so I cant just export it :((. I woud like to, but..
  4. [SOLVED] Re: the application runs inside Eclipse, but dont run as a jar from cmd

    the exception is that the stream I get from getResourceAsStream is null, (it has to be an xml scheme/xsd/), thats why I cant parse the xml then.... The manifest is ok, The main-class is ok, I've set...
  5. [SOLVED] the application runs inside Eclipse, but dont run as a jar from cmd

    Hello,

    I have an applications, and it runs correct inside Eclipse (I use build.xml to compile, generate jar, run) and everything seems ok. But when I want to run my generated jar from cmd, i have...
Results 1 to 5 of 5