hydralix / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

Processing-instruction for partial inclusion of Java files #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
XInclude is including too much; in some cases, I want to be able to have
just the signatures, not all JavaDoc, etc.

Original issue reported on code.google.com by wilfreds...@gmail.com on 2 Oct 2007 at 1:29

GoogleCodeExporter commented 9 years ago
Tried a couple of things. None of them work really well. 

Original comment by wilfreds...@gmail.com on 26 Dec 2007 at 11:15

GoogleCodeExporter commented 9 years ago
Not certain this covers all aspects of this issue, but I've started using Peter 
Arrenbrecht's JCite (Java Source Code Citation System) to include parts of Java 
files in <programlisting> examples.

JCite lets you target what you want to include quite flexibly. See 
http://arrenbrecht.ch/jcite/java.htm for examples.

For Maven, I added a pom.xml wrapper to let you get JCite from the Central 
Repository. See https://code.google.com/r/markcraig-jcite/ for details.

Original comment by mark.cr...@gmail.com on 3 Jun 2013 at 6:05