XSD to JAR using JAXB Binding Compiler

Here are the cartier replica contents of our batch file that converts a .xsd file into a .jar file. It uses xjc, so you can use JAXB to hublot replica convert objects to XML and vice versa.

@echo off

set INPUT_XSD=..\sample.xsd
set OUTPUT_JAR=sample.jar

mkdir ~dir
cd ~dir

xjc.exe %INPUT_XSD%

dir /s /B *.java > ~list
javac @~list
del ~list

jar cf ../%OUTPUT_JAR% *

cd ..

rmdir ~dir /s /q

omega replica

Maven Generated Eclipse Project with WTP

To create an Eclipse project with Web Tools Platform (WTP) support, run the following command.

mvn eclipse:eclipse -Dwtpversion=2.0