+++ /dev/null
-doc
-*.jar
-build
-build2
all: jars
-jars: saxon643.jar xalan25.jar xalan27.jar
+jars: saxon65.jar xalan2.jar xalan27.jar
-saxon643.jar: build/lib/docbook-xsl-saxon.jar
- cp build/lib/docbook-xsl-saxon.jar saxon643.jar
- cp saxon643.jar saxon644.jar
- cp saxon643.jar saxon65.jar
- cp saxon643.jar saxon651.jar
- cp saxon643.jar saxon652.jar
- cp saxon643.jar saxon653.jar
+saxon65.jar: $(wildcard saxon65/src/com/nwalsh/saxon/*.java)
+ cd saxon65 && $(ANT) jar
+ cp saxon65/dist/saxon65.jar .
-xalan25.jar: build/lib/docbook-xsl-xalan.jar
- cp build/lib/docbook-xsl-xalan.jar xalan25.jar
+xalan2.jar: $(wildcard xalan2/src/com/nwalsh/xalan/*.java)
+ cd xalan2 && $(ANT) jar
+ cp xalan2/dist/xalan2.jar .
-xalan27.jar: build2/lib/docbook-xsl-xalan27.jar
- cp build2/lib/docbook-xsl-xalan27.jar xalan27.jar
-
-build/lib/docbook-xsl-saxon.jar:
- $(ANT) jar.saxon
-
-build/lib/docbook-xsl-xalan.jar:
- CLASSPATH=/usr/share/java/xalan25.jar:$$CLASSPATH \
- $(ANT) jar.xalan
-
-build2/lib/docbook-xsl-xalan27.jar:
- $(ANT) jar.xalan27
+xalan27.jar: $(wildcard xalan27/src/com/nwalsh/xalan/*.java)
+ cd xalan27 && $(ANT) jar
+ cp xalan27/dist/xalan27.jar .
clean:
- $(ANT) clean
+ cd saxon65 && $(ANT) clean
+ cd xalan27 && $(ANT) clean
$(RM) *.jar
+++ /dev/null
-<!-- Build file for docbook-xsl extensions -->
-
-<!-- Submitted by Ville Skyttä (scop@users.sf.net) -->
-
-<project name="docbook-xsl" default="all" basedir=".">
-
- <!-- Properties -->
-
- <property name="name" value="docbook-xsl"/>
- <property name="src.saxon" value="saxon643"/>
- <property name="src.xalan" value="xalan2"/>
- <property name="src.xalan27" value="xalan27/src"/>
- <property name="build" value="build"/>
- <property name="build2" value="build2"/>
- <property name="build.classes" value="${build}/classes"/>
- <property name="build2.classes" value="${build2}/classes"/>
- <property name="build.doc.xalan" value="${build}/api/xalan"/>
- <property name="build.doc.saxon" value="${build}/api/saxon"/>
- <property name="build.lib" value="${build}/lib"/>
- <property name="build2.lib" value="${build2}/lib"/>
-
- <!-- Targets -->
-
- <target name="prepare" description="Prepare build directories">
- <mkdir dir="${build}"/>
- <mkdir dir="${build2}"/>
- <mkdir dir="${build.classes}"/>
- <mkdir dir="${build2.classes}"/>
- <mkdir dir="${build.lib}"/>
- <mkdir dir="${build2.lib}"/>
- <mkdir dir="${build.doc.xalan}"/>
- <mkdir dir="${build.doc.saxon}"/>
- </target>
-
- <target name="clean" description="Remove build directories">
- <delete dir="${build}"/>
- <delete dir="${build2}"/>
- </target>
-
- <target name="classes.xalan" depends="prepare"
- description="Build Xalan extension classes">
- <javac srcdir="${src.xalan}" destdir="${build.classes}"/>
- </target>
-
- <target name="classes.xalan27" depends="prepare"
- description="Build Xalan 2.7 extension classes">
- <javac srcdir="${src.xalan27}" destdir="${build2.classes}"/>
- </target>
-
- <target name="classes.saxon" depends="prepare"
- description="Build Saxon extension classes">
- <javac srcdir="${src.saxon}" destdir="${build.classes}"/>
- </target>
-
- <target name="jar.xalan" depends="classes.xalan"
- description="Build the Xalan extension jar">
- <jar destfile="${build.lib}/${name}-xalan.jar"
- basedir="${build.classes}"
- includes="com/nwalsh/xalan/*">
- </jar>
- </target>
-
- <target name="jar.xalan27" depends="classes.xalan27"
- description="Build the Xalan 2.7 extension jar">
- <jar destfile="${build2.lib}/${name}-xalan27.jar"
- basedir="${build2.classes}"
- includes="com/nwalsh/xalan/*">
- </jar>
- </target>
-
-
- <target name="jar.saxon" depends="classes.saxon"
- description="Build the Saxon extension jar">
- <jar destfile="${build.lib}/${name}-saxon.jar"
- basedir="${build.classes}"
- includes="com/nwalsh/saxon/*">
- </jar>
- </target>
-
- <target name="jars" depends="jar.saxon,jar.xalan,jar.xalan27"
- description="Build all jars" />
-
- <target name="javadoc.xalan" depends="prepare"
- description="Build Xalan extension javadocs">
- <javadoc sourcepath="${src.xalan}"
- destdir="${build.doc.xalan}"
- doctitle="${name}-xalan JavaDoc"
- windowtitle="${name}-xalan JavaDoc"
- package="true"
- author="true"
- version="true"
- packagenames="com.nwalsh.xalan.*"
- />
- </target>
-
- <target name="javadoc.saxon" depends="prepare"
- description="Build Saxon extension javadocs">
- <javadoc sourcepath="${src.saxon}"
- destdir="${build.doc.saxon}"
- doctitle="${name}-saxon JavaDoc"
- windowtitle="${name}-saxon JavaDoc"
- package="true"
- author="true"
- version="true"
- packagenames="com.nwalsh.saxon.*"
- />
- </target>
-
- <target name="javadocs" depends="javadoc.xalan,javadoc.saxon"
- description="Build all javadocs" />
-
- <target name="all" depends="jars,javadocs"
- description="Build everything" />
-
-</project>
+++ /dev/null
-
-
-
-
-
-
-
-
-(jde-set-project-name "xalan")
-(jde-set-variables
- '(jde-gen-session-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\"
-\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n
-'>'n" "'> \"public void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n
-'>'n" "'> \"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'> \"public void setSessionContext(SessionContext ctx) throws
-RemoteException {\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws RemoteException {\"'>'n
-\"}\"'>'n '>'n'>")))
- '(jde-gen-beep (quote ("(end-of-line) '&" "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>")))
- '(jde-which-method-format (quote ("[" jde-which-method-current "]")))
- '(jde-run-classic-mode-vm nil)
- '(jde-javadoc-gen-nodeprecatedlist nil)
- '(jde-which-method-max-length 20)
- '(jde-imenu-include-classdef t)
- '(jde-javadoc-gen-link-online nil)
- '(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set) ("toString method" . jde-gen-to-string-method) ("Action Listener" . jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener) ("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" . jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class) ("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change support" . jde-gen-property-change-support) ("EJB Entity Bean" . jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean))))
- '(jde-gen-cflow-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")" "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")")))
- '(jde-make-args "")
- '(jde-javadoc-gen-destination-directory "JavaDoc")
- '(jde-mode-line-format (quote ("-" mode-line-mule-info mode-line-modified mode-line-frame-identification mode-line-buffer-identification " " global-mode-string " %[(" mode-name mode-line-process minor-mode-alist "%n" ")%]--" (line-number-mode "L%l--") (column-number-mode "C%c--") (-3 . "%p") (jde-which-method-mode ("--" jde-which-method-format "--")) "-%-")))
- '(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" . "break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" . "char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" . "instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" . "protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" . "throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" . "volatile") ("wh" . "while"))))
- '(jde-imenu-enable t)
- '(jde-compile-option-verbose nil)
- '(jde-db-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes"))))
- '(jde-bug-debugger-host-address "localhost" t)
- '(jde-make-working-directory "")
- '(jde-bug-breakpoint-marker-colors (quote ("red" . "yellow")))
- '(jde-javadoc-gen-use nil)
- '(jde-gen-buffer-boilerplate nil)
- '(jde-bug-raise-frame-p t)
- '(jde-db-option-application-args (quote ("-IN" "/share/xsl/docbook/test/exttest.xml" "-XSL " "/share/xsl/docbook/test/exttest.xsl")) t)
- '(jde-javadoc-gen-nonavbar nil)
- '(jde-javadoc-gen-nohelp nil)
- '(jde-bug-vm-includes-jpda-p nil)
- '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\" '>'n" "\"import java.awt.Graphics;\" '>'n" "\"import java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import java.awt.geom.Ellipse2D;\" '>'n" "\"import java.awt.event.WindowAdapter;\" '>'n" "\"import java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\" '>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n" "\"import javax.swing.JMenu;\" '>'n" "\"import java.awt.event.ActionEvent;\" '>'n" "\"import javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n" "\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n" "\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n" "\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\" '>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n" "\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n" "\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n " "\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n" "\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n" "\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" '>'n" "\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n" "\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n")))
- '(jde-bug-key-bindings (quote (("[?\ 3 ?\1a ?\13]" . jde-bug-step-over) ("[?\ 3 ?\1a ?\18]" . jde-bug-step-into) ("[?\ 3 ?\1a ?\ 1]" . jde-bug-step-into-all) ("[?\ 3 ?\1a ?\17]" . jde-bug-step-out) ("[?\ 3 ?\1a ?\ 3]" . jde-bug-continue) ("[?\ 3 ?\1a ?\ 2]" . jde-bug-toggle-breakpoint))))
- '(jde-compile-finish-hook (quote (jde-compile-finish-refresh-speedbar jde-compile-finish-flush-completion-cache)))
- '(jde-compile-option-nowarn nil)
- '(jde-setnu-mode-threshold 20000)
- '(jde-run-java-vm-w "javaw")
- '(jde-compile-option-encoding nil)
- '(jde-run-option-java-profile (quote (nil . "./java.prof")))
- '(jde-bug-jpda-directory "/usr/local/jdk1.2.2" t)
- '(jde-read-compile-args nil)
- '(jde-run-java-vm "java")
- '(jde-db-option-verbose (quote (nil nil nil)))
- '(jde-which-method-class-min-length 4)
- '(jde-db-read-app-args nil)
- '(jde-javadoc-gen-nodeprecated nil)
- '(jde-run-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects")))
- '(jde-gen-println (quote ("(end-of-line) '&" "\"System.out.println(\" (P \"Print out: \") \");\" '>'n'>")))
- '(jde-enable-abbrev-mode nil)
- '(jde-auto-parse-max-buffer-size 50000)
- '(jde-gen-cflow-main (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")" "'(l '> \"public static void main (String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of main ()\"'>'n'>)" ")")))
- '(jde-javadoc-exception-tag-template "\"* @exception \" type \" if an error occurs\"")
- '(jde-global-classpath nil t)
- '(jde-gen-window-listener-template (quote ("(end-of-line) '& (P \"Window name: \")" "\".addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>")))
- '(jde-run-working-directory "/share/xsl/docbook/extensions" t)
- '(jde-gen-property-change-support (quote ("(end-of-line) '&" "\"protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void addPropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n" "\"* This removes a PropertyChangeListener that was registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void removePropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\" '>'n" "\"* The listener will be invoked only when a call on firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property to listen on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property that was listened on\" '>'n" "\"* @param listener The PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void removePropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, Object oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No event is fired if the given event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n" "\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"* @return <code>true</code>if there are one or more listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n '>'n'>")))
- '(jde-javadoc-describe-interface-template "\"* Describe interface \" (jde-javadoc-code name) \" here.\"")
- '(jde-imenu-include-signature t)
- '(jde-db-marker-regexp "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),")
- '(jde-gen-mouse-motion-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseMotionListener(new MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n \"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>")))
- '(jde-key-bindings (quote (("[?\ 3 ?\16 ?\ 1]" . jde-run-menu-run-applet) ("[?\ 3 ?\16 ?\ 2]" . jde-build) ("[?\ 3 ?\16 ?\ 3]" . jde-compile) ("[?\ 3 ?\16 ?\ 4]" . jde-debug) ("[?\ 3 ?\16 ?\ 6]" . jde-wiz-implement-interface) ("[?\ 3 ?\16 ?j]" . jde-javadoc-generate-javadoc-template) ("[?\ 3 ?\16 ?\v]" . bsh) ("[?\ 3 ?\16 ?\f]" . jde-gen-println) ("[?\ 3 ?\16 ?\ e]" . jde-browse-jdk-doc) ("[?\ 3 ?\16 ?\10]" . jde-save-project) ("[?\ 3 ?\16 ?\11]" . jde-wiz-update-class-list) ("[?\ 3 ?\16 ?\12]" . jde-run) ("[?\ 3 ?\16 ?\13]" . speedbar-frame-mode) ("[?\ 3 ?\16 ?\14]" . jde-db-menu-debug-applet) ("[?\ 3 ?\16 ?\17]" . jde-help-symbol) ("[?\ 3 ?\16 ?\19]" . jde-show-class-source) ("[?\ 3 ?\16 ?\1a]" . jde-import-find-and-import) ("[(control c) (control v) (control ?.)]" . jde-complete-at-point-menu) ("[(control c) (control v) ?.]" . jde-complete-at-point))))
- '(jde-gen-cflow-for-i (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")" "'(l '> \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\"'>'n'>)" ")")))
- '(jde-run-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t)
- '(jde-javadoc-gen-detail-switch (quote ("-protected")))
- '(jde-bug-sio-connect-delay 1)
- '(jde-javadoc-param-tag-template "\"* @param \" name \" \" (jde-javadoc-a type)
- \" \" (jde-javadoc-code type) \" value\"")
- '(jde-compile-option-verbose-path nil)
- '(jde-javadoc-display-doc t)
- '(jde-imenu-modifier-abbrev-alist (quote (("public" . 43) ("protected" . 177) ("private" . 172) ("static" . 2215) ("transient" . 35) ("volatile" . 126) ("abstract" . 170) ("final" . 182) ("native" . 36) ("synchronized" . 64) ("strictfp" . 37))))
- '(jde-db-debugger (quote ("JDEbug" "/usr/local/jdk1.2.2/lib/i386" . "Executable")) t)
- '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html")
- '(jde-gen-cflow-enable t)
- '(jde-compiler "javac")
- '(jde-javadoc-gen-verbose nil)
- '(jde-javadoc-describe-method-template "\"* Describe \" (jde-javadoc-code name) \" method here.\"")
- '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" * @version\" '>'n" "\" */\" '>'n'" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n")))
- '(jde-javadoc-checker-level (quote protected))
- '(jde-appletviewer-option-vm-args nil)
- '(jde-run-executable-args nil)
- '(jde-db-option-garbage-collection (quote (t t)))
- '(jde-javadoc-gen-stylesheetfile "")
- '(jde-use-font-lock t)
- '(jde-compile-option-bootclasspath nil)
- '(jde-make-program "make")
- '(jde-javadoc-gen-group nil)
- '(jde-javadoc-gen-link-offline nil)
- '(jde-entering-java-buffer-hook (quote (jde-reload-project-file jde-which-method-update-on-entering-buffer)))
- '(jde-javadoc-gen-doc-title "")
- '(jde-javadoc-gen-header "")
- '(jde-run-option-vm-args nil)
- '(jde-javadoc-gen-window-title "")
- '(jde-compile-option-directory "" t)
- '(jde-imenu-create-index-function (quote semantic-create-imenu-index))
- '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n")))
- '(jde-read-make-args nil)
- '(jde-javadoc-gen-noindex nil)
- '(jde-gen-mouse-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>")))
- '(jde-run-option-application-args (quote ("-IN" "test.xml" "-XSL" "test.xsl")) t)
- '(jde-bug-vm-executable (quote ("java")))
- '(jde-db-set-initial-breakpoint t)
- '(jde-bug-debugger-command-timeout 10)
- '(jde-db-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes"))))
- '(jde-db-option-properties nil t)
- '(jde-db-source-directories (quote ("/share/xsl/docbook/extensions/xalan2/" "/projects/apache/xml-xalan/java/src/" "/projects/apache/xml-xerces/java/build/src/" "/projects/sun/resolver/" "/home/ndw/java/")) t)
- '(jde-run-read-app-args nil)
- '(jde-gen-to-string-method-template (quote ("(end-of-line) '&" "\"public String toString() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>")))
- '(jde-quote-classpath t)
- '(jde-bug-window-message nil)
- '(jde-build-use-make nil)
- '(jde-javadoc-author-tag-template "\"* @author <a href=\\\"mailto:\" user-mail-address
- \"\\\">\" user-full-name \"</a>\"")
- '(jde-javadoc-describe-field-template "\"* Describe \" (jde-javadoc-field-type modifiers)
- \" \" (jde-javadoc-code name) \" here.\"")
- '(jde-javadoc-gen-link-URL nil)
- '(jde-compile-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t)
- '(jde-bug-jdk-directory "/usr/local/jdk1.2.2" t)
- '(jde-gen-boilerplate-function (quote jde-gen-create-buffer-boilerplate))
- '(jde-gen-entity-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\"
-\"java.rmi.RemoteException\"))" "'> \"public void ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx) throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>")))
- '(jde-javadoc-describe-constructor-template "\"* Creates a new \" (jde-javadoc-code name) \" instance.\"")
- '(jde-bug-server-shmem-name (quote (t . "JDEbug")))
- '(jde-db-startup-commands nil)
- '(jde-javadoc-gen-docletpath nil)
- '(jde-javadoc-gen-split-index nil)
- '(jde-compile-option-deprecation nil t)
- '(jde-import-group-of-rules (quote (("^javax?\\."))))
- '(jde-which-method-mode t)
- '(jde-gen-k&r t)
- '(jde-javadoc-gen-bottom "")
- '(jde-javadoc-gen-footer "")
- '(jde-db-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t)
- '(jde-gen-cflow-for (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")" "'(l '> \"for (\" (p \"for-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-run-mode-hook nil)
- '(jde-db-option-verify (quote (nil t)))
- '(jde-compile-option-extdirs nil)
- '(jde-imenu-sort nil)
- '(jde-gen-get-set-var-template (quote ("(end-of-line) '&" "(P \"Variable type: \" type) \" \"" "(P \"Variable name: \" name) \";\" '>'n '>'n" "\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"* @return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \" (s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of \" (s name) \".\" '>'n" "\"* @param v Value to assign to \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\" '>'n \"}\" '>'n'>")))
- '(jde-bug-saved-breakpoints nil)
- '(jde-compile-option-sourcepath (quote ("/share/xsl/docbook/extensions/xalan2" "/projects/apache/xml-xalan/java/build/src" "/projects/apache/xml-xerces/java/build/src" "/projects/sun/resolver")) t)
- '(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-db-option-java-profile (quote (nil . "./java.prof")))
- '(jde-javadoc-gen-author t)
- '(jde-compile-option-depend-switch (quote ("-Xdepend")))
- '(jde-setnu-mode-enable nil)
- '(jde-run-applet-doc "")
- '(jde-compile-option-vm-args nil)
- '(jde-javadoc-gen-overview "")
- '(jde-javadoc-gen-notree nil)
- '(jde-run-option-garbage-collection (quote (t t)))
- '(jde-db-mode-hook nil)
- '(jde-javadoc-command-path "javadoc")
- '(jde-db-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects")))
- '(jde-import-group-function (quote jde-import-group-of))
- '(jde-db-read-vm-args nil)
- '(jde-bug-debug nil)
- '(jde-javadoc-end-block-template nil)
- '(jde-javadoc-gen-packages nil)
- '(jde-gen-cflow-if-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'> n" "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")else\"'>'n'>)" ")")))
- '(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")" "'(l '> \"while (\" (p \"while-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of while (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-bug-server-socket (quote (t . "2112")))
- '(jde-imenu-include-modifiers nil)
- '(jde-appletviewer-option-encoding "")
- '(jde-bug-breakpoint-cursor-colors (quote ("cyan" . "brown")))
- '(jde-compile-option-target (quote ("1.1")))
- '(jde-run-executable "")
- '(jde-run-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes"))))
- '(jde-gen-cflow-switch (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"switch\")" "'(l '> \"switch (\" (p \"switch-condition: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-which-method-abbrev-symbol "~")
- '(jde-db-option-vm-args nil)
- '(jde-run-application-class "org.apache.xalan.xslt.Process" t)
- '(jde-javadoc-gen-doclet "")
- '(jde-import-auto-sort nil)
- '(jde-run-option-verbose (quote (nil nil nil)))
- '(jde-project-file-name "prj.el")
- '(jde-compile-option-debug (quote ("selected" (t nil nil))) t)
- '(jde-bug-jre-home "")
- '(jde-import-sorted-groups nil)
- '(jde-run-applet-viewer "")
- '(jde-javadoc-return-tag-template "\"* @return \" (jde-javadoc-a type)
- \" \" (jde-javadoc-code type) \" value\"")
- '(jde-javadoc-gen-version t)
- '(jde-javadoc-gen-helpfile "")
- '(jde-import-excluded-packages (quote ("bsh.*")))
- '(jde-run-read-vm-args nil)
- '(jde-help-docsets nil)
- '(jde-gen-inner-class-template (quote ("(end-of-line) '& \"class \" (P \"Class name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent (jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>")))
- '(jde-auto-parse-buffer-interval 180)
- '(jde-run-option-verify (quote (nil t)))
- '(jde-import-reverse-sort-group nil)
- '(jde-compile-option-optimize nil)
- '(jde-gen-cflow-case (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")" "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p)" ")")))
- '(jde-compile-option-depend nil)
- '(jde-javadoc-describe-class-template "\"* Describe class \" (jde-javadoc-code name) \" here.\"")
- '(jde-javadoc-gen-serialwarn nil)
- '(jde-gen-action-listener-template (quote ("'& (P \"Component name: \")" "\".addActionListener(new ActionListener() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>")))
- '(jde-auto-parse-enable t)
- '(jde-compile-option-command-line-args "")
- '(jde-gen-buffer-templates (quote (("Class" . jde-gen-class) ("Console" . jde-gen-console) ("Swing App" . jde-gen-jfc-app))))
- '(jde-project-context-switching-enabled-p t)
- '(jde-javadoc-gen-args nil)
- '(jde-run-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes"))))
- '(jde-run-option-properties nil t))
-
-
+++ /dev/null
-
-
-
-
-
-
-
-
-
-
-(jde-set-project-name "saxon")
-(jde-set-variables
- '(jde-gen-session-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\"
-\"java.rmi.RemoteException\"))" "(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n
-'>'n" "'> \"public void ejbPassivate() throws RemoteException {\"'>'n \"}\"'>'n
-'>'n" "'> \"public void ejbRemove() throws RemoteException {\"'>'n \"}\"'>'n '>'n" "'> \"public void setSessionContext(SessionContext ctx) throws
-RemoteException {\"" "'>'n \"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws RemoteException {\"'>'n
-\"}\"'>'n '>'n'>")))
- '(jde-gen-beep (quote ("(end-of-line) '&" "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>")))
- '(jde-which-method-format (quote ("[" jde-which-method-current "]")))
- '(jde-run-classic-mode-vm nil)
- '(jde-javadoc-gen-nodeprecatedlist nil)
- '(jde-which-method-max-length 20)
- '(jde-imenu-include-classdef t)
- '(jde-javadoc-gen-link-online nil)
- '(jde-gen-code-templates (quote (("Get Set Pair" . jde-gen-get-set) ("toString method" . jde-gen-to-string-method) ("Action Listener" . jde-gen-action-listener) ("Window Listener" . jde-gen-window-listener) ("Mouse Listener" . jde-gen-mouse-listener) ("Mouse Motion Listener" . jde-gen-mouse-motion-listener) ("Inner Class" . jde-gen-inner-class) ("println" . jde-gen-println) ("beep" . jde-gen-beep) ("property change support" . jde-gen-property-change-support) ("EJB Entity Bean" . jde-gen-entity-bean) ("EJB Session Bean" . jde-gen-session-bean))))
- '(jde-gen-cflow-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"else\")" "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")")))
- '(jde-make-args "")
- '(jde-javadoc-gen-destination-directory "JavaDoc")
- '(jde-mode-line-format (quote ("-" mode-line-mule-info mode-line-modified mode-line-frame-identification mode-line-buffer-identification " " global-mode-string " %[(" mode-name mode-line-process minor-mode-alist "%n" ")%]--" (line-number-mode "L%l--") (column-number-mode "C%c--") (-3 . "%p") (jde-which-method-mode ("--" jde-which-method-format "--")) "-%-")))
- '(jde-mode-abbreviations (quote (("ab" . "abstract") ("bo" . "boolean") ("br" . "break") ("by" . "byte") ("byv" . "byvalue") ("cas" . "cast") ("ca" . "catch") ("ch" . "char") ("cl" . "class") ("co" . "const") ("con" . "continue") ("de" . "default") ("dou" . "double") ("el" . "else") ("ex" . "extends") ("fa" . "false") ("fi" . "final") ("fin" . "finally") ("fl" . "float") ("fo" . "for") ("fu" . "future") ("ge" . "generic") ("go" . "goto") ("impl" . "implements") ("impo" . "import") ("ins" . "instanceof") ("in" . "int") ("inte" . "interface") ("lo" . "long") ("na" . "native") ("ne" . "new") ("nu" . "null") ("pa" . "package") ("pri" . "private") ("pro" . "protected") ("pu" . "public") ("re" . "return") ("sh" . "short") ("st" . "static") ("su" . "super") ("sw" . "switch") ("sy" . "synchronized") ("th" . "this") ("thr" . "throw") ("throw" . "throws") ("tra" . "transient") ("tr" . "true") ("vo" . "void") ("vol" . "volatile") ("wh" . "while"))))
- '(jde-imenu-enable t)
- '(jde-compile-option-verbose nil)
- '(jde-db-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes"))))
- '(jde-bug-debugger-host-address "localhost" t)
- '(jde-make-working-directory "")
- '(jde-bug-breakpoint-marker-colors (quote ("red" . "yellow")))
- '(jde-javadoc-gen-use nil)
- '(jde-gen-buffer-boilerplate nil)
- '(jde-bug-raise-frame-p t)
- '(jde-db-option-application-args (quote ("-IN" "/share/xsl/docbook/test/exttest.xml" "-XSL " "/share/xsl/docbook/test/exttest.xsl")) t)
- '(jde-javadoc-gen-nonavbar nil)
- '(jde-javadoc-gen-nohelp nil)
- '(jde-bug-vm-includes-jpda-p nil)
- '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\" '>'n" "\"import java.awt.Graphics;\" '>'n" "\"import java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import java.awt.geom.Ellipse2D;\" '>'n" "\"import java.awt.event.WindowAdapter;\" '>'n" "\"import java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\" '>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n" "\"import javax.swing.JMenu;\" '>'n" "\"import java.awt.event.ActionEvent;\" '>'n" "\"import javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n" "\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n" "\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n" "\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\" '>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle = new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n" "\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n" "\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n " "\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n" "\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n" "\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"();\" '>'n" "\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n" "\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n" "\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\" '>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n")))
- '(jde-bug-key-bindings (quote (("[?\ 3 ?\1a ?\13]" . jde-bug-step-over) ("[?\ 3 ?\1a ?\18]" . jde-bug-step-into) ("[?\ 3 ?\1a ?\ 1]" . jde-bug-step-into-all) ("[?\ 3 ?\1a ?\17]" . jde-bug-step-out) ("[?\ 3 ?\1a ?\ 3]" . jde-bug-continue) ("[?\ 3 ?\1a ?\ 2]" . jde-bug-toggle-breakpoint))))
- '(jde-compile-finish-hook (quote (jde-compile-finish-refresh-speedbar jde-compile-finish-flush-completion-cache)))
- '(jde-compile-option-nowarn nil)
- '(jde-setnu-mode-threshold 20000)
- '(jde-run-java-vm-w "javaw")
- '(jde-compile-option-encoding nil)
- '(jde-run-option-java-profile (quote (nil . "./java.prof")))
- '(jde-bug-jpda-directory "/usr/local/jdk1.2.2" t)
- '(jde-read-compile-args nil)
- '(jde-run-java-vm "java")
- '(jde-db-option-verbose (quote (nil nil nil)))
- '(jde-which-method-class-min-length 4)
- '(jde-db-read-app-args nil)
- '(jde-javadoc-gen-nodeprecated nil)
- '(jde-run-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects")))
- '(jde-gen-println (quote ("(end-of-line) '&" "\"System.out.println(\" (P \"Print out: \") \");\" '>'n'>")))
- '(jde-enable-abbrev-mode nil)
- '(jde-auto-parse-max-buffer-size 50000)
- '(jde-gen-cflow-main (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"main\")" "'(l '> \"public static void main (String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of main ()\"'>'n'>)" ")")))
- '(jde-javadoc-exception-tag-template "\"* @exception \" type \" if an error occurs\"")
- '(jde-global-classpath nil t)
- '(jde-gen-window-listener-template (quote ("(end-of-line) '& (P \"Window name: \")" "\".addWindowListener(new WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>")))
- '(jde-run-working-directory "/share/xsl/docbook/extensions" t)
- '(jde-gen-property-change-support (quote ("(end-of-line) '&" "\"protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a PropertyChangeListener to the listener list.\" '>'n" "\"* The listener is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n" "\"public void addPropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener list.\" '>'n" "\"* This removes a PropertyChangeListener that was registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n" "\"public void removePropertyChangeListener(PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific property.\" '>'n" "\"* The listener will be invoked only when a call on firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property to listen on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\" '>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name of the property that was listened on\" '>'n" "\"* @param listener The PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void removePropertyChangeListener(String propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName, listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, Object oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, int oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any registered listeners. \" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper around the more general\" '>'n" "\"* firePropertyChange method that takes Object values.\" '>'n" "\"* No event is fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The programmatic name of the property that was changed\" '>'n" "\"* @param oldValue The old value of the property\" '>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\" '>'n" "\"public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any registered listeners.\" '>'n" "\"* No event is fired if the given event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n" "\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Checks if there are any listeners for a specific property.\" '>'n" "\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"* @return <code>true</code>if there are one or more listeners for the given property\" '>'n" "\"*/\" '>'n" "\"public boolean hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\" '>'n '>'n'>")))
- '(jde-javadoc-describe-interface-template "\"* Describe interface \" (jde-javadoc-code name) \" here.\"")
- '(jde-imenu-include-signature t)
- '(jde-db-marker-regexp "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),")
- '(jde-gen-mouse-motion-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseMotionListener(new MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n \"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>")))
- '(jde-key-bindings (quote (("[?\ 3 ?\16 ?\ 1]" . jde-run-menu-run-applet) ("[?\ 3 ?\16 ?\ 2]" . jde-build) ("[?\ 3 ?\16 ?\ 3]" . jde-compile) ("[?\ 3 ?\16 ?\ 4]" . jde-debug) ("[?\ 3 ?\16 ?\ 6]" . jde-wiz-implement-interface) ("[?\ 3 ?\16 ?j]" . jde-javadoc-generate-javadoc-template) ("[?\ 3 ?\16 ?\v]" . bsh) ("[?\ 3 ?\16 ?\f]" . jde-gen-println) ("[?\ 3 ?\16 ?\ e]" . jde-browse-jdk-doc) ("[?\ 3 ?\16 ?\10]" . jde-save-project) ("[?\ 3 ?\16 ?\11]" . jde-wiz-update-class-list) ("[?\ 3 ?\16 ?\12]" . jde-run) ("[?\ 3 ?\16 ?\13]" . speedbar-frame-mode) ("[?\ 3 ?\16 ?\14]" . jde-db-menu-debug-applet) ("[?\ 3 ?\16 ?\17]" . jde-help-symbol) ("[?\ 3 ?\16 ?\19]" . jde-show-class-source) ("[?\ 3 ?\16 ?\1a]" . jde-import-find-and-import) ("[(control c) (control v) (control ?.)]" . jde-complete-at-point-menu) ("[(control c) (control v) ?.]" . jde-complete-at-point))))
- '(jde-gen-cflow-for-i (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"fori\")" "'(l '> \"for (int \" (p \"variable: \" var) \" = 0; \"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var) \"++)\"'>'n'>)" ")")))
- '(jde-run-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t)
- '(jde-javadoc-gen-detail-switch (quote ("-protected")))
- '(jde-bug-sio-connect-delay 1)
- '(jde-javadoc-param-tag-template "\"* @param \" name \" \" (jde-javadoc-a type)
- \" \" (jde-javadoc-code type) \" value\"")
- '(jde-compile-option-verbose-path nil)
- '(jde-javadoc-display-doc t)
- '(jde-imenu-modifier-abbrev-alist (quote (("public" . 43) ("protected" . 177) ("private" . 172) ("static" . 2215) ("transient" . 35) ("volatile" . 126) ("abstract" . 170) ("final" . 182) ("native" . 36) ("synchronized" . 64) ("strictfp" . 37))))
- '(jde-db-debugger (quote ("JDEbug" "/usr/local/jdk1.2.2/lib/i386" . "Executable")) t)
- '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.1/docs/index.html")
- '(jde-gen-cflow-enable t)
- '(jde-compiler "javac")
- '(jde-javadoc-gen-verbose nil)
- '(jde-javadoc-describe-method-template "\"* Describe \" (jde-javadoc-code name) \" method here.\"")
- '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" * @version\" '>'n" "\" */\" '>'n'" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n")))
- '(jde-javadoc-checker-level (quote protected))
- '(jde-appletviewer-option-vm-args nil)
- '(jde-run-executable-args nil)
- '(jde-db-option-garbage-collection (quote (t t)))
- '(jde-javadoc-gen-stylesheetfile "")
- '(jde-use-font-lock t)
- '(jde-compile-option-bootclasspath nil)
- '(jde-make-program "make")
- '(jde-javadoc-gen-group nil)
- '(jde-javadoc-gen-link-offline nil)
- '(jde-entering-java-buffer-hook (quote (jde-reload-project-file jde-which-method-update-on-entering-buffer)))
- '(jde-javadoc-gen-doc-title "")
- '(jde-javadoc-gen-header "")
- '(jde-run-option-vm-args nil)
- '(jde-javadoc-gen-window-title "")
- '(jde-compile-option-directory "/sourceforge/docbook/xsl/extensions/saxon64/.classes" t)
- '(jde-imenu-create-index-function (quote semantic-create-imenu-index))
- '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" * @author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" * @version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n" "'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'>'n")))
- '(jde-read-make-args nil)
- '(jde-javadoc-gen-noindex nil)
- '(jde-gen-mouse-listener-template (quote ("(end-of-line) '& (P \"Component name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>")))
- '(jde-run-option-application-args (quote ("-IN" "test.xml" "-XSL" "test.xsl")) t)
- '(jde-bug-vm-executable (quote ("java")))
- '(jde-db-set-initial-breakpoint t)
- '(jde-bug-debugger-command-timeout 10)
- '(jde-db-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes"))))
- '(jde-db-option-properties nil t)
- '(jde-db-source-directories (quote ("/share/xsl/docbook/extensions/xalan2/" "/projects/apache/xml-xalan/java/src/" "/projects/apache/xml-xerces/java/build/src/" "/projects/sun/resolver/" "/home/ndw/java/")) t)
- '(jde-run-read-app-args nil)
- '(jde-gen-to-string-method-template (quote ("(end-of-line) '&" "\"public String toString() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n'>")))
- '(jde-quote-classpath t)
- '(jde-bug-window-message nil)
- '(jde-build-use-make nil)
- '(jde-javadoc-author-tag-template "\"* @author <a href=\\\"mailto:\" user-mail-address
- \"\\\">\" user-full-name \"</a>\"")
- '(jde-javadoc-describe-field-template "\"* Describe \" (jde-javadoc-field-type modifiers)
- \" \" (jde-javadoc-code name) \" here.\"")
- '(jde-javadoc-gen-link-URL nil)
- '(jde-compile-option-classpath (quote ("/sourceforge/docbook/xsl/extensions/saxon64/.classes" "/usr/local/java/saxon-6.4.3/saxon.jar" "/usr/local/jaxp-1.1/jaxp.jar" "/usr/local/jaxp-1.1/crimson.jar")) t)
- '(jde-bug-jdk-directory "/usr/local/jdk1.2.2" t)
- '(jde-gen-boilerplate-function (quote jde-gen-create-buffer-boilerplate))
- '(jde-gen-entity-bean-template (quote ("(jde-import-insert-imports-into-buffer (list \"javax.ejb.*\"
-\"java.rmi.RemoteException\"))" "'> \"public void ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx) throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n'>")))
- '(jde-javadoc-describe-constructor-template "\"* Creates a new \" (jde-javadoc-code name) \" instance.\"")
- '(jde-bug-server-shmem-name (quote (t . "JDEbug")))
- '(jde-db-startup-commands nil)
- '(jde-javadoc-gen-docletpath nil)
- '(jde-javadoc-gen-split-index nil)
- '(jde-compile-option-deprecation nil t)
- '(jde-import-group-of-rules (quote (("^javax?\\."))))
- '(jde-which-method-mode t)
- '(jde-gen-k&r t)
- '(jde-javadoc-gen-bottom "")
- '(jde-javadoc-gen-footer "")
- '(jde-db-option-classpath (quote ("/share/xsl/docbook/extensions/xalan2/.classes" "/projects/apache/xml-xalan/java/build/classes" "/projects/apache/xml-xalan/java/bin/bsf.jar" "/projects/apache/xml-xalan/java/bin/xerces.jar" "/projects/sun/resolver/.classes" "/projects/apache/xml-xerces/java/build/classes" "/home/ndw/java")) t)
- '(jde-gen-cflow-for (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"for\")" "'(l '> \"for (\" (p \"for-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-run-mode-hook nil)
- '(jde-db-option-verify (quote (nil t)))
- '(jde-compile-option-extdirs nil)
- '(jde-imenu-sort nil)
- '(jde-gen-get-set-var-template (quote ("(end-of-line) '&" "(P \"Variable type: \" type) \" \"" "(P \"Variable name: \" name) \";\" '>'n '>'n" "\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"* @return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \" (s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\" is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of \" (s name) \".\" '>'n" "\"* @param v Value to assign to \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap (jde-gen-lookup-named 'name))" "\"(\" (s type) \" v) \" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\" '>'n \"}\" '>'n'>")))
- '(jde-bug-saved-breakpoints nil)
- '(jde-compile-option-sourcepath (quote ("/share/xsl/docbook/extensions/xalan2" "/projects/apache/xml-xalan/java/build/src" "/projects/apache/xml-xerces/java/build/src" "/projects/sun/resolver")) t)
- '(jde-gen-cflow-if (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-db-option-java-profile (quote (nil . "./java.prof")))
- '(jde-javadoc-gen-author t)
- '(jde-compile-option-depend-switch (quote ("-Xdepend")))
- '(jde-setnu-mode-enable nil)
- '(jde-run-applet-doc "")
- '(jde-compile-option-vm-args nil)
- '(jde-javadoc-gen-overview "")
- '(jde-javadoc-gen-notree nil)
- '(jde-run-option-garbage-collection (quote (t t)))
- '(jde-db-mode-hook nil)
- '(jde-javadoc-command-path "javadoc")
- '(jde-db-option-heap-profile (quote (nil "./java.hprof" 5 20 "Allocation objects")))
- '(jde-import-group-function (quote jde-import-group-of))
- '(jde-db-read-vm-args nil)
- '(jde-bug-debug nil)
- '(jde-javadoc-end-block-template nil)
- '(jde-javadoc-gen-packages nil)
- '(jde-gen-cflow-if-else (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"ife\")" "'(l '> \"if (\" (p \"if-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")\"'> n" "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of if (\" (s clause) \")else\"'>'n'>)" ")")))
- '(jde-gen-cflow-while (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"while\")" "'(l '> \"while (\" (p \"while-clause: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of while (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-bug-server-socket (quote (t . "2112")))
- '(jde-imenu-include-modifiers nil)
- '(jde-appletviewer-option-encoding "")
- '(jde-bug-breakpoint-cursor-colors (quote ("cyan" . "brown")))
- '(jde-compile-option-target (quote ("1.1")))
- '(jde-run-executable "")
- '(jde-run-option-heap-size (quote ((1 . "megabytes") (16 . "megabytes"))))
- '(jde-gen-cflow-switch (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"switch\")" "'(l '> \"switch (\" (p \"switch-condition: \" clause) \") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p \"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n" "\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s clause) \")\"'>'n'>)" ")")))
- '(jde-which-method-abbrev-symbol "~")
- '(jde-db-option-vm-args nil)
- '(jde-run-application-class "org.apache.xalan.xslt.Process" t)
- '(jde-javadoc-gen-doclet "")
- '(jde-import-auto-sort nil)
- '(jde-run-option-verbose (quote (nil nil nil)))
- '(jde-project-file-name "prj.el")
- '(jde-compile-option-debug (quote ("selected" (t nil nil))) t)
- '(jde-bug-jre-home "")
- '(jde-import-sorted-groups nil)
- '(jde-run-applet-viewer "")
- '(jde-javadoc-return-tag-template "\"* @return \" (jde-javadoc-a type)
- \" \" (jde-javadoc-code type) \" value\"")
- '(jde-javadoc-gen-version t)
- '(jde-javadoc-gen-helpfile "")
- '(jde-import-excluded-packages (quote ("bsh.*")))
- '(jde-run-read-vm-args nil)
- '(jde-help-docsets nil)
- '(jde-gen-inner-class-template (quote ("(end-of-line) '& \"class \" (P \"Class name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent (jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))" "(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>")))
- '(jde-auto-parse-buffer-interval 180)
- '(jde-run-option-verify (quote (nil t)))
- '(jde-import-reverse-sort-group nil)
- '(jde-compile-option-optimize nil)
- '(jde-gen-cflow-case (quote ("(if (jde-parse-comment-or-quoted-p)" "'(l \"case\")" "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p)" ")")))
- '(jde-compile-option-depend nil)
- '(jde-javadoc-describe-class-template "\"* Describe class \" (jde-javadoc-code name) \" here.\"")
- '(jde-javadoc-gen-serialwarn nil)
- '(jde-gen-action-listener-template (quote ("'& (P \"Component name: \")" "\".addActionListener(new ActionListener() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>")))
- '(jde-auto-parse-enable t)
- '(jde-compile-option-command-line-args "")
- '(jde-gen-buffer-templates (quote (("Class" . jde-gen-class) ("Console" . jde-gen-console) ("Swing App" . jde-gen-jfc-app))))
- '(jde-project-context-switching-enabled-p t)
- '(jde-javadoc-gen-args nil)
- '(jde-run-option-stack-size (quote ((128 . "kilobytes") (400 . "kilobytes"))))
- '(jde-run-option-properties nil t))
-
-
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<project name="saxon65" default="default" basedir=".">
+ <description>Builds, tests, and runs the project saxon65.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <!--
+
+ There exist several targets which are by default empty and which can be
+ used for execution of your tasks. These targets are usually executed
+ before and after some main targets. They are:
+
+ -pre-init: called before initialization of project properties
+ -post-init: called after initialization of project properties
+ -pre-compile: called before javac compilation
+ -post-compile: called after javac compilation
+ -pre-compile-single: called before javac compilation of single file
+ -post-compile-single: called after javac compilation of single file
+ -pre-compile-test: called before javac compilation of JUnit tests
+ -post-compile-test: called after javac compilation of JUnit tests
+ -pre-compile-test-single: called before javac compilation of single JUnit test
+ -post-compile-test-single: called after javac compilation of single JUunit test
+ -pre-jar: called before JAR building
+ -post-jar: called after JAR building
+ -post-clean: called after cleaning build products
+
+ (Targets beginning with '-' are not intended to be called on their own.)
+
+ Example of inserting an obfuscator after compilation could look like this:
+
+ <target name="-post-compile">
+ <obfuscate>
+ <fileset dir="${build.classes.dir}"/>
+ </obfuscate>
+ </target>
+
+ For list of available properties check the imported
+ nbproject/build-impl.xml file.
+
+
+ Another way to customize the build is by overriding existing main targets.
+ The targets of interest are:
+
+ -init-macrodef-javac: defines macro for javac compilation
+ -init-macrodef-junit: defines macro for junit execution
+ -init-macrodef-debug: defines macro for class debugging
+ -init-macrodef-java: defines macro for class execution
+ -do-jar-with-manifest: JAR building (if you are using a manifest)
+ -do-jar-without-manifest: JAR building (if you are not using a manifest)
+ run: execution of project
+ -javadoc-build: Javadoc generation
+ test-report: JUnit report generation
+
+ An example of overriding the target for project execution could look like this:
+
+ <target name="run" depends="saxon65-impl.jar">
+ <exec dir="bin" executable="launcher.exe">
+ <arg file="${dist.jar}"/>
+ </exec>
+ </target>
+
+ Notice that the overridden target depends on the jar target and not only on
+ the compile target as the regular run target does. Again, for a list of available
+ properties which you can use, check the target you are overriding in the
+ nbproject/build-impl.xml file.
+
+ -->
+</project>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT ***
+*** EDIT ../build.xml INSTEAD ***
+
+For the purpose of easier reading the script
+is divided into following sections:
+
+ - initialization
+ - compilation
+ - jar
+ - execution
+ - debugging
+ - javadoc
+ - junit compilation
+ - junit execution
+ - junit debugging
+ - applet
+ - cleanup
+
+-->
+<project name="saxon65-impl" default="default" basedir=".." xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject2="http://www.netbeans.org/ns/j2se-project/2" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1">
+ <target name="default" depends="test,jar,javadoc" description="Build and test whole project."/>
+ <!--
+ ======================
+ INITIALIZATION SECTION
+ ======================
+ -->
+ <target name="-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-init-private" depends="-pre-init">
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target name="-init-user" depends="-pre-init,-init-private">
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.4"/>
+ <property name="default.javac.target" value="1.4"/>
+ </target>
+ <target name="-init-project" depends="-pre-init,-init-private,-init-user">
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property">
+ <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>
+ <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>
+ <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>
+ <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>
+ <condition property="platform.javac" value="${platform.home}/bin/javac">
+ <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>
+ </condition>
+ <property name="platform.javac" value="${platform.javac.tmp}"/>
+ <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>
+ <condition property="platform.java" value="${platform.home}/bin/java">
+ <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>
+ </condition>
+ <property name="platform.java" value="${platform.java.tmp}"/>
+ <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>
+ <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">
+ <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>
+ </condition>
+ <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>
+ <condition property="platform.invalid" value="true">
+ <or>
+ <contains string="${platform.javac}" substring="$${platforms."/>
+ <contains string="${platform.java}" substring="$${platforms."/>
+ <contains string="${platform.javadoc}" substring="$${platforms."/>
+ </or>
+ </condition>
+ <fail unless="platform.home">Must set platform.home</fail>
+ <fail unless="platform.bootcp">Must set platform.bootcp</fail>
+ <fail unless="platform.java">Must set platform.java</fail>
+ <fail unless="platform.javac">Must set platform.javac</fail>
+ <fail if="platform.invalid">Platform is not correctly set up</fail>
+ <available file="${manifest.file}" property="manifest.available"/>
+ <condition property="manifest.available+main.class">
+ <and>
+ <isset property="manifest.available"/>
+ <isset property="main.class"/>
+ <not>
+ <equals arg1="${main.class}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="manifest.available+main.class+mkdist.available">
+ <and>
+ <istrue value="${manifest.available+main.class}"/>
+ <isset property="libs.CopyLibs.classpath"/>
+ </and>
+ </condition>
+ <condition property="have.tests">
+ <or>
+ <available file="${test.src.dir}"/>
+ </or>
+ </condition>
+ <condition property="have.sources">
+ <or>
+ <available file="${src.dir}"/>
+ </or>
+ </condition>
+ <condition property="netbeans.home+have.tests">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="have.tests"/>
+ </and>
+ </condition>
+ <condition property="no.javadoc.preview">
+ <isfalse value="${javadoc.preview}"/>
+ </condition>
+ <property name="run.jvmargs" value=""/>
+ <property name="javac.compilerargs" value=""/>
+ <property name="work.dir" value="${basedir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <property name="javac.debug" value="true"/>
+ <property name="javadoc.preview" value="true"/>
+ </target>
+ <target name="-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-init-check" depends="-pre-init,-init-private,-init-user,-init-project,-do-init">
+ <fail unless="src.dir">Must set src.dir</fail>
+ <fail unless="test.src.dir">Must set test.src.dir</fail>
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ </target>
+ <target name="-init-macrodef-property">
+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-javac">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute name="srcdir" default="${src.dir}"/>
+ <attribute name="destdir" default="${build.classes.dir}"/>
+ <attribute name="classpath" default="${javac.classpath}"/>
+ <attribute name="debug" default="${javac.debug}"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" fork="yes" executable="${platform.javac}" tempdir="${java.io.tmpdir}" includeantruntime="false">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${javac.compilerargs}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-junit">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute name="includes" default="**/*Test.java"/>
+ <sequential>
+ <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed" jvm="${platform.java}">
+ <batchtest todir="${build.test.results.dir}">
+ <fileset dir="${test.src.dir}" includes="@{includes}"/>
+ </batchtest>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper type="glob" from="test-sys-prop.*" to="*"/>
+ </syspropertyset>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${run.jvmargs}"/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-nbjpda">
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="name" default="${main.class}"/>
+ <attribute name="classpath" default="${debug.classpath}"/>
+ <attribute name="stopclassname" default=""/>
+ <sequential>
+ <nbjpdastart transport="dt_socket" addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <bootclasspath>
+ <path path="${platform.bootcp}"/>
+ </bootclasspath>
+ </nbjpdastart>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="dir" default="${build.classes.dir}"/>
+ <sequential>
+ <nbjpdareload>
+ <fileset includes="${fix.includes}*.class" dir="@{dir}"/>
+ </nbjpdareload>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-debug">
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute name="classname" default="${main.class}"/>
+ <attribute name="classpath" default="${debug.classpath}"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java fork="true" classname="@{classname}" dir="${work.dir}" jvm="${platform.java}">
+ <jvmarg value="-Xdebug"/>
+ <jvmarg value="-Xnoagent"/>
+ <jvmarg value="-Djava.compiler=none"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper type="glob" from="run-sys-prop.*" to="*"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-java">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="classname" default="${main.class}"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java fork="true" classname="@{classname}" dir="${work.dir}" jvm="${platform.java}">
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="${run.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper type="glob" from="run-sys-prop.*" to="*"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-presetdef-jar">
+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <jar jarfile="${dist.jar}" compress="${jar.compress}">
+ <j2seproject1:fileset dir="${build.classes.dir}"/>
+ </jar>
+ </presetdef>
+ </target>
+ <target name="init" depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar"/>
+ <!--
+ ===================
+ COMPILATION SECTION
+ ===================
+ -->
+ <target name="deps-jar" depends="init" unless="no.deps"/>
+ <target name="-pre-pre-compile" depends="init,deps-jar">
+ <mkdir dir="${build.classes.dir}"/>
+ </target>
+ <target name="-pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile" if="have.sources">
+ <j2seproject3:javac/>
+ <copy todir="${build.classes.dir}">
+ <fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project."/>
+ <target name="-pre-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:javac>
+ <customize>
+ <patternset includes="${javac.includes}"/>
+ </customize>
+ </j2seproject3:javac>
+ </target>
+ <target name="-post-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile-single" depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single"/>
+ <!--
+ ====================
+ JAR BUILDING SECTION
+ ====================
+ -->
+ <target name="-pre-pre-jar" depends="init">
+ <dirname property="dist.jar.dir" file="${dist.jar}"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ </target>
+ <target name="-pre-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-jar-without-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available">
+ <j2seproject1:jar/>
+ </target>
+ <target name="-do-jar-with-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" unless="manifest.available+main.class">
+ <j2seproject1:jar manifest="${manifest.file}"/>
+ </target>
+ <target name="-do-jar-with-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" unless="manifest.available+main.class+mkdist.available">
+ <j2seproject1:jar manifest="${manifest.file}">
+ <j2seproject1:manifest>
+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
+ </j2seproject1:manifest>
+ </j2seproject1:jar>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
+ <property name="dist.jar.resolved" location="${dist.jar}"/>
+ <pathconvert property="run.classpath.with.dist.jar">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
+ </pathconvert>
+ <echo>${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
+ </target>
+ <target name="-do-jar-with-libraries" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available">
+ <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
+ <pathconvert property="run.classpath.without.build.classes.dir">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to=""/>
+ </pathconvert>
+ <pathconvert property="jar.classpath" pathsep=" ">
+ <path path="${run.classpath.without.build.classes.dir}"/>
+ <chainedmapper>
+ <flattenmapper/>
+ <globmapper from="*" to="lib/*"/>
+ </chainedmapper>
+ </pathconvert>
+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" name="copylibs" classpath="${libs.CopyLibs.classpath}"/>
+ <copylibs manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}" jarfile="${dist.jar}" compress="${jar.compress}">
+ <fileset dir="${build.classes.dir}"/>
+ <manifest>
+ <attribute name="Main-Class" value="${main.class}"/>
+ <attribute name="Class-Path" value="${jar.classpath}"/>
+ </manifest>
+ </copylibs>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property name="dist.jar.resolved" location="${dist.jar}"/>
+ <echo>${platform.java} -jar "${dist.jar.resolved}"</echo>
+ </target>
+ <target name="-post-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="jar" depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR."/>
+ <!--
+ =================
+ EXECUTION SECTION
+ =================
+ -->
+ <target name="run" depends="init,compile" description="Run a main class.">
+ <j2seproject1:java>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <target name="run-single" depends="init,compile-single">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <j2seproject1:java classname="${run.class}"/>
+ </target>
+ <!--
+ =================
+ DEBUGGING SECTION
+ =================
+ -->
+ <target name="-debug-start-debugger" if="netbeans.home" depends="init">
+ <j2seproject1:nbjpdastart name="${debug.class}"/>
+ </target>
+ <target name="-debug-start-debuggee" depends="init,compile">
+ <j2seproject3:debug>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target name="debug" if="netbeans.home" depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE."/>
+ <target name="-debug-start-debugger-stepinto" if="netbeans.home" depends="init">
+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
+ </target>
+ <target name="debug-stepinto" if="netbeans.home" depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee"/>
+ <target name="-debug-start-debuggee-single" if="netbeans.home" depends="init,compile-single">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <j2seproject3:debug classname="${debug.class}"/>
+ </target>
+ <target name="debug-single" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single"/>
+ <target name="-pre-debug-fix" depends="init">
+ <fail unless="fix.includes">Must set fix.includes</fail>
+ <property name="javac.includes" value="${fix.includes}.java"/>
+ </target>
+ <target name="-do-debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,compile-single">
+ <j2seproject1:nbjpdareload/>
+ </target>
+ <target name="debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix"/>
+ <!--
+ ===============
+ JAVADOC SECTION
+ ===============
+ -->
+ <target name="-javadoc-build" depends="init">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true" useexternalfile="true" executable="${platform.javadoc}">
+ <classpath>
+ <path path="${javac.classpath}"/>
+ </classpath>
+ <sourcepath>
+ <pathelement location="${src.dir}"/>
+ </sourcepath>
+ <packageset dir="${src.dir}" includes="*/**"/>
+ <fileset dir="${src.dir}" includes="*.java"/>
+ </javadoc>
+ </target>
+ <target name="-javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,-javadoc-build">
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
+ </target>
+ <target name="javadoc" depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc."/>
+ <!--
+ =========================
+ JUNIT COMPILATION SECTION
+ =========================
+ -->
+ <target name="-pre-pre-compile-test" if="have.tests" depends="init,compile">
+ <mkdir dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="-pre-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile-test" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test">
+ <j2seproject3:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="**/*.java"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/>
+ <target name="-pre-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile-test-single" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}">
+ <customize>
+ <patternset includes="${javac.includes}"/>
+ </customize>
+ </j2seproject3:javac>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="**/*.java"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single"/>
+ <!--
+ =======================
+ JUNIT EXECUTION SECTION
+ =======================
+ -->
+ <target name="-pre-test-run" if="have.tests" depends="init">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target name="-do-test-run" if="have.tests" depends="init,compile-test,-pre-test-run">
+ <j2seproject3:junit/>
+ </target>
+ <target name="-post-test-run" if="have.tests" depends="init,compile-test,-pre-test-run,-do-test-run">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target name="test-report" if="have.tests" depends="init"/>
+ <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/>
+ <target name="test" depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/>
+ <target name="-pre-test-run-single" if="have.tests" depends="init">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target name="-do-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <j2seproject3:junit includes="${test.includes}"/>
+ </target>
+ <target name="-post-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target name="test-single" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test."/>
+ <!--
+ =======================
+ JUNIT DEBUGGING SECTION
+ =======================
+ -->
+ <target name="-debug-start-debuggee-test" if="have.tests" depends="init,compile-test">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <j2seproject3:debug classname="junit.textui.TestRunner" classpath="${debug.test.classpath}">
+ <customize>
+ <arg line="${test.class}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target name="-debug-start-debugger-test" if="netbeans.home+have.tests" depends="init,compile-test">
+ <j2seproject1:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/>
+ </target>
+ <target name="debug-test" depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test"/>
+ <target name="-do-debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,compile-test-single">
+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix-test"/>
+ <!--
+ =========================
+ APPLET EXECUTION SECTION
+ =========================
+ -->
+ <target name="run-applet" depends="init,compile-single">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject1:java classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <!--
+ =========================
+ APPLET DEBUGGING SECTION
+ =========================
+ -->
+ <target name="-debug-start-debuggee-applet" if="netbeans.home" depends="init,compile-single">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject3:debug classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target name="debug-applet" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet"/>
+ <!--
+ ===============
+ CLEANUP SECTION
+ ===============
+ -->
+ <target name="deps-clean" depends="init" unless="no.deps"/>
+ <target name="-do-clean" depends="init">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+ </target>
+ <target name="-post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="clean" depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products."/>
+</project>
--- /dev/null
+build.xml.data.CRC32=8e458dcb
+build.xml.script.CRC32=c0233ac0
+build.xml.stylesheet.CRC32=d5b6853a
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=8e458dcb
+nbproject/build-impl.xml.script.CRC32=39e8d752
+nbproject/build-impl.xml.stylesheet.CRC32=99b91518
--- /dev/null
+application.args=
+build.classes.dir=${build.dir}/classes
+build.classes.excludes=**/*.java,**/*.form
+# This directory is removed when the project is cleaned:
+build.dir=build
+build.generated.dir=${build.dir}/generated
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+debug.classpath=\
+ ${run.classpath}
+debug.test.classpath=\
+ ${run.test.classpath}
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.jar=${dist.dir}/saxon65.jar
+dist.javadoc.dir=${dist.dir}/javadoc
+file.reference.saxon.jar=../../../../../usr/local/java/saxon6/saxon.jar
+jar.compress=false
+javac.classpath=\
+ ${file.reference.saxon.jar}
+# Space-separated list of extra javac options
+javac.compilerargs=
+javac.deprecation=false
+javac.source=1.4
+javac.target=1.4
+javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
+ ${libs.junit.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+meta.inf.dir=${src.dir}/META-INF
+platform.active=Java_HotSpot_TM__Client_VM_1.4.2_11-b06
+run.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project
+# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
+# or test-sys-prop.name=value to set system properties for unit tests):
+run.jvmargs=
+run.test.classpath=\
+ ${javac.test.classpath}:\
+ ${build.test.classes.dir}
+src.dir=src
+test.src.dir=test
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.java.j2seproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
+ <name>saxon65</name>
+ <minimum-ant-version>1.6.5</minimum-ant-version>
+ <explicit-platform explicit-source-supported="true"/>
+ <source-roots>
+ <root id="src.dir"/>
+ </source-roots>
+ <test-roots>
+ <root id="test.src.dir"/>
+ </test-roots>
+ </data>
+ </configuration>
+</project>
+++ /dev/null
-SOURCEPATH=..
-VPATH=$(SOURCEPATH)/
-CLASSBASE=$(SOURCEPATH)/.classes
-SUBDIRS=__PHONY__ com
-
-include Makefile.incl
-include ../.classes/Makefile.common
-
+++ /dev/null
-CLASSPATH=$(CLASSBASE):/usr/local/java/saxonb-8/saxon8.jar
-
-all: $(CLASSFILES)
- -@for f in $(SUBDIRS); do \
- if [ "$$f" != "__PHONY__" ]; then \
- cd $$f; make all; cd ..; \
- fi \
- done
-
-clean:
- rm -f *.class
- -@for f in $(SUBDIRS); do \
- if [ "$$f" != "__PHONY__" ]; then \
- cd $$f; make clean; cd ..; \
- fi \
- done
-
-jar: all
- jar cf ../../saxon8.jar `find com -name "*.class" -print`
-
-%.class : %.java
- javac -classpath $(CLASSPATH) \
- -sourcepath $(SOURCEPATH) \
- -g -d $(CLASSBASE) \
- $<
-
-includes:
- classlist $(VPATH) > Makefile.incl
- -@for f in $(SUBDIRS); do \
- if [ "$$f" != "__PHONY__" ]; then \
- if [ -d "$$f" -a -f "$$f/Makefile" ]; then \
- cd $$f; make includes; cd ..; \
- else if [ ! -d "$$f" ]; then \
- mkdir $$f; \
- fi; \
- fi; \
- fi; \
- done
+++ /dev/null
-CLASSFILES=
+++ /dev/null
-SOURCEPATH=../..
-VPATH=$(SOURCEPATH)/com
-CLASSBASE=$(SOURCEPATH)/.classes
-SUBDIRS=__PHONY__ nwalsh
-
-include Makefile.incl
-include ../../.classes/Makefile.common
-
+++ /dev/null
-CLASSFILES=
+++ /dev/null
-SOURCEPATH=../../..
-VPATH=$(SOURCEPATH)/com/nwalsh
-CLASSBASE=$(SOURCEPATH)/.classes
-SUBDIRS=__PHONY__ saxon8
-
-include Makefile.incl
-include ../../../.classes/Makefile.common
-
+++ /dev/null
-CLASSFILES=
+++ /dev/null
-SOURCEPATH=../../../..
-VPATH=$(SOURCEPATH)/com/nwalsh/saxon8
-CLASSBASE=$(SOURCEPATH)/.classes
-SUBDIRS=__PHONY__
-
-include Makefile.incl
-include ../../../../.classes/Makefile.common
-
+++ /dev/null
-CLASSFILES=Callout.class \
-ImageIntrinsics.class \
-Text.class \
-TextFactory.class \
-Verbatim.class
-
+++ /dev/null
-package com.nwalsh.saxon8;
-
-import net.sf.saxon.om.NodeInfo;
-
-/**
- * <p>A class for maintaining information about callouts.</p>
- *
- * <p>To make processing callouts easier, they are parsed out of the
- * input structure and stored in a sorted array. (The array is sorted
- * according to the order in which the callouts occur.)</p>
- *
- * <p>This class is just the little record
- * that we store in the array for each callout.</p>
- */
-public class Callout implements Comparable {
- /** The callout number. */
- private int callout = 0;
- /** The area Element item that generated this callout. */
- private NodeInfo area = null;
- /** The line on which this callout occurs. */
- private int line = 0;
- /** The column in which this callout appears. */
- private int col = 0;
-
- /** The constructor; initialize the private data structures. */
- public Callout(int callout, NodeInfo area, int line, int col) {
- this.callout = callout;
- this.area = area;
- this.line = line;
- this.col = col;
- }
-
- /**
- * <p>The compareTo method compares this Callout with another.</p>
- *
- * <p>Given two Callouts, A and B, A < B if:</p>
- *
- * <ol>
- * <li>A.line < B.line, or</li>
- * <li>A.line = B.line && A.col < B.col, or</li>
- * <li>A.line = B.line && A.col = B.col && A.callout < B.callout</li>
- * <li>Otherwise, they're equal.</li>
- * </ol>
- */
- public int compareTo (Object o) {
- Callout c = (Callout) o;
-
- if (line == c.getLine()) {
- if (col > c.getColumn()) {
- return 1;
- } else if (col < c.getColumn()) {
- return -1;
- } else {
- if (callout < c.getCallout()) {
- return -1;
- } else if (callout > c.getCallout()) {
- return 1;
- } else {
- return 0;
- }
- }
- } else {
- if (line > c.getLine()) {
- return 1;
- } else {
- return -1;
- }
- }
- }
-
- /** Access the Callout's area. */
- public NodeInfo getArea() {
- return area;
- }
-
- /** Access the Callout's line. */
- public int getLine() {
- return line;
- }
-
- /** Access the Callout's column. */
- public int getColumn() {
- return col;
- }
-
- /** Access the Callout's callout number. */
- public int getCallout() {
- return callout;
- }
-}
+++ /dev/null
-package com.nwalsh.saxon8;
-
-import java.io.*;
-import java.awt.*;
-import java.awt.image.*;
-import java.lang.Thread;
-import java.util.StringTokenizer;
-
-/**
- * <p>Saxon extension to examine intrinsic size of images</p>
- *
- * <p>$Id$</p>
- *
- * <p>Copyright (C) 2002 Norman Walsh.</p>
- *
- * <p>This class provides a
- * <a href="http://saxon.sourceforge.net/">Saxon</a>
- * extension to find the intrinsic size of images.</p>
- *
- * <p><b>Change Log:</b></p>
- * <dl>
- * <dt>1.0</dt>
- * <dd><p>Initial release.</p></dd>
- * </dl>
- *
- * @author Norman Walsh
- * <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
- *
- * @version $Id$
- *
- */
-public class ImageIntrinsics implements ImageObserver {
- boolean imageLoaded = false;
- boolean imageFailed = false;
- Image image = null;
- int width = -1;
- int depth = -1;
-
- /**
- * <p>Constructor for ImageIntrinsics</p>
- */
- public ImageIntrinsics(String imageFn) {
- System.setProperty("java.awt.headless","true");
- image = Toolkit.getDefaultToolkit().getImage (imageFn);
- width = image.getWidth(this);
-
- while (!imageFailed && (width == -1 || depth == -1)) {
- try {
- java.lang.Thread.currentThread().sleep(50);
- } catch (Exception e) {
- // nop;
- }
- width = image.getWidth(this);
- depth = image.getHeight(this);
- }
-
- if (imageFailed) {
- // Maybe it's an EPS or PDF?
- // FIXME: this code is crude
- BufferedReader ir = null;
- String line = null;
- int lineLimit = 100;
-
- try {
- ir = new BufferedReader(new FileReader(new File(imageFn)));
- line = ir.readLine();
-
- if (line != null && line.startsWith("%PDF-")) {
- // We've got a PDF!
- while (lineLimit > 0 && line != null) {
- lineLimit--;
- if (line.startsWith("/CropBox [")) {
- line = line.substring(10);
- if (line.indexOf("]") >= 0) {
- line = line.substring(0, line.indexOf("]"));
- }
- parseBox(line);
- lineLimit = 0;
- }
- line = ir.readLine();
- }
- } else if (line != null && line.startsWith("%!") && line.indexOf(" EPSF-") > 0) {
- // We've got an EPS!
- while (lineLimit > 0 && line != null) {
- lineLimit--;
- if (line.startsWith("%%BoundingBox: ")) {
- line = line.substring(15);
- parseBox(line);
- lineLimit = 0;
- }
- line = ir.readLine();
- }
- } else {
- System.err.println("Failed to interpret image: " + imageFn);
- }
- } catch (Exception e) {
- // nop;
- }
-
- if (ir != null) {
- try {
- ir.close();
- } catch (Exception e) {
- // nop;
- }
- }
- }
- }
-
- public int getWidth(int defaultWidth) {
- if (width >= 0) {
- return width;
- } else {
- return defaultWidth;
- }
- }
-
- public int getDepth(int defaultDepth) {
- if (depth >= 0) {
- return depth;
- } else {
- return defaultDepth;
- }
- }
-
- private void parseBox(String line) {
- int [] corners = new int [4];
- int count = 0;
-
- StringTokenizer st = new StringTokenizer(line);
- while (count < 4 && st.hasMoreTokens()) {
- try {
- corners[count++] = Integer.parseInt(st.nextToken());
- } catch (Exception e) {
- // nop;
- }
- }
-
- width = corners[2] - corners[0];
- depth = corners[3] - corners[1];
- }
-
- public boolean imageUpdate(Image img, int infoflags,
- int x, int y, int width, int height) {
- if ((infoflags & ImageObserver.ERROR) == ImageObserver.ERROR) {
- imageFailed = true;
- return false;
- }
-
- // I really only care about the width and height, but if I return false as
- // soon as those are available, the BufferedInputStream behind the loader
- // gets closed too early.
- int flags = ImageObserver.ALLBITS;
- if ((infoflags & flags) == flags) {
- return false;
- } else {
- return true;
- }
- }
-}
+++ /dev/null
-// Text - Saxon extension element for inserting text
-
-package com.nwalsh.saxon8;
-
-import java.io.BufferedReader;
-import java.io.InputStreamReader;
-import java.io.InputStream;
-import java.io.IOException;
-import java.io.FileNotFoundException;
-import java.net.URL;
-import java.net.MalformedURLException;
-
-import javax.xml.transform.TransformerException;
-import javax.xml.transform.TransformerConfigurationException;
-import javax.xml.transform.URIResolver;
-import javax.xml.transform.Source;
-
-import net.sf.saxon.Controller;
-import net.sf.saxon.instruct.ExtensionInstruction;
-import net.sf.saxon.event.Receiver;
-import net.sf.saxon.expr.Expression;
-import net.sf.saxon.instruct.Executable;
-import net.sf.saxon.expr.SimpleExpression;
-import net.sf.saxon.expr.XPathContext;
-import net.sf.saxon.om.Item;
-import net.sf.saxon.om.NodeInfo;
-import net.sf.saxon.om.NamePool;
-import net.sf.saxon.xpath.XPathException;
-
-/*
-import net.sf.saxon.value.AtomicValue;
-import net.sf.saxon.value.ObjectValue;
-*/
-
-import org.xml.sax.AttributeList;
-
-/**
- * <p>Saxon extension element for inserting text
- *
- * <p>$Id$</p>
- *
- * <p>Copyright (C) 2000 Norman Walsh.</p>
- *
- * <p>This class provides a
- * <a href="http://users.iclway.co.uk/mhkay/saxon/">Saxon</a>
- * extension element for inserting text into a result tree.</p>
- *
- * <p><b>Change Log:</b></p>
- * <dl>
- * <dt>1.0</dt>
- * <dd><p>Initial release.</p></dd>
- * </dl>
- *
- * @author Norman Walsh
- * <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
- *
- * @version $Id$
- *
- */
-public class Text extends ExtensionInstruction {
- Expression hrefExpr;
- Expression encodingExpr;
-
- /**
- * <p>Constructor for Text</p>
- *
- * <p>Does nothing.</p>
- */
- public Text() {
- }
-
- /**
- * <p>Can this element contain a template-body?</p>
- *
- * <p>Yes, it can, but only so that it can contain xsl:fallback.</p>
- *
- * @return true
- */
- public boolean mayContainTemplateBody() {
- return true;
- }
-
- /**
- * <p>Validate the arguments</p>
- *
- * <p>The element must have an href attribute.</p>
- */
- public void prepareAttributes() throws TransformerConfigurationException {
- // Get mandatory href attribute
- String fnAtt = getAttribute("href");
- if (fnAtt == null || "".equals(fnAtt)) {
- reportAbsence("href");
- }
- hrefExpr = makeAttributeValueTemplate(fnAtt);
-
- fnAtt = getAttribute("encoding");
- if (fnAtt == null || "".equals(fnAtt)) {
- encodingExpr = null;
- } else {
- encodingExpr = makeAttributeValueTemplate(fnAtt);
- }
- }
-
- /** Validate that the element occurs in a reasonable place. */
- public void validate() throws TransformerConfigurationException {
- checkWithinTemplate();
- hrefExpr = typeCheck("href", hrefExpr);
- if (encodingExpr != null) {
- encodingExpr = typeCheck("encoding", encodingExpr);
- }
- }
-
- public Expression compile(Executable exec)
- throws TransformerConfigurationException {
- return new TextInstruction(hrefExpr, encodingExpr);
- }
-
- private static class TextInstruction extends SimpleExpression {
- Expression hrefExpr;
- Expression encodingExpr;
-
- public TextInstruction(Expression hrefExpr, Expression encExpr) {
- this.hrefExpr = hrefExpr;
- encodingExpr = encExpr;
- }
-
- public int getImplementationMethod() {
- return EVALUATE_METHOD;
- }
-
- public String getExpressionType() {
- return "s8text:insertfile";
- }
-
- /**
- * <p>Insert the text of the file into the result tree</p>
- *
- * <p>Processing this element inserts the contents of the URL named
- * by the href attribute into the result tree as plain text.</p>
- *
- * <p>Optional encoding attribute can specify encoding of resource.
- * If not specified default system encoding is used.</p>
- *
- */
- public Item evaluateItem(XPathContext context) throws XPathException {
- Controller controller = context.getController();
- NamePool namePool = controller.getNamePool();
- Receiver out = context.getReceiver();
- String href = hrefExpr.evaluateAsString(context);
-
- String encoding = "";
- if (encodingExpr != null) {
- encoding = encodingExpr.evaluateAsString(context);
- }
-
- String baseURI = ((NodeInfo) context.getContextItem()).getBaseURI();
-
- URIResolver resolver = context.getController().getURIResolver();
-
- if (resolver != null) {
- try {
- Source source = resolver.resolve(href, baseURI);
- href = source.getSystemId();
- } catch (TransformerException te) {
- // nop
- }
- }
-
- URL baseURL = null;
- URL fileURL = null;
-
- try {
- baseURL = new URL(baseURI);
- } catch (MalformedURLException e0) {
- // what the!?
- baseURL = null;
- }
-
- try {
- try {
- fileURL = new URL(baseURL, href);
- } catch (MalformedURLException e1) {
- try {
- fileURL = new URL(baseURL, "file:" + href);
- } catch (MalformedURLException e2) {
- System.out.println("Cannot open " + href);
- return null;
- }
- }
-
- InputStreamReader isr = null;
- if (encoding.equals("") == true)
- isr = new InputStreamReader(fileURL.openStream());
- else
- isr = new InputStreamReader(fileURL.openStream(), encoding);
-
- BufferedReader is = new BufferedReader(isr);
-
- final int BUFFER_SIZE = 4096;
- char chars[] = new char[BUFFER_SIZE];
- char nchars[] = new char[BUFFER_SIZE];
- int len = 0;
- int i = 0;
- int carry = -1;
-
- while ((len = is.read(chars)) > 0) {
- // various new lines are normalized to LF to prevent blank lines
- // between lines
-
- int nlen = 0;
- for (i=0; i<len; i++) {
- // is current char CR?
- if (chars[i] == '\r') {
- if (i < (len - 1)) {
- // skip it if next char is LF
- if (chars[i+1] == '\n') continue;
- // single CR -> LF to normalize MAC line endings
- nchars[nlen] = '\n';
- nlen++;
- continue;
- } else {
- // if CR is last char of buffer we must look ahead
- carry = is.read();
- nchars[nlen] = '\n';
- nlen++;
- if (carry == '\n') {
- carry = -1;
- }
- break;
- }
- }
- nchars[nlen] = chars[i];
- nlen++;
- }
-
- out.characters(String.valueOf(nchars), 0, 0);
- // handle look aheaded character
- if (carry != -1) out.characters(String.valueOf((char)carry), 0, 0);
- carry = -1;
- }
- is.close();
- } catch (Exception e) {
- System.out.println("Cannot read " + href);
- }
-
- return null;
- }
- }
-}
+++ /dev/null
-// TextFactory - Saxon extension element factory
-
-package com.nwalsh.saxon8;
-
-import net.sf.saxon.style.ExtensionElementFactory;
-import org.xml.sax.SAXException;
-
-/**
- * <p>Saxon extension element factory
- *
- * <p>$Id$</p>
- *
- * <p>Copyright (C) 2000 Norman Walsh.</p>
- *
- * <p>This class provides a
- * <a href="http://users.iclway.co.uk/mhkay/saxon/">Saxon</a>
- * extension element factory for the Text extension element
- * family.</p>
- *
- * <p><b>Change Log:</b></p>
- * <dl>
- * <dt>1.0</dt>
- * <dd><p>Initial release.</p></dd>
- * </dl>
- *
- * @author Norman Walsh
- * <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
- *
- * @version $Id$
- *
- * @see Text
- *
- */
-public class TextFactory implements ExtensionElementFactory {
- /**
- * <p>Constructor for TextFactory</p>
- *
- * <p>Does nothing.</p>
- */
- public TextFactory() {
- }
-
- /**
- * <p>Return the class that implements a particular extension element.</p>
- *
- * @param localname The local name of the extension element.
- *
- * @return The class that handles that extension element.
- *
- * @exception SAXException("Unknown Text extension element")
- */
- public Class getExtensionClass(String localname) {
- if (localname.equals("insertfile")) {
- try {
- return Class.forName("com.nwalsh.saxon8.Text");
- } catch (ClassNotFoundException e) {
- return null;
- }
- }
- return null;
- }
-}
-
-
-
-
-
+++ /dev/null
-// Verbatim.java - Saxon extensions supporting DocBook verbatim environments
-
-package com.nwalsh.saxon8;
-
-import java.util.Vector;
-import java.util.StringTokenizer;
-import java.util.Collections;
-import javax.xml.transform.TransformerException;
-
-import net.sf.saxon.Controller;
-import net.sf.saxon.Configuration;
-import net.sf.saxon.expr.XPathContext;
-import net.sf.saxon.om.DocumentInfo;
-import net.sf.saxon.om.Axis;
-import net.sf.saxon.om.AxisIterator;
-import net.sf.saxon.om.Item;
-import net.sf.saxon.om.SequenceIterator;
-import net.sf.saxon.om.NamePool;
-import net.sf.saxon.om.NodeInfo;
-import net.sf.saxon.type.Type;
-import net.sf.saxon.tinytree.TinyBuilder;
-import net.sf.saxon.event.NamespaceReducer;
-import net.sf.saxon.event.Receiver;
-
-/**
- * <p>Saxon extensions supporting DocBook verbatim environments</p>
- *
- * <p>$Id$</p>
- *
- * <p>Copyright (C) 2000 Norman Walsh.</p>
- *
- * <p>This class provides a
- * <a href="http://saxon.sourceforge.net/">Saxon</a> 8.x
- * implementation of two features that would be impractical to
- * implement directly in XSLT: line numbering and callouts.</p>
- *
- * <p><b>Line Numbering</b></p>
- * <p>The <tt>numberLines</tt> method takes a tree
- * (assumed to contain the contents of a formatted verbatim
- * element in DocBook: programlisting, screen, address, literallayout,
- * or synopsis) and returns a tree decorated with
- * line numbers.</p>
- *
- * <p><b>Callouts</b></p>
- * <p>The <tt>insertCallouts</tt> method takes an
- * <tt>areaspec</tt> and a tree
- * (assumed to contain the contents of a formatted verbatim
- * element in DocBook: programlisting, screen, address, literallayout,
- * or synopsis) and returns a tree decorated with
- * callouts.</p>
- *
- * <p><b>Change Log:</b></p>
- * <dl>
- * <dt>1.0</dt>
- * <dd><p>Initial release.</p></dd>
- * </dl>
- *
- * @author Norman Walsh
- * <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
- *
- * @version $Id$
- *
- */
-public class Verbatim {
- private static final int CALLOUT_TEXT = 1;
- private static final int CALLOUT_UNICODE = 2;
- private static final int CALLOUT_GRAPHICS = 3;
-
- /** The modulus for line numbering (every 'modulus' line is numbered). */
- private static int modulus = 5;
- /** The width (in characters) of line numbers (for padding). */
- private static int width = 0;
- /** The current line number. */
- private static int lineNumber = 1;
- /** The separator between the line number and the verbatim text. */
- private static String separator = " | ";
-
- /** The number of lines in the verbatim environment. */
- private static int lineCount = 0;
-
- /** The line number wrapper element. */
- private static NodeInfo wrapper = null;
-
- /** List of open elements. */
- private static Vector openElements = null;
-
- /** List of callouts. */
- private static Vector calloutList = null;
-
- /** The current column number. */
- private static int colNumber = 1;
-
- /** The default column for callouts that have only a line or line range */
- private static int defaultColumn = 60;
-
- /** The type of callout to use. */
- private static int calloutStyle = CALLOUT_TEXT;
-
- /** The prefix for text callouts. */
- private static String textPrefix = "(";
-
- /** The suffix for text callouts. */
- private static String textSuffix = ")";
-
- /** The text callout wrapper element. */
- private static NodeInfo textWrapper = null;
-
- /** The starting code point for Unicode callouts. */
- private static int unicodeStart = 0;
-
- /** The highest Unicode callout available before falling back to text. */
- private static int unicodeMax = 10;
-
- /** The Unicode callout wrapper element. */
- private static NodeInfo unicodeWrapper = null;
-
- /** The highest graphical callout available before falling back to text. */
- private static int graphicsMax = 10;
-
- /** The Graphics callout wrapper element. */
- private static NodeInfo graphicsWrapper = null;
-
- /**
- * <p>Constructor for Verbatim</p>
- *
- * <p>All of the methods are static, so the constructor does nothing.</p>
- */
- public Verbatim() {
- }
-
- /**
- * <p>Number lines in a verbatim environment</p>
- *
- * <p>The extension function expects the following variables to be
- * available in the calling context: $linenumbering.everyNth,
- * $linenumbering.width, $linenumbering.separator, and
- * $stylesheet.result.type.</p>
- *
- * <p>This method adds line numbers to a result tree fragment. Each
- * newline that occurs in a text node is assumed to start a new line.
- * The first line is always numbered, every subsequent 'everyNth' line
- * is numbered (so if everyNth=5, lines 1, 5, 10, 15, etc. will be
- * numbered. If there are fewer than everyNth lines in the environment,
- * every line is numbered.</p>
- *
- * <p>Every line number will be right justified in a string 'width'
- * characters long. If the line number of the last line in the
- * environment is too long to fit in the specified width, the width
- * is automatically increased to the smallest value that can hold the
- * number of the last line. (In other words, if you specify the value 2
- * and attempt to enumerate the lines of an environment that is 100 lines
- * long, the value 3 will automatically be used for every line in the
- * environment.)</p>
- *
- * <p>The 'separator' string is inserted between the line
- * number and the original program listing. Lines that aren't numbered
- * are preceded by a 'width' blank string and the separator.</p>
- *
- * <p>If inline markup extends across line breaks, markup changes are
- * required. All the open elements are closed before the line break and
- * "reopened" afterwards. The reopened elements will have the same
- * attributes as the originals, except that 'name' and 'id' attributes
- * are not duplicated if the stylesheet.result.type is "html" and
- * 'id' attributes will not be duplicated if the result type is "fo".</p>
- *
- * @param rtf The result tree fragment of the verbatim environment.
- *
- * @return The modified result tree fragment.
- */
- public static DocumentInfo numberLines (XPathContext context,
- SequenceIterator ns,
- SequenceIterator wrapperns,
- int lnLineNumber,
- int lnEveryNth,
- int lnWidth,
- String lnSeparator)
- throws TransformerException {
-
- Controller controller = context.getController();
- Configuration config = controller.getConfiguration();
- NamePool pool = config.getNamePool();
- TinyBuilder builder = new TinyBuilder();
-
- NamespaceReducer reducer = new NamespaceReducer();
- reducer.setUnderlyingReceiver(builder);
- Receiver tree = reducer;
-
- tree.setConfiguration(config);
- builder.setConfiguration(config);
- tree.open();
- tree.startDocument(0);
-
- wrapper = findWrapper(wrapperns);
-
- // We're really counting newlines so there's a tendency to be short
- // by one. That's why we start at 1 and not zero.
- lineCount = 1;
- SequenceIterator nscount = ns.getAnother();
- NodeInfo verbatim = (NodeInfo) nscount.next();
- if (verbatim.getNodeKind() != Type.ELEMENT) {
- System.err.println("Error!!!: " + verbatim);
- } else {
- NodeInfo node = (NodeInfo) verbatim;
- if (node.hasChildNodes()) {
- AxisIterator children = node.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null) {
- countLines(child);
- child = (NodeInfo) children.next();
- }
- }
- }
-
- // Start with initialLineNumber
- lineNumber = lnLineNumber;
-
- // Number every line if we have fewer than 'modulus' lines
- modulus = (lineCount < lnEveryNth || lnEveryNth < 1) ? 1 : lnEveryNth;
-
- // Make the width at least wide enough for the longest number we may need
- double log10numLines = Math.log(lineCount) / Math.log(10);
- width = lnWidth < log10numLines+1
- ? (int) Math.floor(log10numLines + 1)
- : lnWidth;
-
- // Use the specified separator
- separator = lnSeparator;
-
- // Now walk through the content and number those lines
- openElements = new Vector();
- verbatim = (NodeInfo) ns.next();
- if (verbatim.getNodeKind() != Type.ELEMENT) {
- System.err.println("Error!!!: " + verbatim);
- } else {
- NodeInfo node = (NodeInfo) verbatim;
- if (node.hasChildNodes()) {
- formatLineNumber(pool, tree);
- AxisIterator children = node.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null) {
- number(child, pool, tree);
- child = (NodeInfo) children.next();
- }
- }
- }
-
- tree.endDocument();
- tree.close();
- return builder.getCurrentDocument();
- }
-
- private static NodeInfo findWrapper (SequenceIterator wrapperns)
- throws TransformerException {
- NodeInfo wrapper = (NodeInfo) wrapperns.next();
- if (wrapper.getNodeKind() == Type.DOCUMENT) {
- if (wrapper.hasChildNodes()) {
- AxisIterator children = wrapper.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null && child.getNodeKind() != Type.ELEMENT) {
- child = (NodeInfo) children.next();
- }
- if (child != null) {
- wrapper = child;
- }
- } else {
- wrapper = null;
- }
- } else if (wrapper.getNodeKind() != Type.ELEMENT) {
- wrapper = null;
- }
-
- return wrapper;
- }
-
- public static void countLines (NodeInfo node)
- throws TransformerException {
-
- // we have to recurse through elements
- if (node.getNodeKind() == Type.ELEMENT) {
- if (node.hasChildNodes()) {
- AxisIterator children = node.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null) {
- countLines(child);
- child = (NodeInfo) children.next();
- }
- }
- }
-
- // we have to look for newlines in text nodes
- if (node.getNodeKind() == Type.TEXT) {
- String text = node.getStringValue();
- int pos = text.indexOf('\n');
- while (pos >= 0) {
- lineCount++;
- text = text.substring(pos+1);
- pos = text.indexOf('\n');
- }
- }
- }
-
- public static void number (NodeInfo node,
- NamePool pool,
- Receiver tree)
- throws TransformerException {
-
- // Maybe node is an element, a text node, a comment, or a PI
- switch (node.getNodeKind()) {
- case Type.ELEMENT:
- tree.startElement(node.getNameCode(), 0, 0, 0);
-
- {
- AxisIterator attrIter = node.iterateAxis(Axis.ATTRIBUTE);
- NodeInfo attr = (NodeInfo) attrIter.next();
- while (attr != null) {
- tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0);
- attr = (NodeInfo) attrIter.next();
- }
- }
-
- openElements.add(node);
-
- tree.startContent();
- if (node.hasChildNodes()) {
- AxisIterator children = node.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null) {
- number(child, pool, tree);
- child = (NodeInfo) children.next();
- }
- }
-
- openElements.remove(openElements.size()-1);
-
- tree.endElement();
- break;
- case Type.TEXT:
- String text = node.getStringValue();
- int pos = text.indexOf('\n');
- while (pos >= 0) {
- tree.characters(text.substring(0, pos), 0, 0);
-
- // Close any open elements
- for (int openpos = 0; openpos < openElements.size(); openpos++) {
- tree.endElement();
- }
-
- // Output the line number
- tree.characters("\n", 0, 0);
- lineNumber++;
- formatLineNumber(pool, tree);
-
- // Now re-open the elements
- for (int openpos = 0; openpos < openElements.size(); openpos++) {
- NodeInfo onode = (NodeInfo) openElements.get(openpos);
-
- tree.startElement(onode.getNameCode(), 0, 0, 0);
-
- AxisIterator oattrIter = onode.iterateAxis(Axis.ATTRIBUTE);
- NodeInfo attr = (NodeInfo) oattrIter.next();
- while (attr != null) {
- // Don't output {xml:}id attributes again
- if (!"id".equals(attr.getLocalPart())) {
- tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0);
- }
- attr = (NodeInfo) oattrIter.next();
- }
-
- tree.startContent();
- }
-
- text = text.substring(pos+1);
- pos = text.indexOf('\n');
- }
- tree.characters(text, 0, 0);
- break;
- case Type.COMMENT:
- tree.comment(node.getStringValue(), 0, 0);
- break;
- case Type.PROCESSING_INSTRUCTION:
- tree.processingInstruction(node.getDisplayName(),
- node.getStringValue(), 0, 0);
- break;
- default:
- System.err.println("Error!");
- break;
- }
- }
-
- public static void formatLineNumber(NamePool pool, Receiver tree)
- throws TransformerException {
-
- char ch = 160; //
-
- String lno = "";
- if (lineNumber == 1
- || (modulus >= 1 && (lineNumber % modulus == 0))) {
- lno = "" + lineNumber;
- }
-
- while (lno.length() < width) {
- lno = ch + lno;
- }
-
- lno += separator;
-
- if (wrapper != null) {
- tree.startElement(wrapper.getNameCode(), 0, 0, 0);
- AxisIterator attrIter = wrapper.iterateAxis(Axis.ATTRIBUTE);
- NodeInfo attr = (NodeInfo) attrIter.next();
- while (attr != null) {
- tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0);
- attr = (NodeInfo) attrIter.next();
- }
- tree.startContent();
- }
-
- tree.characters(lno, 0, 0);
-
- if (wrapper != null) {
- tree.endElement();
- }
- }
-
- public static DocumentInfo insertCallouts (XPathContext context,
- SequenceIterator ns,
- SequenceIterator areaspecns,
- String prefix, String suffix,
- boolean useText,
- SequenceIterator twrapperns,
- int uStart, int uMax,
- boolean useUnicode,
- SequenceIterator uwrapperns,
- int gMax, boolean useGraphics,
- SequenceIterator gwrapperns)
- throws TransformerException {
-
- // Take care of parameter passing
- textPrefix = prefix;
- textSuffix = suffix;
- if (useText) {
- calloutStyle = CALLOUT_TEXT;
- }
-
- unicodeStart = uStart;
- unicodeMax = uMax;
- if (useUnicode) {
- calloutStyle = CALLOUT_UNICODE;
- }
-
- graphicsMax = gMax;
- if (useGraphics) {
- calloutStyle = CALLOUT_GRAPHICS;
- }
-
- textWrapper = findWrapper(twrapperns);
- unicodeWrapper = findWrapper(uwrapperns);
- graphicsWrapper = findWrapper(gwrapperns);
-
- setupCallouts(areaspecns);
-
- Controller controller = context.getController();
- Configuration config = controller.getConfiguration();
- NamePool pool = config.getNamePool();
- TinyBuilder builder = new TinyBuilder();
-
- NamespaceReducer reducer = new NamespaceReducer();
- reducer.setUnderlyingReceiver(builder);
- Receiver tree = reducer;
-
- tree.setConfiguration(config);
- builder.setConfiguration(config);
- tree.open();
- tree.startDocument(0);
-
- // Start at (1,1)
- lineNumber = 1;
- colNumber = 1;
-
- // Now walk through the content and number those lines
- openElements = new Vector();
- NodeInfo verbatim = (NodeInfo) ns.next();
- if (verbatim.getNodeKind() != Type.ELEMENT) {
- System.err.println("Error!!!: " + verbatim);
- } else {
- NodeInfo node = (NodeInfo) verbatim;
- if (node.hasChildNodes()) {
- formatLineNumber(pool, tree);
- AxisIterator children = node.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null) {
- insert(child, pool, tree);
- child = (NodeInfo) children.next();
- }
- }
- }
-
- tree.endDocument();
- tree.close();
- return builder.getCurrentDocument();
- }
-
- public static void insert (NodeInfo node,
- NamePool pool,
- Receiver tree)
- throws TransformerException {
-
- // Maybe node is an element, a text node, a comment, or a PI
- switch (node.getNodeKind()) {
- case Type.ELEMENT:
- tree.startElement(node.getNameCode(), 0, 0, 0);
-
- {
- AxisIterator attrIter = node.iterateAxis(Axis.ATTRIBUTE);
- NodeInfo attr = (NodeInfo) attrIter.next();
- while (attr != null) {
- tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0);
- attr = (NodeInfo) attrIter.next();
- }
- }
-
- openElements.add(node);
-
- tree.startContent();
- if (node.hasChildNodes()) {
- AxisIterator children = node.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null) {
- insert(child, pool, tree);
- child = (NodeInfo) children.next();
- }
- }
-
- openElements.remove(openElements.size()-1);
-
- tree.endElement();
- break;
- case Type.TEXT:
- String text = node.getStringValue();
-
- // Are we ready to do a callout?
- if (calloutList.size() > 0) {
- Callout callout = (Callout) calloutList.get(0);
- System.err.println(lineNumber + ", " + callout.getLine());
-
- for (int count = 0; count < text.length(); count++) {
- boolean done = (callout == null);
- while (!done) {
- done = true;
- if (lineNumber == callout.getLine()
- && colNumber == callout.getColumn()) {
- insertCallout(callout, node, pool, tree);
- callout = null;
- calloutList.remove(0);
- if (calloutList.size() > 0) {
- callout = (Callout) calloutList.get(0);
- done = false;
- }
- }
- }
-
- String ch = text.substring(count, count+1);
-
- while (callout != null && "\n".equals(ch)
- && lineNumber == callout.getLine()) {
- tree.characters(" ", 0, 0);
- colNumber++;
-
- done = false;
- while (!done) {
- done = true;
- if (lineNumber == callout.getLine()
- && colNumber == callout.getColumn()) {
- insertCallout(callout, node, pool, tree);
- callout = null;
- calloutList.remove(0);
- if (calloutList.size() > 0) {
- callout = (Callout) calloutList.get(0);
- done = false;
- }
- }
- }
- }
-
- tree.characters(ch, 0, 0);
-
- if ("\n".equals(ch)) {
- lineNumber++;
- colNumber = 1;
- } else {
- colNumber++;
- }
- }
- } else {
- tree.characters(text, 0, 0);
- }
- break;
- case Type.COMMENT:
- tree.comment(node.getStringValue(), 0, 0);
- break;
- case Type.PROCESSING_INSTRUCTION:
- tree.processingInstruction(node.getDisplayName(),
- node.getStringValue(), 0, 0);
- break;
- default:
- System.err.println("Error!");
- break;
- }
- }
-
- public static void insertCallout (Callout callout,
- NodeInfo node,
- NamePool pool,
- Receiver tree)
- throws TransformerException {
-
- int style = calloutStyle;
-
- if ((style == CALLOUT_UNICODE
- && callout.getCallout() > unicodeMax)
- || (style == CALLOUT_GRAPHICS
- && callout.getCallout() > graphicsMax)) {
- style = CALLOUT_TEXT;
- }
-
- // Close any open elements
- for (int openpos = 0; openpos < openElements.size(); openpos++) {
- tree.endElement();
- }
-
- switch (style) {
- case CALLOUT_TEXT:
- startCalloutWrapper(callout, textWrapper, tree);
- tree.characters(textPrefix + callout.getCallout() + textSuffix, 0, 0);
- endCalloutWrapper(textWrapper, tree);
- break;
- case CALLOUT_UNICODE:
- startCalloutWrapper(callout, unicodeWrapper, tree);
- int codepoint = unicodeStart + callout.getCallout() - 1;
- char chars[] = new char[1];
- chars[0] = (char) codepoint;
- String unicodeCh = new String(chars);
- tree.characters(unicodeCh, 0, 0);
- endCalloutWrapper(unicodeWrapper, tree);
- break;
- case CALLOUT_GRAPHICS:
- startCalloutWrapper(callout, graphicsWrapper, tree);
- endCalloutWrapper(graphicsWrapper, tree);
- break;
- default:
- }
-
- // Now re-open the elements
- for (int openpos = 0; openpos < openElements.size(); openpos++) {
- NodeInfo onode = (NodeInfo) openElements.get(openpos);
-
- tree.startElement(onode.getNameCode(), 0, 0, 0);
-
- AxisIterator oattrIter = onode.iterateAxis(Axis.ATTRIBUTE);
- NodeInfo attr = (NodeInfo) oattrIter.next();
- while (attr != null) {
- // Don't output {xml:}id attributes again
- if (!"id".equals(attr.getLocalPart())) {
- tree.attribute(attr.getNameCode(), 0, attr.getStringValue(), 0, 0);
- }
- attr = (NodeInfo) oattrIter.next();
- }
-
- tree.startContent();
- }
- }
-
- private static void startCalloutWrapper (Callout callout,
- NodeInfo wrapper,
- Receiver tree)
- throws TransformerException {
- if (wrapper != null) {
- tree.startElement(wrapper.getNameCode(), 0, 0, 0);
- AxisIterator attrIter = wrapper.iterateAxis(Axis.ATTRIBUTE);
- NodeInfo attr = (NodeInfo) attrIter.next();
- while (attr != null) {
- String value = attr.getStringValue().replaceAll("\\{CALLOUT\\}",
- ""+callout.getCallout());
- tree.attribute(attr.getNameCode(), 0, value, 0, 0);
- attr = (NodeInfo) attrIter.next();
- }
- tree.startContent();
- }
- }
-
- private static void endCalloutWrapper (NodeInfo wrapper, Receiver tree)
- throws TransformerException {
- if (wrapper != null) {
- tree.endElement();
- }
- }
-
- /**
- * <p>Examine the areaspec and determine the number and position of
- * callouts.</p>
- *
- * <p>The <code><a href="http://docbook.org/tdg/html/areaspec.html">areaspecNodeSet</a></code>
- * is examined and a sorted list of the callouts is constructed.</p>
- *
- * <p>This data structure is used to augment the tree
- * with callout bullets.</p>
- *
- * @param areaspecNodeSet The source document <areaspec> element.
- *
- */
- public static void setupCallouts (SequenceIterator areaspecns)
- throws TransformerException {
-
- // First we walk through the areaspec to calculate the position
- // of the callouts
- // <areaspec>
- // <areaset id="ex.plco.const" coords="">
- // <area id="ex.plco.c1" coords="4"/>
- // <area id="ex.plco.c2" coords="8"/>
- // </areaset>
- // <area id="ex.plco.ret" coords="12"/>
- // <area id="ex.plco.dest" coords="12"/>
- // </areaspec>
-
- calloutList = new Vector();
-
- int pos = 0;
- int coNum = 0;
- boolean inAreaSet = false;
- NodeInfo areaspec = (NodeInfo) areaspecns.next();
-
- if (!areaspec.hasChildNodes()) {
- return;
- }
-
- AxisIterator children = areaspec.iterateAxis(Axis.CHILD);
- NodeInfo child = (NodeInfo) children.next();
- while (child != null) {
- if (child.getNodeKind() == Type.ELEMENT) {
- if ("areaset".equals(child.getLocalPart())) {
- coNum++;
-
- AxisIterator areas = child.iterateAxis(Axis.CHILD);
- NodeInfo area = (NodeInfo) areas.next();
- while (area != null) {
- if (area.getNodeKind() == Type.ELEMENT) {
- if ("area".equals(area.getLocalPart())) {
- addCallout(coNum, area, defaultColumn);
- } else {
- System.out.println("Unexpected element in areaset: "
- + area.getDisplayName());
- }
- }
- area = (NodeInfo) areas.next();
- }
- } else if ("area".equals(child.getLocalPart())) {
- coNum++;
- addCallout(coNum, child, defaultColumn);
- } else {
- System.out.println("Unexpected element in areaspec: "
- + child.getLocalPart());
- }
- }
- child = (NodeInfo) children.next();
- }
-
- // Now sort them
- Collections.sort(calloutList);
- }
-
- /**
- * <p>Add a callout to the global callout array</p>
- *
- * <p>This method examines a callout <tt>area</tt> and adds it to
- * the global callout array if it can be interpreted.</p>
- *
- * <p>Only the <tt>linecolumn</tt> and <tt>linerange</tt> units are
- * supported. If no unit is specifed, <tt>linecolumn</tt> is assumed.
- * If only a line is specified, the callout decoration appears in
- * the <tt>defaultColumn</tt>.</p>
- *
- * @param coNum The callout number.
- * @param node The <tt>area</tt>.
- * @param defaultColumn The default column for callouts.
- */
- protected static void addCallout (int coNum,
- NodeInfo area,
- int defaultColumn) {
- String units = null;
- String coords = null;
-
- AxisIterator attrIter = area.iterateAxis(Axis.ATTRIBUTE);
- NodeInfo attr = (NodeInfo) attrIter.next();
- while (attr != null) {
- if ("".equals(attr.getURI())) {
- if ("units".equals(attr.getLocalPart())) {
- units = attr.getStringValue();
- }
- if ("coords".equals(attr.getLocalPart())) {
- coords = attr.getStringValue();
- }
- }
- attr = (NodeInfo) attrIter.next();
- }
-
- if (units != null
- && !units.equals("linecolumn")
- && !units.equals("linerange")) {
- System.out.println("Only linecolumn and linerange units are supported");
- return;
- }
-
- if (coords == null) {
- System.out.println("Coords must be specified");
- return;
- }
-
- // Now let's see if we can interpret the coordinates...
- StringTokenizer st = new StringTokenizer(coords);
- int tokenCount = 0;
- int c1 = 0;
- int c2 = 0;
- while (st.hasMoreTokens()) {
- tokenCount++;
- if (tokenCount > 2) {
- System.out.println("Unparseable coordinates");
- return;
- }
- try {
- String token = st.nextToken();
- int coord = Integer.parseInt(token);
- c2 = coord;
- if (tokenCount == 1) {
- c1 = coord;
- }
- } catch (NumberFormatException e) {
- System.out.println("Unparseable coordinate");
- return;
- }
- }
-
- // Ok, add the callout
- if (tokenCount == 2) {
- if (units != null && units.equals("linerange")) {
- for (int count = c1; count <= c2; count++) {
- calloutList.add(new Callout(coNum, area, count, defaultColumn));
- }
- } else {
- // assume linecolumn
- calloutList.add(new Callout(coNum, area, c1, c2));
- }
- } else {
- // if there's only one number, assume it's the line
- calloutList.add(new Callout(coNum, area, c1, defaultColumn));
- }
- }
-}
+++ /dev/null
-<html>
-<head>
-<title>Norman Walsh's Saxon Extensions Package</title>
-</head>
-<body>
-<p>Norman Walsh's Saxon Extensions Package for Saxon 8.*</p>
-
-<p>This package implements Saxon extensions for XSLT.</p>
-
-<p><b>Copyright (C) 2004 Norman Walsh</b></p>
-<p>Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use, copy,
-modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:</p>
-
-<p>The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.</p>
-
-<p>Except as contained in this notice, the names of individuals
-credited with contribution to this software shall not be used in
-advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from the
-individuals in question.</p>
-
-<p>Anything derived from this Software that is publically
-distributed will be identified with a different name and the
-version strings in any derived Software will be changed so that no
-possibility of confusion between the derived package and this
-Software will exist.</p>
-</blockquote>
-
-<blockquote>
-<p><b>Warranty</b></p>
-<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
-CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-DEALINGS IN THE SOFTWARE.</p>
-</blockquote>
-
-</body>
-</html>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<project name="xalan2" default="default" basedir=".">
+ <description>Builds, tests, and runs the project xalan2.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <!--
+
+ There exist several targets which are by default empty and which can be
+ used for execution of your tasks. These targets are usually executed
+ before and after some main targets. They are:
+
+ -pre-init: called before initialization of project properties
+ -post-init: called after initialization of project properties
+ -pre-compile: called before javac compilation
+ -post-compile: called after javac compilation
+ -pre-compile-single: called before javac compilation of single file
+ -post-compile-single: called after javac compilation of single file
+ -pre-compile-test: called before javac compilation of JUnit tests
+ -post-compile-test: called after javac compilation of JUnit tests
+ -pre-compile-test-single: called before javac compilation of single JUnit test
+ -post-compile-test-single: called after javac compilation of single JUunit test
+ -pre-jar: called before JAR building
+ -post-jar: called after JAR building
+ -post-clean: called after cleaning build products
+
+ (Targets beginning with '-' are not intended to be called on their own.)
+
+ Example of inserting an obfuscator after compilation could look like this:
+
+ <target name="-post-compile">
+ <obfuscate>
+ <fileset dir="${build.classes.dir}"/>
+ </obfuscate>
+ </target>
+
+ For list of available properties check the imported
+ nbproject/build-impl.xml file.
+
+
+ Another way to customize the build is by overriding existing main targets.
+ The targets of interest are:
+
+ -init-macrodef-javac: defines macro for javac compilation
+ -init-macrodef-junit: defines macro for junit execution
+ -init-macrodef-debug: defines macro for class debugging
+ -init-macrodef-java: defines macro for class execution
+ -do-jar-with-manifest: JAR building (if you are using a manifest)
+ -do-jar-without-manifest: JAR building (if you are not using a manifest)
+ run: execution of project
+ -javadoc-build: Javadoc generation
+ test-report: JUnit report generation
+
+ An example of overriding the target for project execution could look like this:
+
+ <target name="run" depends="xalan2-impl.jar">
+ <exec dir="bin" executable="launcher.exe">
+ <arg file="${dist.jar}"/>
+ </exec>
+ </target>
+
+ Notice that the overridden target depends on the jar target and not only on
+ the compile target as the regular run target does. Again, for a list of available
+ properties which you can use, check the target you are overriding in the
+ nbproject/build-impl.xml file.
+
+ -->
+</project>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT ***
+*** EDIT ../build.xml INSTEAD ***
+
+For the purpose of easier reading the script
+is divided into following sections:
+
+ - initialization
+ - compilation
+ - jar
+ - execution
+ - debugging
+ - javadoc
+ - junit compilation
+ - junit execution
+ - junit debugging
+ - applet
+ - cleanup
+
+-->
+<project name="xalan2-impl" default="default" basedir=".." xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:j2seproject2="http://www.netbeans.org/ns/j2se-project/2" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1">
+ <target name="default" depends="test,jar,javadoc" description="Build and test whole project."/>
+ <!--
+ ======================
+ INITIALIZATION SECTION
+ ======================
+ -->
+ <target name="-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-init-private" depends="-pre-init">
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target name="-init-user" depends="-pre-init,-init-private">
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.4"/>
+ <property name="default.javac.target" value="1.4"/>
+ </target>
+ <target name="-init-project" depends="-pre-init,-init-private,-init-user">
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target name="-do-init" depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property">
+ <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>
+ <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>
+ <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>
+ <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>
+ <condition property="platform.javac" value="${platform.home}/bin/javac">
+ <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>
+ </condition>
+ <property name="platform.javac" value="${platform.javac.tmp}"/>
+ <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>
+ <condition property="platform.java" value="${platform.home}/bin/java">
+ <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>
+ </condition>
+ <property name="platform.java" value="${platform.java.tmp}"/>
+ <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>
+ <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">
+ <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>
+ </condition>
+ <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>
+ <condition property="platform.invalid" value="true">
+ <or>
+ <contains string="${platform.javac}" substring="$${platforms."/>
+ <contains string="${platform.java}" substring="$${platforms."/>
+ <contains string="${platform.javadoc}" substring="$${platforms."/>
+ </or>
+ </condition>
+ <fail unless="platform.home">Must set platform.home</fail>
+ <fail unless="platform.bootcp">Must set platform.bootcp</fail>
+ <fail unless="platform.java">Must set platform.java</fail>
+ <fail unless="platform.javac">Must set platform.javac</fail>
+ <fail if="platform.invalid">Platform is not correctly set up</fail>
+ <available file="${manifest.file}" property="manifest.available"/>
+ <condition property="manifest.available+main.class">
+ <and>
+ <isset property="manifest.available"/>
+ <isset property="main.class"/>
+ <not>
+ <equals arg1="${main.class}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="manifest.available+main.class+mkdist.available">
+ <and>
+ <istrue value="${manifest.available+main.class}"/>
+ <isset property="libs.CopyLibs.classpath"/>
+ </and>
+ </condition>
+ <condition property="have.tests">
+ <or>
+ <available file="${test.src.dir}"/>
+ </or>
+ </condition>
+ <condition property="have.sources">
+ <or>
+ <available file="${src.dir}"/>
+ </or>
+ </condition>
+ <condition property="netbeans.home+have.tests">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="have.tests"/>
+ </and>
+ </condition>
+ <condition property="no.javadoc.preview">
+ <isfalse value="${javadoc.preview}"/>
+ </condition>
+ <property name="run.jvmargs" value=""/>
+ <property name="javac.compilerargs" value=""/>
+ <property name="work.dir" value="${basedir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <property name="javac.debug" value="true"/>
+ <property name="javadoc.preview" value="true"/>
+ </target>
+ <target name="-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-init-check" depends="-pre-init,-init-private,-init-user,-init-project,-do-init">
+ <fail unless="src.dir">Must set src.dir</fail>
+ <fail unless="test.src.dir">Must set test.src.dir</fail>
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ </target>
+ <target name="-init-macrodef-property">
+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-javac">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute name="srcdir" default="${src.dir}"/>
+ <attribute name="destdir" default="${build.classes.dir}"/>
+ <attribute name="classpath" default="${javac.classpath}"/>
+ <attribute name="debug" default="${javac.debug}"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <javac srcdir="@{srcdir}" destdir="@{destdir}" debug="@{debug}" deprecation="${javac.deprecation}" source="${javac.source}" target="${javac.target}" fork="yes" executable="${platform.javac}" tempdir="${java.io.tmpdir}" includeantruntime="false">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${javac.compilerargs}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-junit">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute name="includes" default="**/*Test.java"/>
+ <sequential>
+ <junit showoutput="true" fork="true" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed" jvm="${platform.java}">
+ <batchtest todir="${build.test.results.dir}">
+ <fileset dir="${test.src.dir}" includes="@{includes}"/>
+ </batchtest>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper type="glob" from="test-sys-prop.*" to="*"/>
+ </syspropertyset>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${run.jvmargs}"/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-nbjpda">
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="name" default="${main.class}"/>
+ <attribute name="classpath" default="${debug.classpath}"/>
+ <attribute name="stopclassname" default=""/>
+ <sequential>
+ <nbjpdastart transport="dt_socket" addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <bootclasspath>
+ <path path="${platform.bootcp}"/>
+ </bootclasspath>
+ </nbjpdastart>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="dir" default="${build.classes.dir}"/>
+ <sequential>
+ <nbjpdareload>
+ <fileset includes="${fix.includes}*.class" dir="@{dir}"/>
+ </nbjpdareload>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-debug">
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute name="classname" default="${main.class}"/>
+ <attribute name="classpath" default="${debug.classpath}"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java fork="true" classname="@{classname}" dir="${work.dir}" jvm="${platform.java}">
+ <jvmarg value="-Xdebug"/>
+ <jvmarg value="-Xnoagent"/>
+ <jvmarg value="-Djava.compiler=none"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper type="glob" from="run-sys-prop.*" to="*"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-java">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="classname" default="${main.class}"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java fork="true" classname="@{classname}" dir="${work.dir}" jvm="${platform.java}">
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="${run.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper type="glob" from="run-sys-prop.*" to="*"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-presetdef-jar">
+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <jar jarfile="${dist.jar}" compress="${jar.compress}">
+ <j2seproject1:fileset dir="${build.classes.dir}"/>
+ </jar>
+ </presetdef>
+ </target>
+ <target name="init" depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar"/>
+ <!--
+ ===================
+ COMPILATION SECTION
+ ===================
+ -->
+ <target name="deps-jar" depends="init" unless="no.deps"/>
+ <target name="-pre-pre-compile" depends="init,deps-jar">
+ <mkdir dir="${build.classes.dir}"/>
+ </target>
+ <target name="-pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile" if="have.sources">
+ <j2seproject3:javac/>
+ <copy todir="${build.classes.dir}">
+ <fileset dir="${src.dir}" excludes="${build.classes.excludes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile" depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project."/>
+ <target name="-pre-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile-single" depends="init,deps-jar,-pre-pre-compile">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:javac>
+ <customize>
+ <patternset includes="${javac.includes}"/>
+ </customize>
+ </j2seproject3:javac>
+ </target>
+ <target name="-post-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile-single" depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single"/>
+ <!--
+ ====================
+ JAR BUILDING SECTION
+ ====================
+ -->
+ <target name="-pre-pre-jar" depends="init">
+ <dirname property="dist.jar.dir" file="${dist.jar}"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ </target>
+ <target name="-pre-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-jar-without-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" unless="manifest.available">
+ <j2seproject1:jar/>
+ </target>
+ <target name="-do-jar-with-manifest" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" unless="manifest.available+main.class">
+ <j2seproject1:jar manifest="${manifest.file}"/>
+ </target>
+ <target name="-do-jar-with-mainclass" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" unless="manifest.available+main.class+mkdist.available">
+ <j2seproject1:jar manifest="${manifest.file}">
+ <j2seproject1:manifest>
+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
+ </j2seproject1:manifest>
+ </j2seproject1:jar>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
+ <property name="dist.jar.resolved" location="${dist.jar}"/>
+ <pathconvert property="run.classpath.with.dist.jar">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
+ </pathconvert>
+ <echo>${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
+ </target>
+ <target name="-do-jar-with-libraries" depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available">
+ <property name="build.classes.dir.resolved" location="${build.classes.dir}"/>
+ <pathconvert property="run.classpath.without.build.classes.dir">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to=""/>
+ </pathconvert>
+ <pathconvert property="jar.classpath" pathsep=" ">
+ <path path="${run.classpath.without.build.classes.dir}"/>
+ <chainedmapper>
+ <flattenmapper/>
+ <globmapper from="*" to="lib/*"/>
+ </chainedmapper>
+ </pathconvert>
+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" name="copylibs" classpath="${libs.CopyLibs.classpath}"/>
+ <copylibs manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}" jarfile="${dist.jar}" compress="${jar.compress}">
+ <fileset dir="${build.classes.dir}"/>
+ <manifest>
+ <attribute name="Main-Class" value="${main.class}"/>
+ <attribute name="Class-Path" value="${jar.classpath}"/>
+ </manifest>
+ </copylibs>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property name="dist.jar.resolved" location="${dist.jar}"/>
+ <echo>${platform.java} -jar "${dist.jar.resolved}"</echo>
+ </target>
+ <target name="-post-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="jar" depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR."/>
+ <!--
+ =================
+ EXECUTION SECTION
+ =================
+ -->
+ <target name="run" depends="init,compile" description="Run a main class.">
+ <j2seproject1:java>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <target name="run-single" depends="init,compile-single">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <j2seproject1:java classname="${run.class}"/>
+ </target>
+ <!--
+ =================
+ DEBUGGING SECTION
+ =================
+ -->
+ <target name="-debug-start-debugger" if="netbeans.home" depends="init">
+ <j2seproject1:nbjpdastart name="${debug.class}"/>
+ </target>
+ <target name="-debug-start-debuggee" depends="init,compile">
+ <j2seproject3:debug>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target name="debug" if="netbeans.home" depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE."/>
+ <target name="-debug-start-debugger-stepinto" if="netbeans.home" depends="init">
+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
+ </target>
+ <target name="debug-stepinto" if="netbeans.home" depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee"/>
+ <target name="-debug-start-debuggee-single" if="netbeans.home" depends="init,compile-single">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <j2seproject3:debug classname="${debug.class}"/>
+ </target>
+ <target name="debug-single" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single"/>
+ <target name="-pre-debug-fix" depends="init">
+ <fail unless="fix.includes">Must set fix.includes</fail>
+ <property name="javac.includes" value="${fix.includes}.java"/>
+ </target>
+ <target name="-do-debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,compile-single">
+ <j2seproject1:nbjpdareload/>
+ </target>
+ <target name="debug-fix" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix"/>
+ <!--
+ ===============
+ JAVADOC SECTION
+ ===============
+ -->
+ <target name="-javadoc-build" depends="init">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true" useexternalfile="true" executable="${platform.javadoc}">
+ <classpath>
+ <path path="${javac.classpath}"/>
+ </classpath>
+ <sourcepath>
+ <pathelement location="${src.dir}"/>
+ </sourcepath>
+ <packageset dir="${src.dir}" includes="*/**"/>
+ <fileset dir="${src.dir}" includes="*.java"/>
+ </javadoc>
+ </target>
+ <target name="-javadoc-browse" if="netbeans.home" unless="no.javadoc.preview" depends="init,-javadoc-build">
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
+ </target>
+ <target name="javadoc" depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc."/>
+ <!--
+ =========================
+ JUNIT COMPILATION SECTION
+ =========================
+ -->
+ <target name="-pre-pre-compile-test" if="have.tests" depends="init,compile">
+ <mkdir dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="-pre-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile-test" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test">
+ <j2seproject3:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="**/*.java"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile-test" depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test"/>
+ <target name="-pre-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="-do-compile-test-single" if="have.tests" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:javac srcdir="${test.src.dir}" destdir="${build.test.classes.dir}" debug="true" classpath="${javac.test.classpath}">
+ <customize>
+ <patternset includes="${javac.includes}"/>
+ </customize>
+ </j2seproject3:javac>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="**/*.java"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="compile-test-single" depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single"/>
+ <!--
+ =======================
+ JUNIT EXECUTION SECTION
+ =======================
+ -->
+ <target name="-pre-test-run" if="have.tests" depends="init">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target name="-do-test-run" if="have.tests" depends="init,compile-test,-pre-test-run">
+ <j2seproject3:junit/>
+ </target>
+ <target name="-post-test-run" if="have.tests" depends="init,compile-test,-pre-test-run,-do-test-run">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target name="test-report" if="have.tests" depends="init"/>
+ <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/>
+ <target name="test" depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/>
+ <target name="-pre-test-run-single" if="have.tests" depends="init">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target name="-do-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <j2seproject3:junit includes="${test.includes}"/>
+ </target>
+ <target name="-post-test-run-single" if="have.tests" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single">
+ <fail if="tests.failed">Some tests failed; see details above.</fail>
+ </target>
+ <target name="test-single" depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test."/>
+ <!--
+ =======================
+ JUNIT DEBUGGING SECTION
+ =======================
+ -->
+ <target name="-debug-start-debuggee-test" if="have.tests" depends="init,compile-test">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <j2seproject3:debug classname="junit.textui.TestRunner" classpath="${debug.test.classpath}">
+ <customize>
+ <arg line="${test.class}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target name="-debug-start-debugger-test" if="netbeans.home+have.tests" depends="init,compile-test">
+ <j2seproject1:nbjpdastart name="${test.class}" classpath="${debug.test.classpath}"/>
+ </target>
+ <target name="debug-test" depends="init,compile-test,-debug-start-debugger-test,-debug-start-debuggee-test"/>
+ <target name="-do-debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,compile-test-single">
+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="debug-fix-test" if="netbeans.home" depends="init,-pre-debug-fix,-do-debug-fix-test"/>
+ <!--
+ =========================
+ APPLET EXECUTION SECTION
+ =========================
+ -->
+ <target name="run-applet" depends="init,compile-single">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject1:java classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <!--
+ =========================
+ APPLET DEBUGGING SECTION
+ =========================
+ -->
+ <target name="-debug-start-debuggee-applet" if="netbeans.home" depends="init,compile-single">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject3:debug classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target name="debug-applet" if="netbeans.home" depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet"/>
+ <!--
+ ===============
+ CLEANUP SECTION
+ ===============
+ -->
+ <target name="deps-clean" depends="init" unless="no.deps"/>
+ <target name="-do-clean" depends="init">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+ </target>
+ <target name="-post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target name="clean" depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products."/>
+</project>
--- /dev/null
+build.xml.data.CRC32=c78116b6
+build.xml.script.CRC32=8ea032a3
+build.xml.stylesheet.CRC32=d5b6853a
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=c78116b6
+nbproject/build-impl.xml.script.CRC32=2dc94bec
+nbproject/build-impl.xml.stylesheet.CRC32=99b91518
--- /dev/null
+application.args=
+build.classes.dir=${build.dir}/classes
+build.classes.excludes=**/*.java,**/*.form
+# This directory is removed when the project is cleaned:
+build.dir=build
+build.generated.dir=${build.dir}/generated
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+debug.classpath=\
+ ${run.classpath}
+debug.test.classpath=\
+ ${run.test.classpath}
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.jar=${dist.dir}/xalan2.jar
+dist.javadoc.dir=${dist.dir}/javadoc
+file.reference.xalan.jar=../../../../../usr/local/java/xalan-j_2_5_1/bin/xalan.jar
+jar.compress=false
+javac.classpath=\
+ ${file.reference.xalan.jar}
+# Space-separated list of extra javac options
+javac.compilerargs=
+javac.deprecation=false
+javac.source=1.4
+javac.target=1.4
+javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
+ ${libs.junit.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+meta.inf.dir=${src.dir}/META-INF
+platform.active=Java_HotSpot_TM__Client_VM_1.4.2_11-b06
+run.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project
+# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
+# or test-sys-prop.name=value to set system properties for unit tests):
+run.jvmargs=
+run.test.classpath=\
+ ${javac.test.classpath}:\
+ ${build.test.classes.dir}
+src.dir=src
+test.src.dir=test
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.java.j2seproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
+ <name>xalan2</name>
+ <minimum-ant-version>1.6.5</minimum-ant-version>
+ <explicit-platform explicit-source-supported="true"/>
+ <source-roots>
+ <root id="src.dir"/>
+ </source-roots>
+ <test-roots>
+ <root id="test.src.dir"/>
+ </test-roots>
+ </data>
+ </configuration>
+</project>
import org.w3c.dom.*;
import org.w3c.dom.traversal.NodeIterator;
-import org.apache.xerces.dom.*;
import org.apache.xpath.objects.XObject;
import org.apache.xpath.objects.XRTreeFrag;
import org.xml.sax.ContentHandler;
import org.w3c.dom.*;
-import org.apache.xerces.dom.*;
import org.apache.xpath.objects.XObject;
import org.apache.xpath.XPath;
import org.xml.sax.helpers.AttributesImpl;
import org.w3c.dom.*;
import org.w3c.dom.traversal.NodeIterator;
-import org.apache.xerces.dom.*;
import org.apache.xpath.objects.XObject;
import org.apache.xpath.XPath;
+++ /dev/null
-build
-dist