Skip to main content

(newbie) How to run JAXB catalog-resolver sample

1 reply [Last post]
Joined: 2005-01-14

Hello, I would like to run xjc (I guess) on the samples/catalog-resolver sample[1] but don't know how (which parameters I should be using, etc.) The readme.txt file[2] isn't particularily informative here. Also, in that readme.txt file, the URL at line 19 does not work (even with the typo around "www" removed)--does anyone know what the URL today for the article referenced should be?




Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-01-14

OK, I was able to answer my own questions:

After running "ant dist" from the JAXB distribution root to create the JAR files, I ran the script in the dist/bin/xjc directory:

/path/to/ -catalog catalog.xsd test.xsd

Only problem is that the catalog does not seem to be read. I will need to do more testing of this.

Also, from the RI notes (, the new URL for the document referenced is