Changeset 315


Ignore:
Timestamp:
Mar 29, 2013 12:15:32 PM (6 years ago)
Author:
prjemian
Message:

start to update the java binding documentation: show how to built the source files with JAXB

Location:
1dwg/trunk/doc/source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 1dwg/trunk/doc/source/binding-java-jaxb.rst

    r313 r315  
    199199        *pdfdoclet* was able to auto-generate the  
    200200        documentation in a PDF file. 
     201 
     202 
     203(re)building the JAXB code 
     204============================ 
     205 
     206To build the java files with JAXB from the XSD Schema, 
     207refer to the JAXB documentation: [#]_ 
     208 
     209.. [#] JAXB:  http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/JAXBUsing.html 
     210 
     211Here are the steps taken (this time).  Note that to use `xjc`, you'll need the 
     212full JDK, not just a JVM or JRE. 
     213 
     214:: 
     215 
     216        [jemian@gov,250,v1.1]$ mkdir -p java/ant-eclipse/src/org/cansas 
     217        [jemian@gov,251,v1.1]$ xjc -d java/ant-eclipse/src/org/cansas cansas1d.xsd 
     218        [jemian@gov,262,_1]$ mv *.java .. 
     219        [jemian@gov,263,_1]$ cd ../ 
     220        [jemian@gov,264,cansas1d]$ rmdir _1 
     221        edit package line in *.java to read:: 
     222         
     223                package org.cansas.cansas1d; 
     224 
  • 1dwg/trunk/doc/source/bindings.rst

    r313 r315  
    44 
    55 
    6 =================================================== 
    7 Language Bindings and Software Support 
    8 =================================================== 
     6================= 
     7Language Bindings 
     8================= 
    99 
    1010Bindings (import/export drivers) and other software support  
  • 1dwg/trunk/doc/source/contents.rst

    r313 r315  
    1818   license 
    1919   authors 
     20 
     21-------- 
     22 
     23This document was created |today|. 
Note: See TracChangeset for help on using the changeset viewer.