You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by Tom Sugden <to...@gmail.com> on 2006/05/31 19:21:26 UTC

Getting started

Hello,

Apologies in advance for these questions. I'm sure there are some very
simple answers...

I've just downloaded the source distributiong of the current release
of JAXME and am having some difficulty getting started. The included
documentation (within src/documentation) seems to be written in XML,
and I'm not sure how to view it. Is there some way to generate HTML
from the XML files?

Next I tried following the instructions in the current manual on the
JAXME webpage. Chapter 1 shows an example of an ant target that can be
used to run the generator. I pasted this into a new ant script, but it
fails with the following error:

    taskdef class org.apache.ws.jaxme.generator.XJCTask cannot be found

I suspect that I need to first build the JAXME distribution in some
way, before trying to run the generator. I've tried invoking the
"clean, all, test" targets of the "build.xml" script, but this also
produces a large number of errors, mostly of the following form:

---
    Compiling 169 source files to C:\tom\workspace\JAXME-0.5.1\build\js\classes
[javac]C:\tom\workspace\JAXME-0.5.1\src\js\org\apache\ws\jaxme\js\beanreader\BeanProperty.java:3:
package javax.xml.namespace does not exist
    [javac] import javax.xml.namespace.QName;
    [javac] ^
---

I presume this means the "jaxrpc.jar" (containing QName) is needed,
although it's not included in the prerequisites folder of the
distribution.

Perhaps it would be easier to use the binary distribution instead, but
I would like to be able to look inside the source code.

Many thanks,
Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Re: Getting started

Posted by Jochen Wiedmann <jo...@gmail.com>.
Tom Sugden wrote:

> I've just downloaded the source distributiong of the current release
> of JAXME and am having some difficulty getting started. The included
> documentation (within src/documentation) seems to be written in XML,
> and I'm not sure how to view it. Is there some way to generate HTML
> from the XML files?

Why aren't you using the binary distribution, which contains amongst other
niceties the translated documentation? (Which is, btw, the same
documentation as available online.)


> I suspect that I need to first build the JAXME distribution in some
> way, before trying to run the generator. I've tried invoking the
> "clean, all, test" targets of the "build.xml" script, but this also
> produces a large number of errors, mostly of the following form:

You need, of course, the JaxMe jar files, which are also available as part
of the binary distribution.


> I presume this means the "jaxrpc.jar" (containing QName) is needed,
> although it's not included in the prerequisites folder of the
> distribution.

No, it's jaxmeapi.jar, what's missing.


Jochen


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org